测试医生注册

This commit is contained in:
2024-12-12 14:22:22 +08:00
parent 87f82c6e97
commit 12767dfe0e

View File

@@ -74,7 +74,6 @@ class DoctorCompleteOne extends BaseModel
if(!$this->validate()){
throw new Exception($this->getErrorMsg());
}
ds(123);
$su_id=\Yii::$app->user->identity->getId();
$model = DoctorInfo::find()->where([
@@ -104,6 +103,7 @@ class DoctorCompleteOne extends BaseModel
$model->saveOrFail();
$store= Json::decode($this->store_id,true);
ds($store);
foreach ($store as $value){
$store=Store::find()->where(['id'=>$value])->one();
if ($store){