历史遗留的代码问题

This commit is contained in:
2024-12-12 14:57:23 +08:00
parent 9c4bb5a1c3
commit c51cd26fe9

View File

@@ -51,7 +51,7 @@ class StoreController extends BaseServiceController
{
$post= \Yii::$app->request->post();
$search=$post['search'];
$search=$post['search']?? '';
$su_id = DoctorInfo::find()->select('su_id')->where([
'su_id' => \Yii::$app->user->identity->getId()
])->column();