作者 yangfu

增加:默认值,权限验证

... ... @@ -96,7 +96,7 @@ func (svr *PgLoginService) PartnerStaticInfo() (interface{}, error) {
}
companyList = svr.GetCompanyList(doGetCompanyIds)
if len(companyList) == 0 {
return nil, nil
return response, nil
}
totalBonus, e := OrderDao.OrderBonusStatics(domain.OrderBonusQuery{InPartnerIds: doGetPartnerIds(), OrderType: domain.OrderReal})
if e != nil {
... ...