浏览代码

提交免费用户画像查看部分字段

wangkaiyue 4 年之前
父节点
当前提交
9ca0e79488
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/jfw/modules/bigmember/src/entity/portrait.go

+ 1 - 1
src/jfw/modules/bigmember/src/entity/portrait.go

@@ -230,7 +230,7 @@ func (this *Portrait) BuyerPortraitData(buyer string, flag string, hasPower bool
 		if buyerPortraitAllData := TryFunc(GetPortraitCacheByStep, buyer, fmt.Sprintf("buyer"), 2); buyerPortraitAllData != nil {
 		if buyerPortraitAllData := TryFunc(GetPortraitCacheByStep, buyer, fmt.Sprintf("buyer"), 2); buyerPortraitAllData != nil {
 			freeReturnMap := map[string]interface{}{}
 			freeReturnMap := map[string]interface{}{}
 			for _, key := range []string{"timeRange", "city", "province", "buyerclass", "fail_count", "project_count", "winner_count", "otherProvincesWinnerCount"} {
 			for _, key := range []string{"timeRange", "city", "province", "buyerclass", "fail_count", "project_count", "winner_count", "otherProvincesWinnerCount"} {
-				freeReturnMap[key] = buyerPortraitAllData["key"]
+				freeReturnMap[key] = buyerPortraitAllData[key]
 			}
 			}
 			return freeReturnMap, nil
 			return freeReturnMap, nil
 		}
 		}