作者 lyh

gx

@@ -113,6 +113,7 @@ class RouteMap extends Base @@ -113,6 +113,7 @@ class RouteMap extends Base
113 $route_map->project_id = $project_id; 113 $route_map->project_id = $project_id;
114 } 114 }
115 $route_map->route = $route; 115 $route_map->route = $route;
  116 + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($route_map, true) . PHP_EOL, FILE_APPEND);
116 $route_map->save(); 117 $route_map->save();
117 // }catch (\Exception $e){ 118 // }catch (\Exception $e){
118 // throw new \Exception('路由映射失败'); 119 // throw new \Exception('路由映射失败');