WIN-2308041133\Administrator 1 ano atrás
pai
commit
72bba476ec
1 arquivos alterados com 3 adições e 1 exclusões
  1. 3 1
      application/api/controller/Lave.php

+ 3 - 1
application/api/controller/Lave.php

@@ -151,7 +151,8 @@ class Lave extends Api
         $where = UtilService::postMore(
             [
                 ['cid', $this->cid],
-                ['user_id', $this->auth->getUserinfo()['id']],
+//                ['user_id', $this->auth->getUserinfo()['id']],
+                ['user_id', 0],
                 ['order_name', ''],
                 ['category_id', 0],
                 ['amount', 0],
@@ -199,6 +200,7 @@ class Lave extends Api
                 'contract_code'=>$where1['contract_code'],
                 'contract_display_account'=>$where1['contract_display_account'],
                 'is_open'=>$where1['is_open'],
+                'tel'=>$where1['tel'],
             ];
             $record=WechatPlanRecord::create($plan_record);
             $plan_record['spbill_create_ip']=User::where('id', $where1['user_id'])->value('loginip');