Commit 952f81ee by 杨树贤

修复bug

parent 0d3dafb4
Showing with 2 additions and 2 deletions
......@@ -25,7 +25,7 @@ REDIS_READ_HOST=192.168.1.235
REDIS_READ_PASSWORD=icDb29mLy2s
REDIS_READ_PORT=6379
GOODS_SERVER_URL=http://lc_server_goods.cc
GOODS_SERVER_URL=http://192.168.2.232:62002
NOTICE_TYPE_ID=37
CASE_TYPE_ID=35
......
......@@ -29,7 +29,7 @@ class CaseService extends BaseService
$item['publish_time'] = $item['publish_time'] ? date('Y-m-d H:i:s', $item['publish_time']) : 0;
$item['brand'] = $item['writer'];
unset($item['writer']);
$item['tags'] = array_column($item['article_tag'], 'tag');
$item['tags'] = array_unique(array_column($item['article_tag'], 'tag'));
unset($item['article_tag']);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment