|
@@ -74,7 +74,8 @@ public class SignVerificationAspect {
|
|
|
if(result.getCode() != ServerCode.SUCCESS.code()){
|
|
|
throw new RuntimeException("系统异常");
|
|
|
}
|
|
|
- String privateKey = (String) result.getData();
|
|
|
+ JSONObject data = (JSONObject) result.getData();
|
|
|
+ String privateKey = data.getString("privateKey");
|
|
|
|
|
|
//签名解密
|
|
|
if(!SignUtils.checkSign(sign, appId, privateKey)){
|