Compare commits
No commits in common. "7741a5dc35643d70aa1c8a414e2164458a3f8164" and "4b999f57c45d035837d021396b9ac77303e204ad" have entirely different histories.
7741a5dc35
...
4b999f57c4
@ -378,7 +378,7 @@ func ValueAddServiceList(req *bundle.ValueAddServiceListRequest) (res *bundle.Va
|
||||
case 5:
|
||||
quotaInfo = fmt.Sprintf("每年%d个", serviceLangInfo.QuotaValue)
|
||||
default:
|
||||
quotaInfo = ""
|
||||
quotaInfo = "不限额度"
|
||||
}
|
||||
isExpired = serviceLangInfo.IsExpired
|
||||
}
|
||||
@ -413,6 +413,8 @@ func ValueAddServiceList(req *bundle.ValueAddServiceListRequest) (res *bundle.Va
|
||||
if quotaInfo != "" && serviceInfo.ServiceType != 5 {
|
||||
serviceInfo.ServiceQuota = quotaInfo
|
||||
serviceInfo.IsExpired = isExpired
|
||||
} else {
|
||||
return res, errors.New("额度信息获取错误")
|
||||
}
|
||||
}
|
||||
res.ValueAddServiceList = append(res.ValueAddServiceList, serviceInfo)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user