diff --git a/apis/index.js b/apis/index.js index 0a6a8ca..0bf4ee8 100644 --- a/apis/index.js +++ b/apis/index.js @@ -10,8 +10,8 @@ import router from '../router' // 基础配置 const config = { - apiUrl : 'https://douhuo.douhuofalv.com/api/', - // apiUrl : 'https://api.douhuotest.douhuofalv.com/api/', //测试环境 + // apiUrl : 'https://douhuo.douhuofalv.com/api/', + apiUrl : 'https://api.douhuotest.douhuofalv.com/api/', //测试环境 timeout : 60000 } diff --git a/apis/interfaces/order.js b/apis/interfaces/order.js index 6a34cf8..8ccf0e0 100644 --- a/apis/interfaces/order.js +++ b/apis/interfaces/order.js @@ -98,6 +98,22 @@ const updBaseBase = (baseId, data) => { }) } +// 获取缓存机构资料 +const cacheBank = id => { + return request({ + url: 'business/' + id + '/cache/bank', + }) +} + +// 存储缓存机构资料 +const setCacheBank = (id, data) => { + return request({ + url: 'business/' + id + '/cache/bank', + method: 'POST', + data + }) +} + // 待补差价订单 const ordersDiffs = data => { return request({ @@ -213,6 +229,8 @@ export { updPerfectBase, baseBase, updBaseBase, + cacheBank, + setCacheBank, ordersDiffs, ordersEditorders, orderSign, diff --git a/pages/pay/pay.vue b/pages/pay/pay.vue index fd1d29b..46902ae 100644 --- a/pages/pay/pay.vue +++ b/pages/pay/pay.vue @@ -120,7 +120,6 @@ this.payType = this.$Route.query.paytype uni.hideLoading() }).catch(err => { - console.log(err) uni.showToast({ title: err.message, icon : 'none' diff --git a/pages/work/perfectInstitutions.vue b/pages/work/perfectInstitutions.vue index bc43f41..40f54ee 100644 --- a/pages/work/perfectInstitutions.vue +++ b/pages/work/perfectInstitutions.vue @@ -60,6 +60,7 @@ + @@ -114,7 +115,7 @@