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

打卡状态编辑

... ... @@ -105,6 +105,10 @@ class VolunteerModel extends Model
public function getUserStatus($userId){
$map['user_id']=$userId;
$user=$this->where($map)->find();
if (empty($user)){
$return['code']=0;
$return['remark']='待提交';
}
if ($user['status']==1){
$return['code']=1;
$return['remark']='审核中';
... ...
... ... @@ -1283,7 +1283,7 @@ class SecondController extends RestBaseController
* @method GET
*
* @header name:XX-Token require:1 default: desc:token
* @return code:状态值-1,审核不通过1,审核中
* @return code:状态值-1,审核不通过0,待提交信息1,审核中
*
*@throws
*
... ...