获取token接口修改
This commit is contained in:
parent
2effaeb0ff
commit
c09b67dcaa
|
@ -139,9 +139,9 @@ public class ContractAuditPluginInitializer extends PluginBaseEntity {
|
|||
private String getToken(){
|
||||
String token = null;
|
||||
JSONObject tokenObj = new JSONObject();
|
||||
tokenObj.put("userName","rest0331");
|
||||
tokenObj.put("password","27db12a6-e09d-488f-90fb-143d9f45938d");
|
||||
tokenObj.put("loginName","yonyou");
|
||||
tokenObj.put("userName","hzyaRest");
|
||||
tokenObj.put("password","a5ce21b8-91db-4cec-b3e3-3e44719655fd");
|
||||
tokenObj.put("loginName","hzya");
|
||||
String tokenReqParams = tokenObj.toString();
|
||||
Map<String, String> tokenHeaderMap = MapBuilder.<String, String>create(true)
|
||||
.put("apiCode", "8000590001")
|
||||
|
|
Loading…
Reference in New Issue