🎨 修改接口地址

This commit is contained in:
loser 2023-12-10 05:54:10 +08:00
parent e31e6d8fc5
commit c4edb4ec3d
6 changed files with 15 additions and 14 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ node_modules/*
package-lock.json package-lock.json
yarn.lock yarn.lock
unpackage unpackage
.hbuilderx

View File

@ -1,6 +1,6 @@
// isdev 为 true 表示开发环境 false 表示发布环境 // isdev 为 true 表示开发环境 false 表示发布环境
const isdev = true; const isdev = true;
const baseUrl = isdev ? 'http://47.116.50.126:8888' : 'http://eb467b6.r19.cpolar.top';// 办公室接口 & 测试环境 const baseUrl = isdev ? 'https://api.jimingyiliao.com' : 'http://eb467b6.r19.cpolar.top';// 办公室接口 & 测试环境
// const baseUrl = isdev ? 'http://192.168.1.133:8899' : 'https://api.gwkjxb.com';// 办公室接口 & 正式环境 // const baseUrl = isdev ? 'http://192.168.1.133:8899' : 'https://api.gwkjxb.com';// 办公室接口 & 正式环境
// const baseUrl = 'https://api.gwkjxb.com';// 正式环境(由于本地测试后台没有启动,暂时通用正式服) // const baseUrl = 'https://api.gwkjxb.com';// 正式环境(由于本地测试后台没有启动,暂时通用正式服)

View File

@ -17,9 +17,9 @@
const res_ = ref(null) const res_ = ref(null)
const userInfo = ref(null) const userInfo = ref(null)
const bg_imgs = ref([ const bg_imgs = ref([
'/static/result1.jpg', 'https://jmyl-app.oss-cn-chengdu.aliyuncs.com/miniapp/result/result1.jpg',
'/static/result2.jpg', 'https://jmyl-app.oss-cn-chengdu.aliyuncs.com/miniapp/result/result2.jpg',
'/static/result3.jpg', 'https://jmyl-app.oss-cn-chengdu.aliyuncs.com/miniapp/result/result3.jpg',
]) ])
const bg_index = ref(0) const bg_index = ref(0)
const avatarUrl = ref(null) const avatarUrl = ref(null)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 MiB