前端:管理后台增加 Banner CRUD 功能

This commit is contained in:
YunaiV
2019-03-31 00:12:15 +08:00
parent 4595db1d4c
commit 23acc40d8d
15 changed files with 806 additions and 18 deletions

View File

@@ -2,7 +2,8 @@
export default {
'/admin-api/': {
target: 'http://180.167.213.26:18083/',
// target: 'http://180.167.213.26:18083/',
target: 'http://127.0.0.1:18083/',
changeOrigin: true,
pathRewrite: {},
},
@@ -11,4 +12,9 @@ export default {
changeOrigin: true,
pathRewrite: {},
},
'/promotion-api/': {
target: 'http://127.0.0.1:18085/',
changeOrigin: true,
pathRewrite: {},
},
};

View File

@@ -94,6 +94,29 @@ export default [
},
],
},
// promotion
{
path: '/promotion',
name: 'promotion',
icon: 'user',
routes: [
{
path: '/promotion/banner-list',
name: 'promotion-banner-list',
component: './Promotion/BannerList',
},
// {
// path: '/product/product-spu-add',
// name: 'product-spu-add',
// component: './Product/ProductSpuAddOrUpdate',
// },
// {
// path: '/product/product-category-list',
// name: 'product-category-list',
// component: './Product/ProductCategoryList',
// },
],
},
{
path: '/dashboard',
name: 'dashboard',