Kirin 2 years ago
parent
commit
c5bee376b6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/controller/system/SystemStore.php

+ 1 - 1
app/admin/controller/system/SystemStore.php

@@ -279,7 +279,7 @@ class SystemStore extends AuthController
                     $store_date['day_time'] = '00:00:00 - 23:59:59';
                     $store_date['add_time'] = time();
                     $store_date['is_show'] = 1;
-                    if ($res = SystemStoreModel::create($data)) {
+                    if ($res = SystemStoreModel::create($store_date)) {
                         User::where('uid', $data['uid'])->update(['user_store_id' => $res->id]);
                         SystemStoreApply::commitTrans();
                         return JsonService::success('审核成功', ['id' => $res->id]);