【代码优化】分销相关的注释

This commit is contained in:
YunaiV
2024-07-22 17:56:09 +08:00
parent 2ea027a6e0
commit f4cc8def91
6 changed files with 10 additions and 27 deletions
-17
View File
@@ -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,
// });
// }
},
// 登出系统