测试医生注册
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user