* Fix code format.

This commit is contained in:
tanghucheng
2022-05-09 10:01:51 +08:00
parent fee3c6e0df
commit 49d4cbfa0e
4 changed files with 10 additions and 7 deletions
+4 -4
View File
@@ -11,8 +11,8 @@ class mailTest
{
global $tester;
global $dao;
$this->dao = $dao;
$this->tester = $tester;
$this->dao = $dao;
$this->tester = $tester;
$this->objectModel = $tester->loadModel('mail');
}
@@ -212,11 +212,11 @@ class mailTest
if($toList and $subject)
{
$id = $this->dao->lastInsertID();
$id = $this->dao->lastInsertID();
$object = $this->dao->select('*')->from(TABLE_NOTIFY)->where('id')->eq($id)->fetch();
}
if(!$object) return '没有数据提交';
if(!$object) return '没有数据提交';
if(dao::isError()) return dao::getError();
return $object;