Showing
4 changed files
with
9 additions
and
9 deletions
@@ -17,7 +17,7 @@ module.exports=function(app) { | @@ -17,7 +17,7 @@ module.exports=function(app) { | ||
17 | 17 | ||
18 | app.post("/product/queryMaxSortByName","select_queryMaxSortByName"); | 18 | app.post("/product/queryMaxSortByName","select_queryMaxSortByName"); |
19 | /*类目 已经集成到控件里面去了注意*/ | 19 | /*类目 已经集成到控件里面去了注意*/ |
20 | - app.post("/product/class/queryAllProductSortList","select_queryAllMaxSortList"); | 20 | + app.post("/shops-proxy/product/class/queryAllProductSortList","select_queryAllMaxSortList"); |
21 | app.post("/product/class/queryProductSortList","select_queryProductSortList"); | 21 | app.post("/product/class/queryProductSortList","select_queryProductSortList"); |
22 | 22 | ||
23 | app.post("/model/queryModelListForSelect","select_queryModelListForSelect"); | 23 | app.post("/model/queryModelListForSelect","select_queryModelListForSelect"); |
@@ -13,7 +13,7 @@ module.exports = function(app) { | @@ -13,7 +13,7 @@ module.exports = function(app) { | ||
13 | app.post("/shops-proxy/ModularDecoratorRest/findShopsDecorator","modularDecorator_findShopDecorator"); | 13 | app.post("/shops-proxy/ModularDecoratorRest/findShopsDecorator","modularDecorator_findShopDecorator"); |
14 | 14 | ||
15 | // 存储装修模板 | 15 | // 存储装修模板 |
16 | - app.post("/shop/ModularDecoratorRest/saveDecoratorTemplate", "modularDecorator_saveDecoratorTemplate"); | 16 | + app.post("/shops-proxy/shop/ModularDecoratorRest/saveDecoratorTemplate", "modularDecorator_saveDecoratorTemplate"); |
17 | 17 | ||
18 | // 查询店铺装修模板列表 | 18 | // 查询店铺装修模板列表 |
19 | app.post("/shops-proxy/ModularDecoratorRest/findDecoratorTemplates", "modularDecorator_findShopDecoratorTemplates"); | 19 | app.post("/shops-proxy/ModularDecoratorRest/findDecoratorTemplates", "modularDecorator_findShopDecoratorTemplates"); |
@@ -28,6 +28,6 @@ module.exports = function(app) { | @@ -28,6 +28,6 @@ module.exports = function(app) { | ||
28 | app.post("/shops-proxy/ModularDecoratorRest/publishDecoratorTemplate", "modularDecorator_publishDecoratorTemplate"); | 28 | app.post("/shops-proxy/ModularDecoratorRest/publishDecoratorTemplate", "modularDecorator_publishDecoratorTemplate"); |
29 | 29 | ||
30 | // 更新装修模板 | 30 | // 更新装修模板 |
31 | - app.post("/shop/ModularDecoratorRest/updateDecoratorTemplate", "modularDecorator_updateDecoratorTemplate"); | 31 | + app.post("/shops-proxy/shop/ModularDecoratorRest/updateDecoratorTemplate", "modularDecorator_updateDecoratorTemplate"); |
32 | } | 32 | } |
33 | 33 |
@@ -202,7 +202,7 @@ tabTree.prototype= { | @@ -202,7 +202,7 @@ tabTree.prototype= { | ||
202 | if (p.status) { | 202 | if (p.status) { |
203 | url = '/sale/product/queryPSNotTreeWhenLevelAndStatus'; | 203 | url = '/sale/product/queryPSNotTreeWhenLevelAndStatus'; |
204 | } else { | 204 | } else { |
205 | - url = '/product/class/queryAllProductSortList'; | 205 | + url = '/shops-proxy/product/class/queryAllProductSortList'; |
206 | } | 206 | } |
207 | } else { | 207 | } else { |
208 | if (p.status) { | 208 | if (p.status) { |
@@ -255,7 +255,7 @@ var Bll = { | @@ -255,7 +255,7 @@ var Bll = { | ||
255 | console.log("入参:"+lineNumber, order, shopId); | 255 | console.log("入参:"+lineNumber, order, shopId); |
256 | var productInfo = {}; | 256 | var productInfo = {}; |
257 | common.util.__ajax({ | 257 | common.util.__ajax({ |
258 | - url: '/product/searchProductDetail', | 258 | + url: '/shops-proxy/product/searchProductDetail', |
259 | data: { | 259 | data: { |
260 | lineNumber: lineNumber, | 260 | lineNumber: lineNumber, |
261 | order: order, | 261 | order: order, |
@@ -273,7 +273,7 @@ var Bll = { | @@ -273,7 +273,7 @@ var Bll = { | ||
273 | getProductDetailBySkns: function(sknList){ | 273 | getProductDetailBySkns: function(sknList){ |
274 | var productInfo = {}; | 274 | var productInfo = {}; |
275 | common.util.__ajax({ | 275 | common.util.__ajax({ |
276 | - url: '/product/queryProductInfoBySkns', | 276 | + url: '/shops-proxy/product/queryProductInfoBySkns', |
277 | data: { | 277 | data: { |
278 | productSkns: sknList | 278 | productSkns: sknList |
279 | }, | 279 | }, |
@@ -572,7 +572,7 @@ var Bll = { | @@ -572,7 +572,7 @@ var Bll = { | ||
572 | } | 572 | } |
573 | ] | 573 | ] |
574 | }); | 574 | }); |
575 | - Bll.moduleGrid.init("/shop/selectAllProduct"); | 575 | + Bll.moduleGrid.init("/shops-proxy/shop/selectAllProduct"); |
576 | } else { | 576 | } else { |
577 | $('.editor-dialog').hide(); | 577 | $('.editor-dialog').hide(); |
578 | $('.editorTitle').html(common.util.__template2($('#autoselect-recommend-product').html(), {data: Bll.recommendProduct})); | 578 | $('.editorTitle').html(common.util.__template2($('#autoselect-recommend-product').html(), {data: Bll.recommendProduct})); |
@@ -1650,7 +1650,7 @@ var Bll = { | @@ -1650,7 +1650,7 @@ var Bll = { | ||
1650 | getProductPic: function(skn) { | 1650 | getProductPic: function(skn) { |
1651 | var pic; | 1651 | var pic; |
1652 | common.util.__ajax({ | 1652 | common.util.__ajax({ |
1653 | - url: '/product/queryProductPicBySkn', | 1653 | + url: '/shops-proxy/product/queryProductPicBySkn', |
1654 | data: { | 1654 | data: { |
1655 | productSkn: skn | 1655 | productSkn: skn |
1656 | }, | 1656 | }, |
@@ -2091,7 +2091,7 @@ $(document).on('click', '#quitBtn', function() { | @@ -2091,7 +2091,7 @@ $(document).on('click', '#quitBtn', function() { | ||
2091 | }); | 2091 | }); |
2092 | 2092 | ||
2093 | saveTemplate(1); | 2093 | saveTemplate(1); |
2094 | - window.location.href = '/shop/modular/decorator'; | 2094 | + window.location.href = '/shops-proxy/shop/modular/decorator'; |
2095 | }); | 2095 | }); |
2096 | }); | 2096 | }); |
2097 | 2097 |
-
Please register or login to post a comment