|
|
@@ -53,11 +53,11 @@ public class StoreManagementService implements IStoreManagementService {
|
|
|
/**
|
|
|
* 市民请集合门店修改和新增调用
|
|
|
*/
|
|
|
- private static String smqjhMdUrlAddAndUpdate="http://192.168.1.242:8080/smqjh-pms/api/v1/shopDetail/save";
|
|
|
+ private static String smqjhMdUrlAddAndUpdate="http://47.109.84.152:8081/smqjh-pms/api/v1/shopDetail/save";
|
|
|
/**
|
|
|
* 市民请集合门店状态修改调用
|
|
|
*/
|
|
|
- private static String smqjhMdUrlUpdateStatus="http://192.168.1.242:8080/smqjh-pms/api/v1/shopDetail/updateStatus";
|
|
|
+ private static String smqjhMdUrlUpdateStatus="http://47.109.84.152:8081/smqjh-pms/api/v1/shopDetail/updateStatus";
|
|
|
|
|
|
/**
|
|
|
* 获取海博门店基础信息
|
|
|
@@ -226,7 +226,7 @@ public class StoreManagementService implements IStoreManagementService {
|
|
|
}
|
|
|
// String post =null;
|
|
|
// try {
|
|
|
-// post = HttpUtil.post(smqjhMdUrlAddAndUpdate, registerRequest);
|
|
|
+// post = HttpUtil.post(smqjhMdUrlAddAndUpdate, goodsInfoJson);
|
|
|
// JSONObject jsonObject = JSONObject.parseObject(post);
|
|
|
// Object code = jsonObject.get("code");
|
|
|
// if (!ObjectUtils.isEmpty(code)&&"00000".equals(code.toString())){
|
|
|
@@ -304,17 +304,18 @@ public class StoreManagementService implements IStoreManagementService {
|
|
|
}
|
|
|
// String post =null;
|
|
|
// try {
|
|
|
-// post = HttpUtil.post(smqjhMdUrlUpdateStatus, HBRequest);
|
|
|
+// goodsInfoJson.put("stationId",stationId);
|
|
|
+// post = HttpUtil.post(smqjhMdUrlUpdateStatus, goodsInfoJson);
|
|
|
// JSONObject jsonObject = JSONObject.parseObject(post);
|
|
|
// Object code = jsonObject.get("code");
|
|
|
// if (!ObjectUtils.isEmpty(code)&&"00000".equals(code.toString())){
|
|
|
-// log.info("市民请集合推送门店成功");
|
|
|
+// log.info("市民请集合推送门店状态成功");
|
|
|
// }else {
|
|
|
-// log.error("市民请集合推送门店失败返回"+post);
|
|
|
+// log.error("市民请集合推送门店状态失败返回"+post);
|
|
|
// }
|
|
|
// } catch (Exception e) {
|
|
|
-// log.error("市民请集合推送门店失败异常"+e.getMessage());
|
|
|
-// log.error("市民请集合推送门店失败1"+post);
|
|
|
+// log.error("市民请集合推送门店失败状态异常"+e.getMessage());
|
|
|
+// log.error("市民请集合推送门店状态失败1"+post);
|
|
|
// }
|
|
|
// log.info("修改门店信息状态成功");
|
|
|
|