作者 lyh

gx

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