|
@@ -31,7 +31,7 @@ module.exports = app => {
|
|
router.post('product', '/api/market/product/update/:id', controller.product.update);
|
|
router.post('product', '/api/market/product/update/:id', controller.product.update);
|
|
|
|
|
|
// 导出测试
|
|
// 导出测试
|
|
- router.post('product', '/api/market/product/exportexcel', controller.product.exportexcel);
|
|
|
|
|
|
+ router.post('/api/market/product/exportexcel', controller.product.exportexcel);
|
|
|
|
|
|
// 产品类型表设置路由
|
|
// 产品类型表设置路由
|
|
router.resources('protype', '/api/market/protype', controller.protype); // index、create、show、destroy
|
|
router.resources('protype', '/api/market/protype', controller.protype); // index、create、show、destroy
|