10.101.4.107:8080

master
zhuhaoyu 6 years ago
parent de20a76269
commit 986e528ae9

@ -186,7 +186,7 @@ public class StoreEmployeeService {
params.put("type", type);
params.put("state", state);
params.put("storeNo", storeNo);
String message = HttpClientUtil.httpPost("http://vtest.bsd.cn/BSD_WXAPP/qyWechat/getShareQRcode?token=" + MD5FileUtil.getMD5String("BOSIDENG" + sdf.format(new Date())), JSONObject.toJSONString(params)).getMessage();
String message = HttpClientUtil.httpPost("http://10.101.4.107:8080/BSD_WXAPP/qyWechat/getShareQRcode?token=" + MD5FileUtil.getMD5String("BOSIDENG" + sdf.format(new Date())), JSONObject.toJSONString(params)).getMessage();
JSONObject qrCodeJson = JSONObject.parseObject(message);
BsdShareCodeResponse bsdResponse = qrCodeJson.toJavaObject(BsdShareCodeResponse.class);
if (bsdResponse.getSuccess()){

@ -292,7 +292,7 @@ public class StorePromotionDataService {
params.put("start_time",wxCusInfoReqDO.getStart_time());
params.put("end_time",wxCusInfoReqDO.getEnd_time());
params.put("userid",wxCusInfoReqDO.getUserid());
String result = HttpUtil.get("http://vtest.bsd.cn/BSD_WXAPP/qyWechat/getUserBehaviorData?token==BOSIDENG" + MD5FileUtil.getMD5String(sdf.format(new Date())), params);
String result = HttpUtil.get("http://10.101.4.107:8080/BSD_WXAPP/qyWechat/getUserBehaviorData?token==BOSIDENG" + MD5FileUtil.getMD5String(sdf.format(new Date())), params);
JSONObject parseObject = JSON.parseObject(result);
System.out.println(parseObject);
String[] behavior_data = JSONObject.parseObject(parseObject.getString("behavior_data"), String[].class);

@ -101,7 +101,7 @@ public class PromotionCodeService {
params.put("type", type);
params.put("state", state);
params.put("storeNo", storeNo);
String message = HttpClientUtil.httpPost("http://vtest.bsd.cn/BSD_WXAPP/qyWechat/getShareQRcode?token=" + MD5FileUtil.getMD5String("BOSIDENG" + sdf.format(new Date())), JSONObject.toJSONString(params)).getMessage();
String message = HttpClientUtil.httpPost("http://10.101.4.107:8080/BSD_WXAPP/qyWechat/getShareQRcode?token=" + MD5FileUtil.getMD5String("BOSIDENG" + sdf.format(new Date())), JSONObject.toJSONString(params)).getMessage();
JSONObject qrCodeJson = JSONObject.parseObject(message);
BsdShareCodeResponse bsdResponse = qrCodeJson.toJavaObject(BsdShareCodeResponse.class);
if (bsdResponse.getSuccess()){
@ -124,7 +124,7 @@ public class PromotionCodeService {
p.setState(item.getStaffCode());
//没有推广码则查询
HttpResult data = HttpClientUtil.httpPost("http://vtest.bsd.cn/BSD_WXAPP/qyWechat/getShareQRcode?token=TOKEN", JSON.toJSONString(p),getToken());
HttpResult data = HttpClientUtil.httpPost("http://10.101.4.107:8080/BSD_WXAPP/qyWechat/getShareQRcode?token=TOKEN", JSON.toJSONString(p),getToken());
//http返回参数
if((boolean) JSONObject.parseObject(data.getMessage()).get("success")){
String url = JSONObject.parseObject(data.getMessage()).get("data").toString();

Loading…
Cancel
Save