diff --git a/buyer/src/api/member.js b/buyer/src/api/member.js index 76ab273d..e0305eb1 100644 --- a/buyer/src/api/member.js +++ b/buyer/src/api/member.js @@ -344,81 +344,6 @@ export function clearComplain (id) { }); } -/** - * 获取当前会员分销信息 - */ -export function distribution () { - return request({ - url: `/buyer/distribution/distribution`, - method: Method.GET, - needToken: true - }); -} - -/** - * 提交招募申请 - */ -export function submitRecruitApplication (data) { - return request({ - url: `/buyer/distribution/distribution/recruit/apply`, - method: Method.POST, - needToken: true, - data - }); -} - -/** - * 获取分销员商品列表 - */ -export function getDistGoodsList (params) { - return request({ - url: `/buyer/distribution/goods`, - method: Method.GET, - needToken: true, - params - }); -} - -/** - * 绑定、解绑分销商品 - * @param distributionGoodsId 分销商品id - * @param checked 分销商品id,true为绑定,false为解绑 - */ -export function selectDistGoods (params) { - return request({ - url: `/buyer/distribution/goods/checked/${params.distributionGoodsId}`, - method: Method.GET, - needToken: true, - params - }); -} - -/** - * 分销员提现历史 - */ -export function distCashHistory (params) { - return request({ - url: `/buyer/distribution/cash`, - method: Method.GET, - needToken: true, - params - }); -} - -/** - * 分销员提现 - */ -export function distCash (params) { - return request({ - url: `/buyer/distribution/cash`, - method: Method.POST, - needToken: true, - params, - loading: false, - skipMessage: true - }); -} - /** * 我的足迹 * @param {Number} pageNumber 页码 diff --git a/buyer/src/pages/home/memberCenter/Distribution.vue b/buyer/src/pages/home/memberCenter/Distribution.vue deleted file mode 100644 index c4a913b6..00000000 --- a/buyer/src/pages/home/memberCenter/Distribution.vue +++ /dev/null @@ -1,533 +0,0 @@ - - - - - diff --git a/buyer/src/pages/user/menu.js b/buyer/src/pages/user/menu.js index 846f182f..7a23a947 100644 --- a/buyer/src/pages/user/menu.js +++ b/buyer/src/pages/user/menu.js @@ -57,11 +57,6 @@ const member = [{ title: '我的收藏', path: 'Favorites' }, - { - icon: '', - title: '分销推荐', - path: 'Distribution' - }, { icon: '', title: '我的评论', diff --git a/buyer/src/router/index.js b/buyer/src/router/index.js index 43d7805a..7870be1b 100644 --- a/buyer/src/router/index.js +++ b/buyer/src/router/index.js @@ -35,7 +35,6 @@ const Profile = () => import("@/pages/home/memberCenter/Profile"); const AccountSafe = () => import("@/pages/home/memberCenter/AccountSafe"); const ModifyPwd = () => import("@/pages/home/memberCenter/ModifyPwd"); const Favorites = () => import("@/pages/home/memberCenter/Favorites"); -const Distribution = () => import("@/pages/home/memberCenter/Distribution"); const CommentList = () => import("@/pages/home/memberCenter/CommentList"); const AddEval = () => import("@/pages/home/memberCenter/evaluation/AddEval"); const EvalDetail = () => import("@/pages/home/memberCenter/evaluation/EvalDetail"); @@ -254,12 +253,6 @@ export const router = createRouter({ component: Favorites, meta: { title: "我的收藏" }, }, - { - path: "Distribution", - name: "Distribution", - component: Distribution, - meta: { title: "分销推荐" }, - }, { path: "Point", name: "Point",