...
|
...
|
@@ -1403,4 +1403,26 @@ class SecondController extends RestBaseController |
|
|
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* @title 获取用户状态
|
|
|
* @description 获取用户状态
|
|
|
* @author sgj
|
|
|
* @url /index/second/getUserStatus
|
|
|
* @method GET
|
|
|
*
|
|
|
* @header name:XX-Token require:1 default: desc:token
|
|
|
* @return code:0,未提交1,审核中2,志愿者(待学习)3.志愿者(待实习)4.正式志愿者
|
|
|
* @param name:lat type:int require:1 other: desc:纬度
|
|
|
* @param name:lng type:int require:1 other: desc:经度
|
|
|
*@throws
|
|
|
*
|
|
|
*/
|
|
|
public function getUserStatus(){
|
|
|
$userId=$this->getUserId();
|
|
|
$Volunteer=new VolunteerModel();
|
|
|
$result=$Volunteer->getUserStatus($userId);
|
|
|
$this->success('',$result);
|
|
|
}
|
|
|
|
|
|
|
|
|
} |
|
|
\ No newline at end of file |
...
|
...
|
|