@ -46,6 +46,12 @@ class Store extends Controller
// 商城列表
$model = new StoreModel;
$list = $model->getList();
if (!$list->isEmpty()) {
$list = $list->toArray();
foreach ($list['data'] as &$value) {
$value['store_version'] = $value['store_version'] == 0 ? "单商户" : "多商户";
}
return $this->renderSuccess(compact('list'));