Commit 242366e0 by 杨树贤

修改案例需求

parent 65226667
APP_ENV=local
APP_DEBUG=true
APP_KEY=
APP_KEY=1hpTOeygzZZAm8pTXdLwmXktMnh0ROOL
APP_TIMEZONE=PRC
SYSTEM_CODE=09
......
......@@ -81,6 +81,7 @@ class ArticleModel extends BaseModel
'banner_title',
'banner_img',
'publish_time',
'goods_id',
];
$data = $this->select($field)
->with([
......
......@@ -54,6 +54,7 @@ class CaseService extends BaseService
unset($item['writer']);
$item['tags'] = array_column($item['article_tag'],'tag');
unset($item['article_tag']);
#todo 要从商品的服务那里根据goods_id去获取商品基础信息
return $item;
}
......
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