瀏覽代碼

Merge branch 'dev2.8.5' of ssh://192.168.3.207:10022/qmx/jy into dev2.8.5

wcj 5 年之前
父節點
當前提交
500c49c17f
共有 1 個文件被更改,包括 2 次插入4 次删除
  1. 2 4
      src/jfw/modules/subscribepay/src/service/vipRenewUpgrade.go

+ 2 - 4
src/jfw/modules/subscribepay/src/service/vipRenewUpgrade.go

@@ -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