...
|
...
|
@@ -49,7 +49,7 @@ class MemberCenterController extends RestBaseController |
|
|
$user_id = $this->getUserId();
|
|
|
//判断当前用户是否提交过
|
|
|
$volunteerModel = new VolunteerModel();
|
|
|
$result = $volunteerModel->findData(array('user_id'=>$user_id,'status'=>2,'delete_time'=>0));
|
|
|
$result = $volunteerModel->findData(array('user_id'=>$user_id,'delete_time'=>0));
|
|
|
if(empty($result)){
|
|
|
$is_submit = 0;
|
|
|
}else{
|
...
|
...
|
@@ -235,6 +235,13 @@ class MemberCenterController extends RestBaseController |
|
|
}
|
|
|
$this->success('提交成功!');
|
|
|
}
|
|
|
public function edit(){
|
|
|
$user_id = $this->getUserId();
|
|
|
//判断当前用户是否提交过
|
|
|
$volunteerModel = new VolunteerModel();
|
|
|
$result = $volunteerModel->findData(array('user_id'=>$user_id,'delete_time'=>0));
|
|
|
$this->success('获取成功!',$result);
|
|
|
}
|
|
|
/**
|
|
|
* @title 查看审核状态
|
|
|
* @description 查看审核状态
|
...
|
...
|
|