|
@@ -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]);
|