|
@@ -24,6 +24,7 @@ namespace MySystem
|
|
|
public string AppSecret = "883f9ef7831d8ca82168c3fd6dcfb750";
|
|
|
string MchId = "1613112281";
|
|
|
string serialNo = "14E9FD7F0981BEA23F94137607521CB51C4F76EF";
|
|
|
+ public string platSerialNo = "31CF8918DD2C48D8E6AC645233DCE5A27FA47344";
|
|
|
|
|
|
public WeChatFunction(HttpContext context)
|
|
|
{
|
|
@@ -368,7 +369,7 @@ namespace MySystem
|
|
|
|
|
|
string Authorization = GetAuthorization(url, method, postData, privateKey, merchantId, serialNo);
|
|
|
request.Headers.Add("Authorization", Authorization);
|
|
|
- request.Headers.Add("Wechatpay-Serial", serialNo);
|
|
|
+ request.Headers.Add("Wechatpay-Serial", platSerialNo);
|
|
|
if (!string.IsNullOrEmpty(postData))
|
|
|
{
|
|
|
byte[] paramJsonBytes;
|