protected override bool VerifySign(NameValueCollection receiveParams) { var unSign = receiveParams.JoinNvcToQs(true, false, (k, v) => !string.IsNullOrEmpty(v) && k != "sign"); return(receiveParams["sign"] == SignServices.MD5(unSign + Settings.Extend["MSecret"])); }
protected override string Sign(NameValueCollection requestParams) { var unSign = requestParams.JoinNvcToQs(true, false, (k, v) => !string.IsNullOrEmpty(v)); return(SignServices.MD5(unSign + Settings.Extend["MSecret"])); }