diff --git a/src/api/app/dashboard.js b/src/api/app/dashboard.js new file mode 100644 index 0000000..aaf9dd7 --- /dev/null +++ b/src/api/app/dashboard.js @@ -0,0 +1,12 @@ +import request from '@/utils/request' + +/** + * 用户分成月报表 + */ +export function appBonusDailyAmount(params) { + return request({ + url: '/app/dashboard/bonusDailyAmount', + method: 'get', + params + }) +} diff --git a/src/router/mchRouter.js b/src/router/mchRouter.js index 421572a..5847762 100644 --- a/src/router/mchRouter.js +++ b/src/router/mchRouter.js @@ -4,6 +4,19 @@ import Layout from '@/layout/index.vue' * 商户中心路由 */ export const mchRoutes = [ + { + path: '/share', + component: Layout, + hidden: false, + alwaysShow: true, + meta: { + title: '推广管理', + icon: 'user' + }, + children: [ + + ] + }, { path: '/business', component: Layout, @@ -170,38 +183,4 @@ export const mchRoutes = [ }, ] }, - { - path: '/dev', - component: Layout, - hidden: false, - alwaysShow: true, - meta: { - title: '开发管理', - icon: 'code' - }, - children: [ - { - path: 'access', - hidden: false, - component: () => import('@/views/mch/access/index.vue'), - name: "MchAccess", - meta: { - noCache: false, - title: '秘钥管理', - icon: 'key', - }, - }, - { - path: 'doc', - component: () => import('@/views/mch/devDoc/index.vue'), - hidden: false, - name: 'DevDoc', - meta: { - noCache: false, - title: '开发文档', - icon: 'documentation' - }, - } - ] - }, ] diff --git a/src/store/modules/user.js b/src/store/modules/user.js index d2b6fb3..9d058a8 100644 --- a/src/store/modules/user.js +++ b/src/store/modules/user.js @@ -99,7 +99,7 @@ const user = { setUserType(userType); commit('SET_USER_TYPE', userType) if (userType === UserType.APP) { - commit('SET_TITLE', "创特物联-商户中心") + commit('SET_TITLE', "创亿康-商户中心") } resolve(res) }).catch(error => { diff --git a/src/views/dashboard/component/TodoList.vue b/src/views/dashboard/component/TodoList.vue index 673913c..9f1e656 100644 --- a/src/views/dashboard/component/TodoList.vue +++ b/src/views/dashboard/component/TodoList.vue @@ -8,7 +8,7 @@