更新
This commit is contained in:
@@ -136,14 +136,14 @@ class TcmController extends BaseApiController
|
||||
*/
|
||||
public function getCardList()
|
||||
{
|
||||
$patientId = $this->request->get('patient_id');
|
||||
$user_id =$this->userId;
|
||||
|
||||
if (!$patientId) {
|
||||
if (!$user_id) {
|
||||
return $this->fail('患者ID不能为空');
|
||||
}
|
||||
|
||||
try {
|
||||
$result = DiagnosisLogic::getCardList($patientId);
|
||||
$result = DiagnosisLogic::getCardList($user_id);
|
||||
|
||||
if ($result === false) {
|
||||
return $this->fail(DiagnosisLogic::getError());
|
||||
|
||||
Reference in New Issue
Block a user