소스 검색

为空处理

WH01243 8 달 전
부모
커밋
1f77d75fd3
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/jfw/modules/publicapply/src/subscribe/entity/entity.go

+ 2 - 0
src/jfw/modules/publicapply/src/subscribe/entity/entity.go

@@ -210,6 +210,8 @@ func (this *ParamInfo) IsSub() (bool, string, map[string]map[string][]string) {
 			} else {
 				areaMap[area] = []interface{}{}
 			}
+		} else {
+			return true, productType, nil
 		}
 		if productType != "free" && area != "" && district != "" {
 			districtMap[city] = []interface{}{