add test by dept and data

This commit is contained in:
liyang
2022-03-23 15:24:41 +08:00
parent ad24792c5f
commit f4810a274e
27 changed files with 737 additions and 90 deletions
+6 -2
View File
@@ -1,3 +1,4 @@
#!/usr/bin/env php
<?php
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
include dirname(dirname(dirname(__FILE__))) . '/class/dept.class.php';
@@ -9,8 +10,11 @@ title=测试 deptModel->updateOrder();
cid=1
pid=1
修改部门排序 >> 17
*/
$dept = new deptTest();
$orders = array('17');
r() && p() && e();
$dept = new deptTest();
r($dept->updateOrderTest($orders)) && p('17:order') && e('17'); //修改部门排序