Authored by zhaoqing

店铺链接优化

... ... @@ -6,6 +6,6 @@ module.exports = function(app) {
app.post("/shops-proxy/sellerDecoratorRest/updateDecoratorTemplate", "sellerDecorator_updateDecoratorTemplate");
//店铺装修保存
app.post("/shop/sellerDecoratorRest/saveShopsDecorator","sellerDecorator_saveShopsDecorator");
app.post("/shops-proxy/sellerDecoratorRest/saveShopsDecorator","sellerDecorator_saveShopsDecorator");
}
... ...
... ... @@ -14,7 +14,7 @@ module.exports = function (app) {
app.post("/shop/ShopsDecoratorRest/findShopsDecorator","shop_findBusinessShopsDecorator");
//店铺装修详情
app.post("/shop/ShopsDecoratorRest/findShopsDecoratorDetail","shop_findShopsDecoratorDetail");
app.post("/shops-proxy/ShopsDecoratorRest/findShopsDecoratorDetail","shop_findShopsDecoratorDetail");
//店铺装修保存
app.post("/shop/ShopsDecoratorRest/saveShopsDecorator","shop_saveShopsDecorator");
... ...
... ... @@ -26,7 +26,7 @@ module.exports = function (app){
app.post("/shops/shopCategory/list","shopCategory_shopsCategoryList");
//店铺商品分类列表,仅用于装修页面,下拉选择商品分类的场景
app.post("/shops/shopCategory/categoryList", "shopCategory_selectCategoryList");
app.post("/shops-proxy/shopCategory/categoryList", "shopCategory_selectCategoryList");
//新增店铺销售类目
app.post("/shops/shopCategory/add","shopCategory_insertShopsAndLinkCategory");
... ...
... ... @@ -264,7 +264,7 @@ function getDialogOption(title) {
function findDecoration(){
common.util.__ajax(
{
url:'/shop/ShopsDecoratorRest/findShopsDecoratorDetail',
url:'/shops-proxy/ShopsDecoratorRest/findShopsDecoratorDetail',
data: {
"shopsId": shopsId,
"platformType": 2
... ... @@ -318,7 +318,7 @@ function findDecoration(){
//Ajax查询店铺下销售类目
function findShopCategory() {
common.util.__ajax({
url:'/shops/shopCategory/categoryList',
url:'/shops-proxy/shopCategory/categoryList',
data: {
shopId: jsonMain.shopsId
}
... ... @@ -375,7 +375,7 @@ function findTopHotProducts_APP(){
function saveDecoration(submitStatus){
console.log(jsonMain);
common.util.__ajax({
url:'/shop/sellerDecoratorRest/saveShopsDecorator',
url:'/shops-proxy/sellerDecoratorRest/saveShopsDecorator',
data: {
"submitStatus": submitStatus,
"shopsId": jsonMain.shopsId,
... ...
... ... @@ -142,7 +142,7 @@ var Bll = {
// 异步查询查询商品分类列表
getShopCategoryList: function() {
common.util.__ajax({
url: '/shops/shopCategory/categoryList',
url: '/shops-proxy/shopCategory/categoryList',
data: {
shopId: Bll.shopId
},
... ...