From c24e49083d4419300bcee0f0ca926c084037d665 Mon Sep 17 00:00:00 2001 From: 陶杰 <1378534974@qq.com> Date: 星期三, 08 一月 2025 09:04:48 +0800 Subject: [PATCH] 1.订单支付倒计时配置 2.服务热线配置 --- sub_pages/customer/setup/setup.vue | 23 ++++++++++++++++++++++- 1 files changed, 22 insertions(+), 1 deletions(-) diff --git a/sub_pages/customer/setup/setup.vue b/sub_pages/customer/setup/setup.vue index d22265a..7e9d09a 100644 --- a/sub_pages/customer/setup/setup.vue +++ b/sub_pages/customer/setup/setup.vue @@ -123,7 +123,7 @@ onShow() { this.cacheUserId = '' this.getTj() - + this.getHotLineConfig() }, onLoad(options) { @@ -146,6 +146,27 @@ uni.stopPullDownRefresh() }, methods: { + + async getHotLineConfig() { + this.$message.showLoading() + const { + code, + data + } = await this.$http.request('get', `/v2/config-param/base/getBaseString`, { + params: { + paramGroup: "servicehotline", + paramKey: "hotline_tel" + + } + }) + this.$message.hideLoading() + + if (code === 0) { + // 电话 + console.log(data) + this.tel =data + } + }, async bindPartnerUser(userId, name) { // await this.$message.confirm(`确定要绑定${name}合伙人吗?`) //调用接口绑定 -- Gitblit v1.9.3