You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
593 B
JavaScript

import {
request
} from "@/utils/request";
export default {
/**
* 收银台页面
* @param {String} order_no
*/
CheckStand(data) {
return request({
url: "/PayOrder/CheckStand",
method: "POST",
data,
needLogin: true,
});
},
/**
* 发起支付
* @param {String} order_no
* @param {String} pay_type // 1商城订单 2秒杀订单 3拼团订单
* @param {String} order_type 1支付宝 2 微信 3余额 4货到付款
*/
OrderPayment(data) {
return request({
url: "/PayOrder/OrderPayment",
method: "POST",
data,
needLogin: true,
});
},
};