更换新接口

This commit is contained in:
邓洁
2023-02-26 22:10:49 +08:00
parent b439c3dd7a
commit b0d3372b7c
3 changed files with 20 additions and 14 deletions

View File

@@ -1,4 +1,4 @@
const serverHost = 'https://pupil.hchyun.com/api' // https://api-ugo-web.itheima.net'
const serverHost = 'https://www.foodtops.cn/api' // https://api-ugo-web.itheima.net'
function isOutTime(res) {
if (res.data.message === '请先登录') {
uni.showToast('登录信息已过期,请重新登录')