签名方法 publicKey 和 secrekey修改

2024年8月31日15:20:30
This commit is contained in:
xiang2lin 2024-08-31 15:20:37 +08:00
parent a73c59fdc0
commit ad389b9f16
1 changed files with 2 additions and 2 deletions

View File

@ -407,8 +407,8 @@ public class MasterDataServiceImpl extends BaseService<ComparisonEntity, String>
public SysExtensionApiEntity sign(SysExtensionApiEntity entity) {
long timestamp = System.currentTimeMillis();
Map<String, String> headers = entity.getHeaders();
String publicKey = "ZJYAWb7lhAUTYqekPkU+uHJv1/ObJxb7dT7sD8HPRDGAgyhCe7eDIk+3zDUT+v578prj";
String secretKey = "fviZnLBsQUAGF8w8FSOdJi7XlIm/XAZclMxRagDLfTyJFlvnIBF3w66Hrpfzs8cYj3JzOP8MtA1LSGvL+2BWG8c/o7DKi92S4mr3zcGearA=";
String publicKey = "ZJYADDkrTSpTOC";
String secretKey = "mbDdHdv7dwaR";
headers.put("publicKey",publicKey);
headers.put("secretKey",secretKey);
headers.put("timestamp",String.valueOf(timestamp));