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) {
const res = await request({
url: '/small/jxInfo/onLinePay',
url: '/app-api/small/jxInfo/onLinePay',
method: 'post',
data: {
userName: name,
@ -559,7 +559,7 @@
this.orderNo = res.orderNo;
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'
});
@ -577,7 +577,7 @@
// 线
async xxiaPayClick() {
const res = await request({
url: '/small/jxInfo/offLinePay',
url: '/app-api/small/jxInfo/offLinePay',
method: 'post',
data: {
userName: this.name,
@ -691,7 +691,7 @@
// 4.
if (this.startPay === 1) {
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'
});
@ -822,7 +822,7 @@
//
async generateOrderNo() {
const res = await request({
url: '/small/jxInfo/generateOrderNo',
url: '/app-api/small/jxInfo/generateOrderNo',
method: 'GET',
});
return res