Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-portal-fe
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
姜敏
9 years ago
Commit
edd886efe7d3799b2188095b39f171e3f667841c
1 parent
2b5827e4
4.5路由配置更改
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
12 deletions
client/js/hotBrands/index.js
client/js/suggest/index.js
server/interface/common_select.js
server/interface/hotBrands.js
server/interface/suggest.js
client/js/hotBrands/index.js
View file @
edd886e
...
...
@@ -76,7 +76,7 @@ var g = new common.grid({
}
}]
});
g
.
init
(
'/hotSearchBrand/queryHotBrandList
1
'
);
g
.
init
(
'/hotSearchBrand/queryHotBrandList'
);
var
edit
=
new
common
.
edit2
(
".modal-body"
);
var
Bll
=
{
module
:
null
,
...
...
client/js/suggest/index.js
View file @
edd886e
...
...
@@ -133,7 +133,7 @@ var g = new common.grid({
}
}]
});
g
.
init
(
'/suggest/suggest/getSuggestList
1
'
);
g
.
init
(
'/suggest/suggest/getSuggestList'
);
var
Bll
=
{
dropDown
:
function
(
url
,
title
,
data
)
{
...
...
server/interface/common_select.js
View file @
edd886e
//
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
...
...
server/interface/hotBrands.js
View file @
edd886e
...
...
@@ -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/queryHotBrandList
1
'
,
route
:
'/hotSearchBrand/queryHotBrandList'
,
method
:
'POST'
,
url
:
'/hotSearchBrand/queryHotBrandList'
,
params
:
[
...
...
server/interface/suggest.js
View file @
edd886e
...
...
@@ -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/getSuggestList
1
'
,
route
:
'/suggest/suggest/getSuggestList'
,
method
:
'POST'
,
url
:
'/suggest/suggest/getSuggestList'
,
params
:
[
...
...
Please
register
or
login
to post a comment