作者 lyh

gx

... ... @@ -72,7 +72,7 @@ class Demo extends Command
}
public static function init404Page($project_id){
$time = date('Y-m-d H:i:s');
$info = DB::connection('custom_mysql')->table('gl_web_custom_template')->where('route',404)->first();
$info = DB::connection('custom_mysql')->table('gl_web_custom_template')->where('url',404)->first();
if(empty($info)) {
$data = [
'project_id' => $project_id,
... ...