Commit dc99c7bd authored by 黄奎's avatar 黄奎

页面修改

parent e9cb7dd6
...@@ -205,7 +205,7 @@ namespace Mall.WebApi.Controllers.Adapay ...@@ -205,7 +205,7 @@ namespace Mall.WebApi.Controllers.Adapay
{ "currency", "cny" }, { "currency", "cny" },
{ "time_expire", DateTime.Now.AddMinutes(30).ToString("yyyyMMddHHmmss")}, { "time_expire", DateTime.Now.AddMinutes(30).ToString("yyyyMMddHHmmss")},
{ "description", offerModel.MallBaseId + "|" + offerModel.OrderId}, { "description", offerModel.MallBaseId + "|" + offerModel.OrderId},
{ "notify_url", "https://mallapi.oytour.com/api/AdapayCallBack/AdapayCallBackEvent"} { "notify_url", "https://mallapi.jjsw.vip/api/AdapayCallBack/AdapayCallBackEvent"}
}; };
Dictionary<string, object> expendDict = new Dictionary<string, object>(); Dictionary<string, object> expendDict = new Dictionary<string, object>();
if (pay_channel == "wx_pub" || pay_channel == "wx_lite") if (pay_channel == "wx_pub" || pay_channel == "wx_lite")
......
...@@ -137,14 +137,13 @@ namespace Mall.WebApi.Controllers.Adapay ...@@ -137,14 +137,13 @@ namespace Mall.WebApi.Controllers.Adapay
private void SendMessage(string toUser, List<string> targerList) private void SendMessage(string toUser, List<string> targerList)
{ {
int MallBaseId = 17; int MallBaseId = 17;
// toUser = "oyiQo5Dgzt7X3WZudvx3LaZmf2h0";
// targerList.Add("https://qr.alipay.com/bax00835y0gx4mzmeycd0020");
List<string> pushList = new List<string>(); List<string> pushList = new List<string>();
string payUrl = "http://m.jjsw.vip";
foreach (var item in targerList) foreach (var item in targerList)
{ {
string tempItem = item; string tempItem = item;
tempItem = System.Web.HttpUtility.UrlEncode(item); tempItem = System.Web.HttpUtility.UrlEncode(item);
string postUrl = string.Format("http://jj.kookaku.com/pages/pay/transition?aliuri={0}", tempItem); string postUrl = string.Format(payUrl + "/pages/pay/transition?aliuri={0}", tempItem);
pushList.Add(postUrl); pushList.Add(postUrl);
} }
var miniProgram = miniProgramModule.GetMiniProgramModule(new Model.Extend.User.RB_MiniProgram_Extend() { MallBaseId = MallBaseId }); var miniProgram = miniProgramModule.GetMiniProgramModule(new Model.Extend.User.RB_MiniProgram_Extend() { MallBaseId = MallBaseId });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment