diff --git a/api/member/brokerage.js b/api/member/brokerage.js new file mode 100644 index 00000000..b232f709 --- /dev/null +++ b/api/member/brokerage.js @@ -0,0 +1,6 @@ +import request from "@/utils/request.js"; + +// 获得个人分销统计 +export function getBrokerageUserSummary() { + return request.get('app-api/member/brokerage-user/get-summary'); +} diff --git a/pages/user/index.vue b/pages/user/index.vue index bbf5f43e..6abf6a81 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -95,7 +95,7 @@ + || (item.url === '/pages/users/user_spread_user/index' && !userInfo.brokerageEnabled))"> {{ item.name }} diff --git a/pages/users/login/index.vue b/pages/users/login/index.vue index b9d4a8f2..6b253f7f 100644 --- a/pages/users/login/index.vue +++ b/pages/users/login/index.vue @@ -316,7 +316,7 @@ getUserInfo(data) { this.$store.commit("SETUID", data.userId); // TODO 芋艿:换成自己的先 - if (true) { + if (false) { UserApi.getUserInfo().then(res => { this.$store.commit("UPDATE_USERINFO", res.data); // 调回登录前页面 diff --git a/pages/users/user_spread_money/index.vue b/pages/users/user_spread_money/index.vue index 8a582355..e4fe6caf 100644 --- a/pages/users/user_spread_money/index.vue +++ b/pages/users/user_spread_money/index.vue @@ -72,34 +72,22 @@ - - - -