@ -92,7 +92,7 @@ class BaseModel extends Model
}
// 获取某一项数据的统计
public static function getTotal($map,$where=[],$field,$group){
public static function getTotal($map,$where=[],$field ='',$group=''){
return self::field($field)
->where($map)
->where($where)