| | |
| | | $mobile = $this->request->post('mobile'); |
| | | $captcha = $this->request->post('captcha'); |
| | | $ismobouth=$this->request->post('ismobouth',false); |
| | | $push_cid=$this->request->post('push_cid',false); |
| | | if (!$mobile || !$captcha) { |
| | | $this->error(__('Invalid parameters')); |
| | | } |
| | |
| | | $user = $this->auth->getUser(); |
| | | $mobile = $this->request->post('mobile'); |
| | | $captcha = $this->request->post('captcha'); |
| | | if (!$mobile || !$captcha) { |
| | | $isyj=$this->request->post('isyj',false); |
| | | if (!$mobile || (!$isyj&&!$captcha)) { |
| | | $this->error(__('Invalid parameters')); |
| | | } |
| | | if (!Validate::regex($mobile, "^1\d{10}$")) { |
| | |
| | | |
| | | $new_goodsId = request()->param('new_goodsId',''); |
| | | |
| | | $plateform= request()->param('plateform',''); |
| | | |
| | | $LogicUserBrowse = new LogicUserBrowse(); |
| | | |
| | | $res = $LogicUserBrowse->updatefirstfreelog(USERID,$ids,$new_goodsId); |
| | | $res = $LogicUserBrowse->updatefirstfreelog(USERID,$ids,$new_goodsId,$plateform); |
| | | |
| | | if($res === false) $this->error($LogicUserBrowse->getError()); |
| | | |