|
@@ -38,7 +38,7 @@ class CustomModuleContentController extends BaseController |
|
@@ -38,7 +38,7 @@ class CustomModuleContentController extends BaseController |
|
38
|
foreach ($lists as $k=>$v){
|
38
|
foreach ($lists as $k=>$v){
|
|
39
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($v, true) . PHP_EOL, FILE_APPEND);
|
39
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($v, true) . PHP_EOL, FILE_APPEND);
|
|
40
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($v['category_id'], true) . PHP_EOL, FILE_APPEND);
|
40
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($v['category_id'], true) . PHP_EOL, FILE_APPEND);
|
|
41
|
- $v['category_name'] = $this->categoryName($v['category_id'],$data);
|
41
|
+// $v['category_name'] = $this->categoryName($v['category_id'],$data);
|
|
42
|
$v['image_link'] = getImageUrl($v['image']);
|
42
|
$v['image_link'] = getImageUrl($v['image']);
|
|
43
|
$v['operator_name'] = (new User())->getName($v['operator_id']);
|
43
|
$v['operator_name'] = (new User())->getName($v['operator_id']);
|
|
44
|
$lists[$k] = $v;
|
44
|
$lists[$k] = $v;
|