#!/usr/bin/env php getBranchByProduct(); cid=1 pid=1 正常产品分支统计 >> 1 分支产品分支查看 >> 分支1 分支产品分支统计 >> 1 */ $productIDList = array('1', '41'); $count = array('0', '1'); $execution = new executionTest(); r($execution->getBranchByProductTest($productIDList[0], $count[1])) && p() && e('1'); //正常产品分支统计 r($execution->getBranchByProductTest($productIDList[1], $count[0])) && p('41:1') && e('分支1'); //分支产品分支查看 r($execution->getBranchByProductTest($productIDList[1], $count[1])) && p() && e('1'); //分支产品分支统计