浏览代码

为空处理

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{}{