diff --git a/doc/note.md b/doc/note.md new file mode 100644 index 00000000..8338a5a6 --- /dev/null +++ b/doc/note.md @@ -0,0 +1,10 @@ +# 项目笔记 + +记录本项目开发中一些关键技术点。 + +注意: +> 这些技术并不是绝对正确或者唯一,而是目前项目所采用。 + +## 1. 前后端交互技术 + +## 2. 错误码 \ No newline at end of file diff --git a/litemall-admin/src/router/index.js b/litemall-admin/src/router/index.js index bd75e85a..209ff20f 100644 --- a/litemall-admin/src/router/index.js +++ b/litemall-admin/src/router/index.js @@ -105,22 +105,6 @@ export const asyncRouterMap = [ { path: 'comment', component: _import('goods/comment'), name: 'goodsComment', meta: { title: '商品评论', noCache: true }} ] }, - - { - path: '/groupon', - component: Layout, - redirect: 'noredirect', - name: 'grouponManage', - meta: { - title: '团购管理', - icon: 'chart' - }, - children: [ - { path: 'list', component: _import('groupon/list'), name: 'list', meta: { title: '团购规则', noCache: true }}, - { path: 'record', component: _import('groupon/record'), name: 'record', meta: { title: '团购活动', noCache: true }} - ] - }, - { path: '/promotion', component: Layout, @@ -132,7 +116,9 @@ export const asyncRouterMap = [ }, children: [ { path: 'ad', component: _import('promotion/ad'), name: 'ad', meta: { title: '广告列表', noCache: true }}, - { path: 'topic', component: _import('promotion/topic'), name: 'topic', meta: { title: '专题管理', noCache: true }} + { path: 'topic', component: _import('promotion/topic'), name: 'topic', meta: { title: '专题管理', noCache: true }}, + { path: 'groupon-rule', component: _import('promotion/grouponRule'), name: 'grouponRule', meta: { title: '团购规则', noCache: true }}, + { path: 'groupon-activity', component: _import('promotion/grouponActivity'), name: 'grouponActivity', meta: { title: '团购活动', noCache: true }} ] }, diff --git a/litemall-admin/src/views/groupon/record.vue b/litemall-admin/src/views/promotion/grouponActivity.vue similarity index 97% rename from litemall-admin/src/views/groupon/record.vue rename to litemall-admin/src/views/promotion/grouponActivity.vue index a913cfdb..1f60dc2c 100644 --- a/litemall-admin/src/views/groupon/record.vue +++ b/litemall-admin/src/views/promotion/grouponActivity.vue @@ -6,7 +6,6 @@ 查找 - 导出 @@ -97,7 +96,7 @@ import BackToTop from '@/components/BackToTop' export default { - name: 'GoodsList', + name: 'GrouponActivity', components: { BackToTop }, data() { return { diff --git a/litemall-admin/src/views/groupon/list.vue b/litemall-admin/src/views/promotion/grouponRule.vue similarity index 99% rename from litemall-admin/src/views/groupon/list.vue rename to litemall-admin/src/views/promotion/grouponRule.vue index 62228d65..62976b58 100644 --- a/litemall-admin/src/views/groupon/list.vue +++ b/litemall-admin/src/views/promotion/grouponRule.vue @@ -94,7 +94,7 @@ import BackToTop from '@/components/BackToTop' export default { - name: 'GrouponList', + name: 'GrouponRule', components: { BackToTop }, data() { return {