diff --git a/src/components/site/order_modal/order_modal.vue b/src/components/site/order_modal/order_modal.vue
index cd085df..e2fb1b4 100644
--- a/src/components/site/order_modal/order_modal.vue
+++ b/src/components/site/order_modal/order_modal.vue
@@ -95,7 +95,7 @@
订单详情
- 退款
+
@@ -172,6 +172,17 @@ export default {
util.showNone('待开放')
},
refundBtn: util.debounce(function(){
+ util.showModal({
+ title: '提示',
+ content: '是否确认退款,退款后释放场地',
+ showCancel: true,
+ success: mRes => {
+ if(mRes.confirm)this.refundReq();
+ }
+ })
+
+ }, 300, true),
+ refundReq(){
let { orderInfo, queryInfo } = this;
servers.post({
url: API.venue.orderRefund,
@@ -189,7 +200,7 @@ export default {
util.showNone(res.data.message || '操作失败!');
}
})
- }, 300, true),
+ },
toOrderInfo(){
let { orderInfo, queryInfo } = this;
let _query = {}
diff --git a/src/js/api.js b/src/js/api.js
index 89e10e2..2e6037b 100644
--- a/src/js/api.js
+++ b/src/js/api.js
@@ -1,5 +1,5 @@
-export const ORIGIN = `https://testmanager.ouxuanzhineng.cn`; // 测试
-// export const ORIGIN = `https://minimanage.ouxuanzhineng.cn`; // 正式
+// export const ORIGIN = `https://testmanager.ouxuanzhineng.cn`; // 测试
+export const ORIGIN = `https://minimanage.ouxuanzhineng.cn`; // 正式
export const API = {
wechatMiniAppLoginAndSync: `${ORIGIN}/assistant/WechatMiniAppGetToken`, // 小程序授权获取token,为空就登录
diff --git a/src/manifest.json b/src/manifest.json
index 32b6894..25d192e 100644
--- a/src/manifest.json
+++ b/src/manifest.json
@@ -54,7 +54,7 @@
},
"mp-weixin": { /* 微信小程序特有相关 */
- "appid": "wx7106e84614cf0060",
+ "appid": "wxf1294b279ad1b845",
"setting": {
"urlCheck": false
},