feature/main20240421
lqmac 6 months ago
parent b876fc2f91
commit 3b74ef9ca8
  1. 6
      app/admin/controller/Store.php

@ -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'));
}

Loading…
Cancel
Save