作者 刘朕
1 个管道 的构建 通过 耗费 1 秒

合并分支 'Branch_liuzhen' 到 'master'

商家首页接口调试



查看合并请求 !279
... ... @@ -415,11 +415,15 @@ class Store extends Api
public function store()
{
$store = $this->get_store();
$img_arr = Db::name('store_banner')->order('weigh','DESC')->column('image');
foreach ($img_arr as &$v) {
$v = cdnurl($v);
}
$return = [
'id' => $store['id'],
'store_icon' => $store['store_icon'] ? cdnurl($store['store_icon'],true) : cdnurl('/assets/img/avatar.png',true),
'store_name' => $store['store_name'],
'image_arr' => $store['image_arr'],
'image_arr' => $img_arr,
];
$this->success('成功',$return);
}
... ...