...
|
...
|
@@ -24,7 +24,23 @@ class ExpertController extends WeChatBaseController |
|
|
return $this->fetch();
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 获取进修提交列表
|
|
|
* @return mixed
|
|
|
* @throws \think\db\exception\DataNotFoundException
|
|
|
* @throws \think\db\exception\ModelNotFoundException
|
|
|
* @throws \think\exception\DbException
|
|
|
*/
|
|
|
public function engageAnswer(){
|
|
|
$user_id=cmf_get_current_user_id();
|
|
|
$map['user_id']=$user_id;
|
|
|
$map['state']='0';
|
|
|
/*未处理信息*/
|
|
|
$undo=db('engage')->where($map)->select()->toArray();
|
|
|
$map['state']=['in','1,2'];
|
|
|
$redo=db('engage')->where($map)->select()->toArray();
|
|
|
$this->assign('undo',$undo);
|
|
|
$this->assign('redo',$redo);
|
|
|
return $this->fetch();
|
|
|
}
|
|
|
|
...
|
...
|
|