|
@@ -75,6 +75,7 @@ public class PermissionService2 {
|
|
String appSecret = appKey + currentTimeMillis / 1000;
|
|
String appSecret = appKey + currentTimeMillis / 1000;
|
|
String md5Sign = SecureUtil.md5(appSecret);
|
|
String md5Sign = SecureUtil.md5(appSecret);
|
|
encryptionFunctionDTO.setSign(md5Sign);
|
|
encryptionFunctionDTO.setSign(md5Sign);
|
|
|
|
+ encryptionFunctionDTO.setVersion("1");
|
|
String param = new Gson().toJson(encryptionFunctionDTO);
|
|
String param = new Gson().toJson(encryptionFunctionDTO);
|
|
|
|
|
|
RequestBody requestBody = RequestBody.create(MediaType.parse("application/json"), param);
|
|
RequestBody requestBody = RequestBody.create(MediaType.parse("application/json"), param);
|