From 4114e871bcb3dce771b6aed64a1027d0bbb95ca6 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期四, 16 五月 2019 15:28:37 +0800
Subject: [PATCH] 增加动态用户

---
 fanli/src/main/java/com/yeshi/fanli/util/taobao/TaoBaoUtil.java |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/util/taobao/TaoBaoUtil.java b/fanli/src/main/java/com/yeshi/fanli/util/taobao/TaoBaoUtil.java
index fc1e349..9c3dcde 100644
--- a/fanli/src/main/java/com/yeshi/fanli/util/taobao/TaoBaoUtil.java
+++ b/fanli/src/main/java/com/yeshi/fanli/util/taobao/TaoBaoUtil.java
@@ -63,6 +63,7 @@
 import com.yeshi.fanli.util.StringUtil;
 import com.yeshi.fanli.util.TaoBaoHttpUtil;
 import com.yeshi.fanli.util.TimeUtil;
+import com.yeshi.fanli.vo.msg.ClientTextStyleVO;
 
 import net.sf.json.JSONArray;
 import net.sf.json.JSONObject;
@@ -764,11 +765,10 @@
 		tg.setSalesType(1);
 		// 娴嬭瘯浣跨敤
 		// tg.setSalesType(Math.random() > 0.5 ? tg.getSalesType() : 3);
-		// List<ClientTextStyleVO> labels = new ArrayList<>();
-		// labels.add(new ClientTextStyleVO("鏍囩娴嬭瘯鍐呭", "#FF0000"));
-		// labels.add(new ClientTextStyleVO("鏍囩娴嬭瘯鍐呭", "#00FF00"));
-		// tg.setLabels(labels);
-
+		 List<ClientTextStyleVO> labels = new ArrayList<>();
+		 labels.add(new ClientTextStyleVO("鏍囩鍐呭", "#F14242"));
+		 labels.add(new ClientTextStyleVO("鏍囩鍐呭", "#00FF00"));
+		 tg.setLabels(labels);
 		return tg;
 	}
 
@@ -1018,10 +1018,10 @@
 		// tg.setMoneyType(Math.random() > 0.5 ? 1 : 2);
 		// tg.setSalesType(Math.random() > 0.5 ? 1 : 2);
 		// tg.setSalesType(Math.random() > 0.5 ? tg.getSalesType() : 3);
-		// List<ClientTextStyleVO> labels = new ArrayList<>();
-		// labels.add(new ClientTextStyleVO("鏍囩娴嬭瘯鍐呭", "#FF0000"));
-		// labels.add(new ClientTextStyleVO("鏍囩娴嬭瘯鍐呭", "#00FF00"));
-		// tg.setLabels(labels);
+		 List<ClientTextStyleVO> labels = new ArrayList<>();
+		 labels.add(new ClientTextStyleVO("鏍囩鍐呭", "#F14242"));
+		 labels.add(new ClientTextStyleVO("鏍囩鍐呭", "#000000"));
+		 tg.setLabels(labels);
 
 		return tg;
 	}

--
Gitblit v1.8.0