|
|
@@ -51,11 +51,12 @@ namespace BPA.SAAS.Manage.Web.Core |
|
|
|
// 获取请求参数(写入日志,需序列化成字符串后存储) |
|
|
|
var parameters = context.ActionArguments; |
|
|
|
var key= httpRequest.Headers["key"]; |
|
|
|
var sign= httpRequest.Headers["sign"]; |
|
|
|
List<PropertyInfo> proplist = new List<PropertyInfo>(); |
|
|
|
foreach (var parameter in parameters) |
|
|
|
{ |
|
|
|
var stingA= DtoValidator.GetSign(parameter.Value); |
|
|
|
var sign = DtoValidator.GetAttributePrice(parameter.Value, "sign"); |
|
|
|
//var sign = DtoValidator.GetAttributePrice(parameter.Value, "sign"); |
|
|
|
await _checkServices.CheckSign(key, stingA, sign); |
|
|
|
} |
|
|
|
} |
|
|
|