...
|
...
|
@@ -157,7 +157,7 @@ var Bll = { |
|
|
// 查询模板列表
|
|
|
getTemplates: function() {
|
|
|
common.util.__ajax({
|
|
|
url: '/shop/ModularDecoratorRest/findDecoratorTemplates',
|
|
|
url: '/shops-proxy/ModularDecoratorRest/findDecoratorTemplates',
|
|
|
data: {
|
|
|
shopId: Bll.shopId,
|
|
|
platform: +t.active ? 0 : 1,
|
...
|
...
|
@@ -200,7 +200,7 @@ var Bll = { |
|
|
|
|
|
var templateId = $(curTemplate).data('id');
|
|
|
common.util.__ajax({
|
|
|
url: '/shop/ModularDecoratorRest/queryTemplateResource',
|
|
|
url: '/shops-proxy/ModularDecoratorRest/queryTemplateResource',
|
|
|
data: {
|
|
|
templateId: templateId
|
|
|
},
|
...
|
...
|
@@ -1880,7 +1880,7 @@ var saveTemplate = function(flag, name, cb) { |
|
|
}
|
|
|
|
|
|
common.util.__ajax({
|
|
|
url: '/shop/sellerDecoratorRest/saveDecoratorTemplate',
|
|
|
url: '/shops-proxy/sellerDecoratorRest/saveDecoratorTemplate',
|
|
|
data: {
|
|
|
shopId: Bll.shopId,
|
|
|
platform: +t.active ? 0 : 1,
|
...
|
...
|
@@ -1983,7 +1983,7 @@ $(document).on('click', '#updateBtn', function() { |
|
|
});
|
|
|
|
|
|
common.util.__ajax({
|
|
|
url: "/shop/sellerDecoratorRest/updateDecoratorTemplate",
|
|
|
url: "/shops-proxy/sellerDecoratorRest/updateDecoratorTemplate",
|
|
|
data: {
|
|
|
templateId: templateId,
|
|
|
shopId: Bll.shopId,
|
...
|
...
|
@@ -2015,7 +2015,7 @@ var publishDecoratorTemplate = function() { |
|
|
}
|
|
|
|
|
|
common.util.__ajax({
|
|
|
url: "/shop/ModularDecoratorRest/publishDecoratorTemplate",
|
|
|
url: "/shops-proxy/ModularDecoratorRest/publishDecoratorTemplate",
|
|
|
data: {
|
|
|
templateId: templateId
|
|
|
}
|
...
|
...
|
@@ -2225,7 +2225,7 @@ $(document).on('click', '.template-del-icon', function() { |
|
|
|
|
|
common.dialog.confirm("温馨提示", "确认删除装修模板[" + templateName + "]?模板删除,装修数据会同时删除,且不可恢复!", function() {
|
|
|
common.util.__ajax({
|
|
|
url: '/shop/ModularDecoratorRest/deleteDecoratorTemplate',
|
|
|
url: '/shops-proxy/ModularDecoratorRest/deleteDecoratorTemplate',
|
|
|
data: {
|
|
|
templateId: templateId,
|
|
|
platformType: 2
|
...
|
...
|
|