Add class class and task

This commit is contained in:
liyang
2022-02-24 09:43:44 +08:00
parent 50e5aaaa95
commit 41917102b8
34 changed files with 2176 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
#!/usr/bin/env php
<?php
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
include dirname(dirname(dirname(__FILE__))) . '/class/task.class.php';
su('admin');
/**
title=taskModel->getStoryTaskCounts();
cid=1
pid=1
根据需求1查看任务数量 >> 6
根据需求5查看任务数量 >> 6
根据需求9查看任务数量 >> 6
*/
$storyIDList = array('1','5','9');
$task = new taskTest();
r($task->getStoryTaskCountsTest($storyIDList)) && p('1') && e('6'); // 根据需求1查看任务数量
r($task->getStoryTaskCountsTest($storyIDList)) && p('5') && e('6'); // 根据需求5查看任务数量
r($task->getStoryTaskCountsTest($storyIDList)) && p('9') && e('6'); // 根据需求9查看任务数量
system("./ztest init");