正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
| @@ -71,6 +71,8 @@ class CustomModuleContentController extends BaseController | @@ -71,6 +71,8 @@ class CustomModuleContentController extends BaseController | ||
| 71 | */ | 71 | */ |
| 72 | public function categoryName($category_id,$data){ | 72 | public function categoryName($category_id,$data){ |
| 73 | $category_name = ''; | 73 | $category_name = ''; |
| 74 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($category_id, true) . PHP_EOL, FILE_APPEND); | ||
| 75 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($data, true) . PHP_EOL, FILE_APPEND); | ||
| 74 | if(!empty($category_id) && !empty($data)){ | 76 | if(!empty($category_id) && !empty($data)){ |
| 75 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export($category_id, true) . PHP_EOL, FILE_APPEND); | 77 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export($category_id, true) . PHP_EOL, FILE_APPEND); |
| 76 | foreach ($category_id as $v1){ | 78 | foreach ($category_id as $v1){ |
-
请 注册 或 登录 后发表评论