|
@@ -88,13 +88,13 @@ namespace MySystem
|
|
|
JsonData jsonObj = JsonMapper.ToObject(content);
|
|
|
string dataType = jsonObj["data_type"].ToString();
|
|
|
string dataContent = jsonObj["data_content"].ToJson();
|
|
|
- if(dataType == "bind") url = "https://apigateway.kexiaoshuang.com/v1/kxs/statServer/sp/binding";
|
|
|
- if(dataType == "un_bind") url = "https://apigateway.kexiaoshuang.com/v1/kxs/statServer/sp/unbind";
|
|
|
- if(dataType == "trade") url = "https://apigateway.kexiaoshuang.com/v1/kxs/statServer/sp/trade";
|
|
|
- if(dataType == "deposit") url = "https://apigateway.kexiaoshuang.com/v1/kxs/statServer/sp/cash";
|
|
|
- if(dataType == "active") url = "https://apigateway.kexiaoshuang.com/v1/kxs/statServer/sp/extActData";
|
|
|
- if(dataType == "qr_bind") url = "https://apigateway.kexiaoshuang.com/v1/kxs/statServer/sp/saveHaoDaQrCodeMchInfo";
|
|
|
- if(dataType == "lkb_trade") url = "https://apigateway.kexiaoshuang.com/v1/kxs/statServer/sp/lkbTrade";
|
|
|
+ if(dataType == "bind") url = AppConfig.Base.JavaPushHost + "v1/kxs/statServer/sp/binding";
|
|
|
+ if(dataType == "un_bind") url = AppConfig.Base.JavaPushHost + "v1/kxs/statServer/sp/unbind";
|
|
|
+ if(dataType == "trade") url = AppConfig.Base.JavaPushHost + "v1/kxs/statServer/sp/trade";
|
|
|
+ if(dataType == "deposit") url = AppConfig.Base.JavaPushHost + "v1/kxs/statServer/sp/cash";
|
|
|
+ if(dataType == "active") url = AppConfig.Base.JavaPushHost + "v1/kxs/statServer/sp/extActData";
|
|
|
+ if(dataType == "qr_bind") url = AppConfig.Base.JavaPushHost + "v1/kxs/statServer/sp/saveHaoDaQrCodeMchInfo";
|
|
|
+ if(dataType == "lkb_trade") url = AppConfig.Base.JavaPushHost + "v1/kxs/statServer/sp/lkbTrade";
|
|
|
function.WriteLog("url:" + url, "统一推送日志");
|
|
|
string encryptContent = AesEncrypt(dataContent);
|
|
|
encryptContent = Convert.ToBase64String(Encoding.UTF8.GetBytes(encryptContent));
|