作者 sgj
1 个管道 的构建 失败 耗费 0 秒

修改志愿者状态逻辑

... ... @@ -1275,11 +1275,25 @@ class SecondController extends RestBaseController
$this->success('获取成功!',$data);
}
/**
* @title 用户状态
* @description 管理条例
* @author sgj
* @url /index/second/getMyStatus
* @method GET
*
* @header name:XX-Token require:1 default: desc:token
* @return code:状态值-1,审核不通过1,审核中
*
*@throws
*
*/
public function getMyStatus(){
$user_id=$this->getUserId();
$map['user_id']=$user_id;
new VolunteerModel();
$Volunteer=new VolunteerModel();
$info=$Volunteer->getUserStatus($user_id);
$this->success('',$info);
}
... ...