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

修改接口

... ... @@ -71,13 +71,16 @@ class VolunteerModel extends Model
$userInfo['level_time']=$user['work_time']-$user['use_time'];
if ($user['study_time']<5){
$userInfo['status']='志愿者(待学习)';
$userInfo['user_num']='';
}
if ($user['study_time']>=5 && $user['study_time']<10){
$userInfo['status']='志愿者(待实习)';
$userInfo['user_num']='';
}
if ($user['study_time']<10){
$userInfo['status']='志愿者';
$userInfo['user_num']=$userId.$user['create_time'];
}
return $userInfo;
... ...
... ... @@ -873,6 +873,31 @@ class SecondController extends RestBaseController
$return['datetime']=date('Y-m-d H:i');
$this->success('下单成功',$return);
}
/**
* @title 获取证件照信息(new)
* @description 获取证件照信息(new)
* @author sgj
* @url /index/second/zhengJianInfo
* @method POST
*
*
*
*@header name:XX-Token require:1 default: desc:token
*@param name:good_id type:int require:1 other: desc:商品id
*
* @throws
*/
public function zhengJianInfo(){
$userId=$this->getUserId();
$User=new VolunteerModel();
$info=$User->getUserInfo($userId);
$this->success('',$info);
}
/**
* @title 生成电子证件(暂无)
* @description 生成电子证件
... ...