1.提交缺失的东西
This commit is contained in:
@ -18,7 +18,7 @@ use app\api\logic\UserLogic;
|
||||
use app\api\validate\PasswordValidate;
|
||||
use app\api\validate\SetUserInfoValidate;
|
||||
use app\api\validate\UserValidate;
|
||||
|
||||
use weixin\Getopenid;
|
||||
/**
|
||||
* 用户控制器
|
||||
* Class UserController
|
||||
@ -56,7 +56,13 @@ class UserController extends BaseApiController
|
||||
$result = UserLogic::info($this->userId);
|
||||
return $this->data($result);
|
||||
}
|
||||
|
||||
//获取手机号码
|
||||
public function getPhone(){
|
||||
$param = $this->request->param();
|
||||
$open=new Getopenid();
|
||||
$info=$open->getph($param['code']);
|
||||
return $this->success('', $info);
|
||||
}
|
||||
|
||||
/**
|
||||
* @notes 重置密码
|
||||
|
||||
Reference in New Issue
Block a user