Authored by 姜敏

4.5路由配置更改

... ... @@ -76,7 +76,7 @@ var g = new common.grid({
}
}]
});
g.init('/hotSearchBrand/queryHotBrandList1');
g.init('/hotSearchBrand/queryHotBrandList');
var edit = new common.edit2(".modal-body");
var Bll = {
module: null,
... ...
... ... @@ -133,7 +133,7 @@ var g = new common.grid({
}
}]
});
g.init('/suggest/suggest/getSuggestList1');
g.init('/suggest/suggest/getSuggestList');
var Bll = {
dropDown: function (url, title, data) {
... ...
//exports.domain =require('../config/common.js').domain;
exports.domain =require('../config/common.js').domain;
//exports.domain ='http://172.16.6.250:8081/platform';//庞洁
exports.domain = 'http://172.16.6.225:8080/platform';
//exports.domain = 'http://172.16.6.225:8080/platform';
exports.res = [
//原 supplier
... ...
... ... @@ -4,20 +4,20 @@
*/
//接口主域
//exports.domain = require('../config/common.js').domain;
exports.domain = "http://172.16.6.214:8088/platform";
exports.domain = require('../config/common.js').domain;
//exports.domain = "http://172.16.6.214:8088/platform";
//路由配置
exports.res = [
{
//搜索词页面渲染
route: '/hotSearchBrand/queryHotBrandList',
route: '/hotSearchBrand/index',
method: 'GET',
view: 'pages/hotBrands/index',
src: '/hotBrands/index'
},
//搜索词列表
{
route: '/hotSearchBrand/queryHotBrandList1',
route: '/hotSearchBrand/queryHotBrandList',
method: 'POST',
url: '/hotSearchBrand/queryHotBrandList',
params: [
... ...
... ... @@ -3,20 +3,20 @@
*/
//接口主域
//exports.domain = require('../config/common.js').domain;
exports.domain = 'http://172.16.6.225:8080/platform';
exports.domain = require('../config/common.js').domain;
//exports.domain = 'http://172.16.6.225:8080/platform';
//路由配置
exports.res = [
{
//页面渲染
route: '/suggest/suggest/getSuggestList',
route: '/suggest/suggest/index',
method: 'GET',
view: 'pages/suggest/index',
src: '/suggest/index'
},
//列表
{
route: '/suggest/suggest/getSuggestList1',
route: '/suggest/suggest/getSuggestList',
method: 'POST',
url: '/suggest/suggest/getSuggestList',
params: [
... ...