* Add switchDB by tests.

This commit is contained in:
liyang
2022-08-09 14:11:38 +08:00
parent 40ba4c8a9e
commit 3bd5ccc13f
881 changed files with 3058 additions and 1826 deletions
Regular → Executable
+3 -3
View File
@@ -10,13 +10,13 @@ title=测试 devModel::getTables();
cid=1
pid=1
获取所有表my分组todo表 >> zt_todo
获取所有表my分组todo表 >> zt_todo
获取所有表product分组product表 >> zt_product
获取所有表other分组acl表 >> zt_acl
获取所有表other分组acl表 >> zt_acl
*/
$dev = new devTest();
r($dev->getTablesTest()) && p('my:todo') && e('zt_todo'); //获取所有表my分组todo表
r($dev->getTablesTest()) && p('product:product') && e('zt_product'); //获取所有表product分组product表
r($dev->getTablesTest()) && p('other:acl') && e('zt_acl'); //获取所有表other分组acl表
r($dev->getTablesTest()) && p('other:acl') && e('zt_acl'); //获取所有表other分组acl表