#!/usr/bin/env php updateCommitCount(); timeout=0 cid=1 - 设置版本库1 commit计数 - 属性id @1 - 属性commits @5 - 设置版本库2 commit计数 - 属性id @2 - 属性commits @20 */ zenData('repo')->loadYaml('repo')->gen(5); $repo = new repoTest(); $repoIds = array(1, 2); r($repo->updateCommitCountTest($repoIds[0], 5)) && p('id,commits') && e('1,5'); //设置版本库1 commit计数 r($repo->updateCommitCountTest($repoIds[1], 20)) && p('id,commits') && e('2,20'); //设置版本库2 commit计数