【代码优化】分销相关的注释
This commit is contained in:
+1
-6
@@ -28,7 +28,6 @@ const app = defineStore({
|
||||
},
|
||||
bind_mobile: 0, // 登陆后绑定手机号提醒 (弱提醒,可手动关闭)
|
||||
},
|
||||
chat: {},
|
||||
template: {
|
||||
// 店铺装修模板
|
||||
basic: {}, // 基本信息
|
||||
@@ -73,7 +72,7 @@ const app = defineStore({
|
||||
this.platform = {
|
||||
share: {
|
||||
methods: ["poster", "link"],
|
||||
linkAddress: "https://shopro.sheepjs.com/#/",
|
||||
linkAddress: "http://127.0.0.1:3000", // TODO 芋艿:可以考虑改到 .env 那
|
||||
posterInfo: {
|
||||
"user_bg": "/static/img/shop/config/user-poster-bg.png",
|
||||
"goods_bg": "/static/img/shop/config/goods-poster-bg.png",
|
||||
@@ -82,10 +81,6 @@ const app = defineStore({
|
||||
},
|
||||
bind_mobile: 0
|
||||
};
|
||||
this.chat = {
|
||||
chat_domain: "https://api.shopro.sheepjs.com/chat",
|
||||
room_id: "admin"
|
||||
}
|
||||
this.has_wechat_trade_managed = 0;
|
||||
|
||||
// 加载主题
|
||||
|
||||
@@ -80,15 +80,6 @@ const user = defineStore({
|
||||
});
|
||||
},
|
||||
|
||||
// 添加分享记录
|
||||
// TODO 芋艿:整理下;
|
||||
// async addShareLog(params) {
|
||||
// const {
|
||||
// error
|
||||
// } = await userApi.addShareLog(params);
|
||||
// if (error === 0) uni.removeStorageSync('shareLog');
|
||||
// },
|
||||
|
||||
// 设置 token
|
||||
setToken(token = '', refreshToken = '') {
|
||||
if (token === '') {
|
||||
@@ -153,14 +144,6 @@ const user = defineStore({
|
||||
|
||||
// 绑定推广员
|
||||
$share.bindBrokerageUser()
|
||||
// 添加分享记录
|
||||
// TODO 芋艿:整理下;
|
||||
// const shareLog = uni.getStorageSync('shareLog');
|
||||
// if (!isEmpty(shareLog)) {
|
||||
// this.addShareLog({
|
||||
// ...shareLog,
|
||||
// });
|
||||
// }
|
||||
},
|
||||
|
||||
// 登出系统
|
||||
|
||||
Reference in New Issue
Block a user