|
@@ -234,10 +234,8 @@ func (this *RenewUpgrade) RenewUpgradeCreateOrder() {
|
|
|
return &entity.FuncResult{false, errors.New("非法请求"), nil}
|
|
|
}
|
|
|
for province, cityCount := range *cityArr {
|
|
|
- if (*newCityArr)[province] != nil {
|
|
|
- if qutil.IntAll((*newCityArr)[province]) < qutil.IntAll(cityCount) {
|
|
|
- return &entity.FuncResult{false, errors.New("非法请求"), nil}
|
|
|
- }
|
|
|
+ if qutil.IntAll((*newCityArr)[province]) < qutil.IntAll(cityCount) {
|
|
|
+ return &entity.FuncResult{false, errors.New("非法请求"), nil}
|
|
|
}
|
|
|
}
|
|
|
citysMap := upgradeBuyset.Citys
|