加密逻辑修复
This commit is contained in:
@@ -178,7 +178,7 @@ class DrugForm extends BaseModel
|
||||
{
|
||||
$drug = Drug::find()->where([
|
||||
'id' => $this->id,
|
||||
'type' => $this->type,
|
||||
// 'type' => $this->type,
|
||||
])->one();
|
||||
|
||||
if (!$drug) throw new Exception('该药品不存在');
|
||||
|
||||
Reference in New Issue
Block a user