测试医生注册
This commit is contained in:
@@ -74,6 +74,7 @@ class DoctorCompleteOne extends BaseModel
|
|||||||
if(!$this->validate()){
|
if(!$this->validate()){
|
||||||
throw new Exception($this->getErrorMsg());
|
throw new Exception($this->getErrorMsg());
|
||||||
}
|
}
|
||||||
|
ds(123);
|
||||||
$su_id=\Yii::$app->user->identity->getId();
|
$su_id=\Yii::$app->user->identity->getId();
|
||||||
|
|
||||||
$model = DoctorInfo::find()->where([
|
$model = DoctorInfo::find()->where([
|
||||||
@@ -81,7 +82,6 @@ class DoctorCompleteOne extends BaseModel
|
|||||||
])->one();
|
])->one();
|
||||||
|
|
||||||
|
|
||||||
ds($model);
|
|
||||||
$t=\Yii::$app->db->beginTransaction();
|
$t=\Yii::$app->db->beginTransaction();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user