From f881d5b1729370eac90c92302ee93f0d8bac2e30 Mon Sep 17 00:00:00 2001 From: zhaojs <349234519@qq.com> Date: 星期五, 07 七月 2023 15:41:42 +0800 Subject: [PATCH] no message --- application/api/controller/User.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/api/controller/User.php b/application/api/controller/User.php index e631e76..9e3e1bb 100644 --- a/application/api/controller/User.php +++ b/application/api/controller/User.php @@ -100,7 +100,7 @@ $mobile = $this->request->post('mobile'); $captcha = $this->request->post('captcha'); $ismobouth=$this->request->post('ismobouth',false); - $push_cid=$this->request->post('push_cid',false); + $pushCid=$this->request->post('pushCid',false); if (!$mobile || !$captcha) { $this->error(__('Invalid parameters')); } @@ -118,7 +118,7 @@ //濡傛灉宸茬粡鏈夎处鍙峰垯鐩存帴鐧诲綍 $ret = $this->auth->direct($user->id); } else { - $ret = $this->auth->register($mobile, Random::alnum(), '', $mobile, []); + $ret = $this->auth->register($mobile, Random::alnum(), '', $mobile, [],'',[],$pushCid); } if ($ret) { Sms::flush($mobile, 'login'); -- Gitblit v1.9.3