新增功能
This commit is contained in:
@@ -197,7 +197,19 @@ class DiagnosisController extends BaseAdminController
|
||||
}
|
||||
return $this->fail(DiagnosisLogic::getError());
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @notes 指派医助操作记录
|
||||
* @return \think\response\Json
|
||||
*/
|
||||
public function assignLogList()
|
||||
{
|
||||
$params = (new DiagnosisValidate())->goCheck('id');
|
||||
$result = DiagnosisLogic::assignLogList((int) $params['id']);
|
||||
|
||||
return $this->data($result);
|
||||
}
|
||||
|
||||
/**
|
||||
* @notes 获取通话签名
|
||||
* @return \think\response\Json
|
||||
@@ -316,10 +328,11 @@ class DiagnosisController extends BaseAdminController
|
||||
|
||||
$params['admin_id'] = (int)$this->adminId;
|
||||
$result = DiagnosisLogic::bindCallRoom($params);
|
||||
if ($result) {
|
||||
return $this->success('', [], 1, 1);
|
||||
if ($result === false) {
|
||||
return $this->fail(DiagnosisLogic::getError());
|
||||
}
|
||||
return $this->fail(DiagnosisLogic::getError());
|
||||
|
||||
return $this->success('', is_array($result) ? $result : [], 1, 0);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user