更新组件到最新版

This commit is contained in:
2020-04-11 18:17:57 +08:00
parent 712a7620d6
commit 06109e672b
17 changed files with 74 additions and 37 deletions
@@ -14,6 +14,7 @@ using COMCMS.API.Weixin.CustomMessageHandler;
using Senparc.Weixin;
using Senparc.NeuChar.MessageHandlers;
using Senparc.Weixin.MP.MvcExtension;
using Senparc.CO2NET.AspNet.HttpUtility;
namespace COMCMS.Web.Controllers
{
@@ -17,12 +17,12 @@ namespace COMCMS.Web.Controllers.api
/// <summary>
/// 支付API
/// </summary>
public class PaymentController : Controller
public class PaymentController : APIBaseController
{
#region 微信小程序订单支付
[HttpGet]
[CheckFilter]
public ReJson DoPayOrder(string ordernum)
public ReJson DoWXAppPayOrder(string ordernum)
{
//获取订单
Order entity = Order.Find(Order._.OrderNum == ordernum);
@@ -137,7 +137,7 @@ namespace COMCMS.Web.Controllers.api
//reJson.message = "下单成功!";
//reJson.detail = detail;
//return reJson;
return new ReJson(40000, "下单成功!", detail);
return new ReJson(0, "下单成功!", detail);
}
catch (Exception ex)
{