* Add switchDB by tests.
This commit is contained in:
Regular → Executable
+3
-3
@@ -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表
|
||||
Reference in New Issue
Block a user