feat: 修改api地址

This commit is contained in:
2026-07-30 17:40:46 +08:00
parent d168e38305
commit cf6353759d
9 changed files with 52 additions and 43 deletions
-11
View File
@@ -63,8 +63,6 @@
current.value = e.detail.current;
};
const HOME_DEFAULT_TAB_STORAGE_KEY = 'home.goods.defaultTabName';
const parsePath = (raw) => {
const s = typeof raw === 'string' ? raw : '';
const [p] = s.split('?');
@@ -88,20 +86,11 @@
if (!opened) {
const message =
'您尚未开通AI店铺,无法查看购物车。请先开通AI店铺后再进行购买。';
uni.setStorageSync(HOME_DEFAULT_TAB_STORAGE_KEY, '会员优选');
uni.showToast({
title: message,
icon: 'none',
duration: 2500,
});
setTimeout(() => {
uni.switchTab({
url: '/pages/index/index',
fail: () => {
uni.reLaunch({ url: '/pages/index/index' });
},
});
}, 1000);
return;
}
} catch (e) {