获取token接口修改

This commit is contained in:
xiangerlin 2025-07-22 16:21:36 +08:00
parent 2effaeb0ff
commit c09b67dcaa
1 changed files with 3 additions and 3 deletions

View File

@ -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")