* Optimized code format.

This commit is contained in:
jukui
2023-05-11 15:13:02 +08:00
parent 9d553cb333
commit a4c9741a50
+2 -2
View File
@@ -22,8 +22,8 @@ $result2 = $programplan->getByListTest($planIDList[1]);
$result3 = $programplan->getByListTest($planIDList[2]);
$result4 = $programplan->getByListTest($planIDList[3]);
r($result[2]) && p('name') && e('瀑布项目2'); // 测试获取项目2的名称
r($result[2]) && p('status') && e('doing'); // 测试获取项目2的状态
r($result[2]) && p('status') && e('doing'); // 测试获取项目2的状态
r(count($result2)) && p() && e('2'); // 测试获取项目3 4的取出的数量
r($result3[5]) && p('name,desc') && e('瀑布项目5,项目描述5'); // 测试获取项目5的名称和描述信息
r(count($result3)) && p() && e('3'); // 测试获取5 6 7 项目数量
r($result4) && p() && e('0'); // 测试获取不存在的项目信息
r($result4) && p() && e('0'); // 测试获取不存在的项目信息