|
|
|
@ -82,7 +82,7 @@ public class RetailRSvcServiceImpl implements RetailRSvcService {
|
|
|
|
|
throw new BadRequestException("this channel config is wrong");
|
|
|
|
|
}
|
|
|
|
|
String signa = params.getString("sign");
|
|
|
|
|
params.remove(signa);
|
|
|
|
|
params.remove("sign");
|
|
|
|
|
params = JSONObject.parseObject(JSON.toJSONString(params), Feature.OrderedField);
|
|
|
|
|
boolean checkSign = SignUtils.validSign(params.toJSONString(), signa, svcInfo.getString("channel_pub_key"));
|
|
|
|
|
if (!checkSign) {
|
|
|
|
|