Merge branch 'sprint/master_zhouxudong_16729' into 'master'

* Fix bug from max #16729.

See merge request easycorp/zentaopms!3080
This commit is contained in:
孙广明
2022-04-22 06:55:14 +00:00
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -1486,7 +1486,7 @@ class userModel extends model
$this->dao->insert(TABLE_USERCONTACT)->data($data)
->autoCheck()
->exec();
if(dao::isError()) return print(js::error(dao::getError()));
if(dao::isError()) return false;
return $this->dao->lastInsertID();
}