feat:微信支付&售后取消支付
This commit is contained in:
+2
-2
@@ -1,9 +1,9 @@
|
||||
// export const BASE_URL="https://frontend.jdns360.com/api"; // 正式环境
|
||||
// export const BASE_URL="http://cl55un59859.vicp.fun:24346"; // 测试环境
|
||||
|
||||
// export const BASE_URL = "https://api.tbmall.xin"; //生产
|
||||
export const BASE_URL = "https://api.tbmall.xin"; //生产
|
||||
// export const BASE_URL ='http://api.hm.a-d.work:6880/api' // 测试
|
||||
export const BASE_URL ='http://api.outer.tbmall.xin:6880' // 测试
|
||||
// export const BASE_URL ='http://api.outer.tbmall.xin:6880' // 测试
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@ import { feedback } from '@/api/payment.js';
|
||||
export function appWxpayFun(alipay, orderId, orderNum) {
|
||||
const type = alipay.type;
|
||||
const orderStr = alipay.orderStr;
|
||||
console.log("微信支付---",alipay)
|
||||
if (type === "app") {// app
|
||||
const orderInfo = {
|
||||
"appid": alipay.appId, // 微信开放平台 - 应用 - AppId,注意和微信小程序、公众号 AppId 可能不一致
|
||||
|
||||
Reference in New Issue
Block a user