|
@@ -32,11 +32,11 @@ namespace MySystem
|
|
|
// string BrhCode = "001040";
|
|
|
|
|
|
//生产环境
|
|
|
- string BoxRequestUrl = "https://openapi.iboxpay.com";
|
|
|
- string BoxAppId = "AP7175619323825451008";
|
|
|
- string BoxAppSecret = "hUfR53gdjyfiZTBR5bILanMqRD1dXD7y";
|
|
|
- string BoxPublicKey = "";
|
|
|
- public static string BrhCode = "030145";
|
|
|
+ // string BoxRequestUrl = "https://openapi.iboxpay.com";
|
|
|
+ // string BoxAppId = "AP7175619323825451008";
|
|
|
+ // string BoxAppSecret = "hUfR53gdjyfiZTBR5bILanMqRD1dXD7y";
|
|
|
+ // string BoxPublicKey = "";
|
|
|
+ // public static string BrhCode = "030145";
|
|
|
|
|
|
// string BoxRequestUrl = "https://openapi.iboxpay.com";
|
|
|
// string BoxAppId = "AP8322645764893728768";
|
|
@@ -672,7 +672,12 @@ namespace MySystem
|
|
|
public Dictionary<string, string> GetHeader(string req, int BrandId = 0)
|
|
|
{
|
|
|
var BoxAppId = HaodaUnionParam.BoxAppId;
|
|
|
- if (BrandId == 1) BoxAppId = HaodaParam.BoxAppId;
|
|
|
+ var BoxAppSecret = HaodaUnionParam.BoxAppSecret;
|
|
|
+ if (BrandId == 1)
|
|
|
+ {
|
|
|
+ BoxAppId = HaodaParam.BoxAppId;
|
|
|
+ BoxAppSecret = HaodaParam.BoxAppSecret;
|
|
|
+ }
|
|
|
|
|
|
Dictionary<string, string> headdic = new Dictionary<string, string>();
|
|
|
string timestamp = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
|