|
|
@@ -36,14 +36,14 @@ public class RabbitReceiveServiceImpl extends BaseRabbitReceiveService {
|
|
|
|
|
|
private final static String SECRETKEY = "600d3f07955ba67fe050007f01002db2";
|
|
|
private final static String BASEPATH = "https://finrest.usoftchina.com";
|
|
|
- private final static String UASURL = "http://218.18.115.198:8888/ERP";
|
|
|
+ private final static String UASURL = "http://jk.usoftchina.com:28099/JK/";
|
|
|
private final static String MASTERNAME = "YITOA_BL";
|
|
|
|
|
|
@PostConstruct
|
|
|
public void init() throws InterruptedException {
|
|
|
Master master = new Master();
|
|
|
- master.setMa_user("YITOA_DATACENTER");
|
|
|
- master.setMa_uu(10050002L);
|
|
|
+ master.setMa_user("YITOA_JK");
|
|
|
+ master.setMa_uu(10046590L);
|
|
|
master.setMa_accesssecret(SECRETKEY);
|
|
|
master.setMa_env("prod");
|
|
|
ContextHolder.setMaster(master);
|
|
|
@@ -133,12 +133,7 @@ public class RabbitReceiveServiceImpl extends BaseRabbitReceiveService {
|
|
|
|
|
|
public String getSignature(String code) {
|
|
|
String url = "_timestamp=" + System.currentTimeMillis() + "&master=";
|
|
|
- if("code".equals(code)){
|
|
|
- url += "YITOA_BL";
|
|
|
- }else{
|
|
|
- url += "YITOA_DATACENTER";
|
|
|
- }
|
|
|
- // 签名
|
|
|
+ url += "YITOA_BL";
|
|
|
return url + "&_signature=" + HmacUtils.encode(url);
|
|
|
}
|
|
|
}
|