Browse Source

美团对接-第三方订单-重新预定更新改约时间

fang 1 year ago
parent
commit
13432f7827
1 changed files with 4 additions and 2 deletions
  1. 4 2
      app/common/logic/ThirdOrderLogic.php

+ 4 - 2
app/common/logic/ThirdOrderLogic.php

@@ -76,7 +76,8 @@ class ThirdOrderLogic extends BaseLogic
         if($user->isEmpty()){
             $user = LoginLogic::register([
                 'password'=>'123456',
-                'account'=>$userName,
+                'nickname'=>$userName,
+                'account'=>$mobile,
                 'mobile'=>$mobile,
                 'channel'=>1,
                 'user_type'=>0
@@ -260,7 +261,8 @@ class ThirdOrderLogic extends BaseLogic
         if($user->isEmpty()){
             $user = LoginLogic::register([
                 'password'=>'123456',
-                'account'=>$userName,
+                'nickname'=>$userName,
+                'account'=>$mobile,
                 'mobile'=>$mobile,
                 'channel'=>1,
                 'user_type'=>0,