Authored by zhaoqing

商家端店铺

... ... @@ -17,7 +17,7 @@ module.exports=function(app) {
app.post("/product/queryMaxSortByName","select_queryMaxSortByName");
/*类目 已经集成到控件里面去了注意*/
app.post("/product/class/queryAllProductSortList","select_queryAllMaxSortList");
app.post("/shops-proxy/product/class/queryAllProductSortList","select_queryAllMaxSortList");
app.post("/product/class/queryProductSortList","select_queryProductSortList");
app.post("/model/queryModelListForSelect","select_queryModelListForSelect");
... ...
... ... @@ -13,7 +13,7 @@ module.exports = function(app) {
app.post("/shops-proxy/ModularDecoratorRest/findShopsDecorator","modularDecorator_findShopDecorator");
// 存储装修模板
app.post("/shop/ModularDecoratorRest/saveDecoratorTemplate", "modularDecorator_saveDecoratorTemplate");
app.post("/shops-proxy/shop/ModularDecoratorRest/saveDecoratorTemplate", "modularDecorator_saveDecoratorTemplate");
// 查询店铺装修模板列表
app.post("/shops-proxy/ModularDecoratorRest/findDecoratorTemplates", "modularDecorator_findShopDecoratorTemplates");
... ... @@ -28,6 +28,6 @@ module.exports = function(app) {
app.post("/shops-proxy/ModularDecoratorRest/publishDecoratorTemplate", "modularDecorator_publishDecoratorTemplate");
// 更新装修模板
app.post("/shop/ModularDecoratorRest/updateDecoratorTemplate", "modularDecorator_updateDecoratorTemplate");
app.post("/shops-proxy/shop/ModularDecoratorRest/updateDecoratorTemplate", "modularDecorator_updateDecoratorTemplate");
}
... ...
... ... @@ -202,7 +202,7 @@ tabTree.prototype= {
if (p.status) {
url = '/sale/product/queryPSNotTreeWhenLevelAndStatus';
} else {
url = '/product/class/queryAllProductSortList';
url = '/shops-proxy/product/class/queryAllProductSortList';
}
} else {
if (p.status) {
... ...
... ... @@ -255,7 +255,7 @@ var Bll = {
console.log("入参:"+lineNumber, order, shopId);
var productInfo = {};
common.util.__ajax({
url: '/product/searchProductDetail',
url: '/shops-proxy/product/searchProductDetail',
data: {
lineNumber: lineNumber,
order: order,
... ... @@ -273,7 +273,7 @@ var Bll = {
getProductDetailBySkns: function(sknList){
var productInfo = {};
common.util.__ajax({
url: '/product/queryProductInfoBySkns',
url: '/shops-proxy/product/queryProductInfoBySkns',
data: {
productSkns: sknList
},
... ... @@ -572,7 +572,7 @@ var Bll = {
}
]
});
Bll.moduleGrid.init("/shop/selectAllProduct");
Bll.moduleGrid.init("/shops-proxy/shop/selectAllProduct");
} else {
$('.editor-dialog').hide();
$('.editorTitle').html(common.util.__template2($('#autoselect-recommend-product').html(), {data: Bll.recommendProduct}));
... ... @@ -1650,7 +1650,7 @@ var Bll = {
getProductPic: function(skn) {
var pic;
common.util.__ajax({
url: '/product/queryProductPicBySkn',
url: '/shops-proxy/product/queryProductPicBySkn',
data: {
productSkn: skn
},
... ... @@ -2091,7 +2091,7 @@ $(document).on('click', '#quitBtn', function() {
});
saveTemplate(1);
window.location.href = '/shop/modular/decorator';
window.location.href = '/shops-proxy/shop/modular/decorator';
});
});
... ...