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
Plain Diff
Browse Files
Authored by
陶雨
9 years ago
Commit
7487ba8054832a42d12b97e350975060a9c78bbf
2 parents
16e09757
32d3d9ed
Merge branch 'release/qqtest' of
http://git.dev.yoho.cn/platform/yohobuy-portal-…
…fe into release/qqtest
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
7 deletions
client/js/goods/netsale.js
client/js/goods/shelf_audit/index.js
server/config/common.js
server/mid/auth.js
client/js/goods/netsale.js
View file @
7487ba8
...
...
@@ -11,7 +11,8 @@ var ENUM = {
ageLevel
:
{
1
:
'成人'
,
2
:
'大童'
,
3
:
'小童'
3
:
'小童'
,
'2|3'
:
"大小童"
},
status
:
{
'8'
:
'待上架'
,
...
...
client/js/goods/shelf_audit/index.js
View file @
7487ba8
...
...
@@ -49,7 +49,7 @@ var AgeLevelEnum = {
1
:
"成人"
,
2
:
"大童"
,
3
:
"小童"
,
"
"
:
"未知年龄
"
"
2|3"
:
"大小童
"
}
}
...
...
@@ -171,7 +171,7 @@ var t = new common.tab({
},
{
name
:
"all"
,
display
:
"全部商品({all})"
,
value
:
'2,3,4,5,6,7'
value
:
'
1,
2,3,4,5,6,7'
}]
}).
init
(
ENUM
.
tips
);
...
...
@@ -192,7 +192,7 @@ var g = new common.grid({
middleSortId
:
tabTree
.
selected
.
length
>
1
?
tabTree
.
selected
[
1
].
id
:
""
,
// 二级类目
smallSortId
:
tabTree
.
selected
.
length
>
2
?
tabTree
.
selected
[
2
].
id
:
""
,
// 三级类目
size
:
common
.
util
.
__input
(
"size"
),
productStatusStr
:
t
.
value
?
t
.
value
:
'2,3,4,5,6,7'
productStatusStr
:
t
.
value
?
t
.
value
:
'
1,
2,3,4,5,6,7'
};
},
...
...
server/config/common.js
View file @
7487ba8
...
...
@@ -19,10 +19,10 @@ var config = {
// domain:'http://172.16.6.141:9090/',// 赵琪
// domain: 'http://172.16.6.214:8088/platform',//陈超
//http://172.16.6.124:8088/platform/product/queryAllProductAttr
//domain: 'http://172.16.6.146:8088/platform', //玛丽
//
domain: 'http://172.16.6.146:8088/platform', //玛丽
//domain:'http://172.16.6.157:8080/yohobuy-platform-web',//葛超
// domain: 'http://192.168.102.216:8086/platform',
domain
:
'http://192.168.102.202:8088/platform'
,
domain
:
'http://192.168.102.202:8088/platform'
,
//domain: 'http://172.16.6.146:8088/platform',
//domain:'http://172.16.6.120:8088/platform',//曹艳
//domain:'http://172.16.6.231:8080/platform',//王伟
...
...
server/mid/auth.js
View file @
7487ba8
...
...
@@ -89,7 +89,12 @@ module.exports = function(req, res, next) {
author
.
validateAuthor
(
req
.
session
.
user
.
auth
.
pid
,
req
.
session
.
user
.
auth
.
role_id
,
path
,
function
(
data
){
if
(
data
.
code
!=
200
){
res
.
status
(
403
);
res
.
render
(
'error/error_nolayout'
,{
message
:
NO_AUTH
,
layout
:
false
,
cssfile
:
CSS_FILE
});
if
(
!
req
.
xhr
){
res
.
render
(
'error/error_nolayout'
,{
message
:
NO_AUTH
,
layout
:
false
,
cssfile
:
CSS_FILE
});
}
else
{
res
.
json
({
code
:
304
,
message
:
"没有权限!"
});
}
return
;
}
nextRedirect
(
method
,
path
);
...
...
Please
register
or
login
to post a comment