From 51a04d53ce3d7c1e78863b33ea94df6cf678237c Mon Sep 17 00:00:00 2001 From: zhangjing Date: Thu, 28 Sep 2023 14:28:59 +0800 Subject: [PATCH] =?UTF-8?q?[=E7=BB=9A=E7=81=AB=E6=9C=80=E6=96=B0]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/request.js | 4 ++-- pages/mall/details/details.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api/request.js b/api/request.js index 1916203..baffe03 100644 --- a/api/request.js +++ b/api/request.js @@ -7,9 +7,9 @@ import { errInfo } from './err' import { updToken } from './updateToken' // 正式地址 -// const api = "https://api.xuanhuojk.com/api/" +const api = "https://api.xuanhuojk.com/api/" // 测试地址 -const api = "https://api.xhtest.douhuofalv.com/api/" +// const api = "https://api.xhtest.douhuofalv.com/api/" const header = { "Accept" : "application/json" } diff --git a/pages/mall/details/details.js b/pages/mall/details/details.js index 86b661e..2abd78f 100644 --- a/pages/mall/details/details.js +++ b/pages/mall/details/details.js @@ -88,8 +88,8 @@ Page({ mask : true }) wx.request({ - url : 'https://api.xhtest.douhuofalv.com/api/mall/goods/' + this.data.goodsId, - // url : 'https://api.xuanhuojk.com/api/mall/goods/' + this.data.goodsId, + // url : 'https://api.xhtest.douhuofalv.com/api/mall/goods/' + this.data.goodsId, + url : 'https://api.xuanhuojk.com/api/mall/goods/' + this.data.goodsId, header : { "Accept" : "application/json", "channel" : "client",