Commit b71e52c3 authored by 黄奎's avatar 黄奎

页面修改

parent 1748f3ea
using Mall.CacheManager.AppletWeChat;
using Mall.CacheManager.User;
using Mall.Common.API;
using Mall.Common.Plugin;
using Mall.Module.User;
using Mall.WebApi.Filter;
......@@ -11,8 +10,6 @@ using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
......@@ -97,14 +94,12 @@ namespace Mall.WebApi.Controllers.Adapay
string openId = jobj.GetStringValue("FromUserName");
string MsgType = jobj.GetStringValue("MsgType");
string Content = jobj.GetStringValue("Content");
Common.Plugin.LogHelper.Write($"请求参数:: openId:{openId} MsgType:{MsgType} Content:{Content}" );
Common.Plugin.LogHelper.WriteInfo($"请求参数:: openId:{openId} MsgType:{MsgType} Content:{Content}" );
if (MsgType == "text" && !string.IsNullOrEmpty(openId) && !string.IsNullOrEmpty(Content) && Content.Contains("支付"))
{
Task.Run(() =>
{
Common.Plugin.LogHelper.WriteInfo($"消息_推送客服消息:{openId}");
string payInfoKey = CacheManager.DataStatistic.DataConstant.DATA_AliPay_Order + openId;
Common.Plugin.LogHelper.WriteInfo($"消息_推送客服消息:获取缓存");
var zfbPayList = UserReidsCache.GetOrderPay(payInfoKey);
if (zfbPayList != null && zfbPayList.Count > 0)
{
......@@ -117,7 +112,6 @@ namespace Mall.WebApi.Controllers.Adapay
pushUrlList.Add(item.PayInfo);
}
}
Common.Plugin.LogHelper.WriteInfo($"消息_删除缓存");
//删除缓存
UserReidsCache.DeleteMiniAppUsetOpenId(payInfoKey);
SendMessage(openId, pushUrlList);
......
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