作者 sgj
1 个管道 的构建 失败 耗费 0 秒

志愿者修改

... ... @@ -69,7 +69,7 @@ class TeamModel extends Model
* @param $team_id
* @return float|int
*/
private function myTime($user_id,$team_id){
public function myTime($user_id,$team_id){
$map['user_id']=$user_id;
$map['team_id']=$team_id;
$time=db('team_work_log')->where($map)->sum('work_time');
... ...