From ee8e3e905cce3bda21fca450914ac38b18992edd Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期日, 06 六月 2021 23:36:52 +0800
Subject: [PATCH] 优化修改广告失败问题
---
service-api/src/main/java/com/java110/api/bmo/ApiBaseBMO.java | 16 ++++++++++++++--
1 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/service-api/src/main/java/com/java110/api/bmo/ApiBaseBMO.java b/service-api/src/main/java/com/java110/api/bmo/ApiBaseBMO.java
old mode 100644
new mode 100755
index 15938e3..ffaa8e7
--- a/service-api/src/main/java/com/java110/api/bmo/ApiBaseBMO.java
+++ b/service-api/src/main/java/com/java110/api/bmo/ApiBaseBMO.java
@@ -27,7 +27,7 @@
private RestTemplate restTemplate;
@Autowired
- private RestTemplate restTemplateNoLoadBalanced;
+ private RestTemplate outRestTemplate;
/**
* 璋冪敤涓嬫父鏈嶅姟
@@ -97,7 +97,7 @@
}
- RestTemplate tmpRestTemplate = appService.getServiceCode().startsWith("out.") ? restTemplateNoLoadBalanced : restTemplate;
+ RestTemplate tmpRestTemplate = appService.getServiceCode().startsWith("out.") ? outRestTemplate : restTemplate;
String serviceUrl = appService.getUrl();
HttpEntity<String> httpEntity = null;
@@ -261,6 +261,18 @@
/**
* 鏂板鏁版嵁鏂规硶
*
+ * {
+ * HTTP_BUSINESS_TYPE_CD:''.
+ * HTTP_SEQ:1,
+ * HTTP_INVOKE_MODEL:'s',
+ * data:[{
+ * ps:Id
+ * xxxxx
+ * xxxx
+ *
+ * }]
+ * }
+ *
* @param context 涓婁笅鏂囧璞�
* @param param po瀵硅薄
*/
--
Gitblit v1.8.0