This commit is contained in:
Lx 2025-04-17 20:54:37 +08:00
parent 3da6ffc4ae
commit 998de8e951

View File

@ -535,7 +535,7 @@
// //
async wxPayClick(name, phone, identity, courseId, payType, reserveMoney, restMoney) { async wxPayClick(name, phone, identity, courseId, payType, reserveMoney, restMoney) {
const res = await request({ const res = await request({
url: '/small/jxInfo/onLinePay', url: '/app-api/small/jxInfo/onLinePay',
method: 'post', method: 'post',
data: { data: {
userName: name, userName: name,
@ -559,7 +559,7 @@
this.orderNo = res.orderNo; this.orderNo = res.orderNo;
const prepayRes = await request({ const prepayRes = await request({
url: `/small/jxInfo/prepayment?type=jsapi&orderNo=${this.orderNo}&orderId=${this.orderId}&payType=${payType}`, url: `/app-api/small/jxInfo/prepayment?type=jsapi&orderNo=${this.orderNo}&orderId=${this.orderId}&payType=${payType}`,
method: 'get' method: 'get'
}); });
@ -577,7 +577,7 @@
// 线 // 线
async xxiaPayClick() { async xxiaPayClick() {
const res = await request({ const res = await request({
url: '/small/jxInfo/offLinePay', url: '/app-api/small/jxInfo/offLinePay',
method: 'post', method: 'post',
data: { data: {
userName: this.name, userName: this.name,
@ -691,7 +691,7 @@
// 4. // 4.
if (this.startPay === 1) { if (this.startPay === 1) {
const res = await request({ const res = await request({
url: `/small/jxInfo/prepayment?type=jsapi&orderNo=${this.orderNo}&orderId=${this.orderId}&payType=${payType}`, url: `/app-api/small/jxInfo/prepayment?type=jsapi&orderNo=${this.orderNo}&orderId=${this.orderId}&payType=${payType}`,
method: 'get' method: 'get'
}); });
@ -822,7 +822,7 @@
// //
async generateOrderNo() { async generateOrderNo() {
const res = await request({ const res = await request({
url: '/small/jxInfo/generateOrderNo', url: '/app-api/small/jxInfo/generateOrderNo',
method: 'GET', method: 'GET',
}); });
return res return res