From 4c202040b1aadc8eece2a058035093538d40d6e8 Mon Sep 17 00:00:00 2001 From: pengda <10266652509@qq.com> Date: Tue, 3 Sep 2024 09:59:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E9=A1=B5=E7=9B=B8=E5=85=B3=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- model/mUserCase.php | 1 + 1 file changed, 1 insertion(+) diff --git a/model/mUserCase.php b/model/mUserCase.php index ed92171..923bcad 100644 --- a/model/mUserCase.php +++ b/model/mUserCase.php @@ -82,6 +82,7 @@ class mUserCase extends mBase { //格式化医案开药详情 $prescribe_herb = $this->formatUserCaseHerbs($uid, $data['prescribe_herb']); + if(!$prescribe_herb){$this->setError('医案开药详情不正确');return false;} $data['prescribe_herb'] = $prescribe_herb; $data['case_id'] = $case['id'];