fix: 配送单页面接口数据对接,去除部分失效接口调用

This commit is contained in:
admin
2026-02-06 16:02:09 +08:00
parent c89af4c6a3
commit b85833690f
10 changed files with 318 additions and 113 deletions

View File

@@ -55,12 +55,12 @@ const app = defineStore({
}
// 加载装修配置
await adaptTemplate(this.template, templateId);
// await adaptTemplate(this.template, templateId);
// TODO 芋艿:未来支持管理后台可配;对应 https://api.shopro.sheepjs.com/shop/api/init
if (true) {
this.info = {
name: '云南江楠商城',
name: '惠吃宝骑手端',
// logo: 'https://static.iocoder.cn/ruoyi-vue-pro-logo.png',
logo: 'http://api.jnmall.zq-hightech.com/admin-api/infra/file/29/get/4afd6199c4dae91669abf0e67bbb4e6cf07b7849458ed8aa9a6db2a78c5400a8.png',
version: '1.0.0',

View File

@@ -116,8 +116,8 @@ const user = defineStore({
// 获取最新信息
await this.getInfo();
this.getWallet();
this.getNumData();
// this.getWallet();
// this.getNumData();
return this.userInfo;
},
@@ -130,7 +130,7 @@ const user = defineStore({
this.userWallet = clone(defaultUserWallet);
this.numData = cloneDeep(defaultNumData);
// 清空购物车的缓存
cart().emptyList();
// cart().emptyList();
},
// 登录后,加载各种信息
@@ -139,7 +139,7 @@ const user = defineStore({
await this.updateUserData();
// 加载购物车
cart().getList();
// cart().getList();
// 登录后设置全局分享参数
$share.getShareInfo();