feat: 修改StoreController以支持通过手机号或账户查询用户
This commit is contained in:
parent
750dd6aacb
commit
65764cc874
@ -80,7 +80,7 @@ class StoreController extends BaseApiController
|
||||
if($params['price']>10000){
|
||||
return $this->fail('充值金额不能大于10000');
|
||||
}
|
||||
$find=User::where('mobile',$params['mobile'])->find();
|
||||
$find=User::where('account|mobile',$params['mobile'])->find();
|
||||
if(!$find){
|
||||
$params['create_uid']=$this->userId;
|
||||
$find=UserUserLogic::StoreAdd($params);
|
||||
|
Loading…
x
Reference in New Issue
Block a user