红鱼儿

从http header中取得签名参数
function TkbmMWCustomSmartService3.ProcessRequest(const Func: string;
  const ClientIdent: TkbmMWClientIdentity;
  const Args: array of Variant): Variant;
var
  helper:TkbmMWHTTPTransportStreamHelper;
  ak:string;
  sign: string;
begin
  Result := '签名错误';
  helper := TkbmMWHTTPTransportStreamHelper(RequestTransportStream.Helper);
  ak := helper.Header.ValueFields['ak'].AsString;
  sign := helper.Header.ValueFields['sign'].AsString;

  exit;
  Result:=inherited ProcessRequest(Func,CLientIdent,Args);
end;

 

posted on 2020-04-27 15:09  红鱼儿  阅读(1583)  评论(0编辑  收藏  举报