* Fixed the error of entryModel:getbycode.

This commit is contained in:
wangxuepeng
2023-10-25 13:38:45 +08:00
parent f667d23d90
commit 74c3a032ce
2 changed files with 5 additions and 4 deletions
+4 -4
View File
@@ -12,10 +12,10 @@ title=entryModel->create();
cid=1
pid=1
测试创建应用name为空报错 >> 『名称』不能为空
测试创建应用code为空报错 >> 『代号』不能为空
测试创建应用name为name_test >> name_test
测试创建应用code为code_test >> code_test
测试name为空,code为空,account为空,freePasswd为空报错 >> 『名称』不能为空。
测试name为测试应用,code为空,account为空,freePasswd为1报错 >> 『代号』不能为空。,『代号』应当为字母或数字的组合。
测试name为测试应用,code为code_11111,account为空,freePasswd为1报错 >> code_11111
测试name为测试应用,code为code_22222,account为空,freePasswd为1报错 >> code_22222
*/
+1
View File
@@ -3,6 +3,7 @@
include dirname(__FILE__, 5) . '/test/lib/init.php';
include dirname(__FILE__, 2) . '/entry.class.php';
su('admin');
zdTable('entry')->gen(1);
/**