Browse Source

rent wiwidi

release_toaliyun_real
xhxu 5 years ago
parent
commit
f6ee20e1ed
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java
  2. +1
    -1
      mallinkService/src/main/java/com/iformall/sms/wiwide/WiwideUtil.java

+ 2
- 2
mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java View File

@@ -1161,7 +1161,7 @@ public class WxRentContractServiceImpl implements WxRentContractService {


public String getShopInfoStr(WxRentContract wxRentContract){ public String getShopInfoStr(WxRentContract wxRentContract){
String shopInfoStr = null; String shopInfoStr = null;
if (wxRentContract.getRentShopType().equals(EnumRentShopType.SHOP.getCode())) {
// if (wxRentContract.getRentShopType().equals(EnumRentShopType.SHOP.getCode())) {
String rentInfo = wxRentContract.getRentInfo(); String rentInfo = wxRentContract.getRentInfo();
JSONArray rentInfoArray = JSONArray.parseArray(rentInfo); JSONArray rentInfoArray = JSONArray.parseArray(rentInfo);
int rentSize = rentInfoArray.size(); int rentSize = rentInfoArray.size();
@@ -1171,7 +1171,7 @@ public class WxRentContractServiceImpl implements WxRentContractService {
shopInfoMap.put(rentInfoObject.getString("shopNumber"), rentInfoObject.getString("buildArea")); shopInfoMap.put(rentInfoObject.getString("shopNumber"), rentInfoObject.getString("buildArea"));
} }
shopInfoStr = JSONObject.toJSONString(shopInfoMap); shopInfoStr = JSONObject.toJSONString(shopInfoMap);
}
// }
return shopInfoStr; return shopInfoStr;
} }




+ 1
- 1
mallinkService/src/main/java/com/iformall/sms/wiwide/WiwideUtil.java View File

@@ -225,7 +225,7 @@ public class WiwideUtil implements SMSExcutor {
Map<String, String> params = new HashMap<>(2); Map<String, String> params = new HashMap<>(2);
params.put("username", "lianhua"); params.put("username", "lianhua");
params.put("password", "widash1234"); params.put("password", "widash1234");
String token = HttpUtil.doPost("http://vap.vision.wiwide.com/api/user/auth", params);
String token = HttpUtil.doPost("http://140.143.33.245/api/user/auth", params);
System.out.println(DataUtil.unicodeToUtf8(token)); System.out.println(DataUtil.unicodeToUtf8(token));
} }




Loading…
Cancel
Save