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