diff --git a/app/api/controller/store/StoreController.php b/app/api/controller/store/StoreController.php index 20e5a93a..97bd8068 100644 --- a/app/api/controller/store/StoreController.php +++ b/app/api/controller/store/StoreController.php @@ -57,6 +57,9 @@ class StoreController extends BaseApiController $find=User::where('mobile',$params['mobile'])->find(); if(!$find){ $find=UserUserLogic::StoreAdd($params); + }else{ + $find['real_name']=$params['real_name']; + $find->save(); } $data=[ 'store_id'=>$params['store_id'],