最近在做自有项目后端用的是thinkphp5.1框架,闲话不说直接上代码 小程序代码 wxpay: function(e){ let thisid = e.currentTarget.dataset.id; 这个是订单的id var that = this; wx.request({ url: URL +'need/requestPay', 这个是往后台传的地址 data:{ id : thisid }, method:'post', success(res){ var data = res.d
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web; using System.Web.Mvc; using System.IO; using System.Security.Cryptography; using System.Text; using System.Xml; using Newtonsoft.Json; using Newto