Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohoblk-wap
·
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
陈峰
2018-03-29 10:28:38 +0800
Commit
d477e423be22358b791e6f1b5090491c3b50de4f
2 parents
6350586a
56672ed8
Merge branch 'hotfix/barnd' into 'gray'
brand channel can unset See merge request
!77
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
apps/channel/controllers/brand.js
apps/channel/models/brand-api.js
public/vue/channel/brand-list-box.vue
apps/channel/controllers/brand.js
View file @
d477e42
...
...
@@ -27,7 +27,7 @@ module.exports = {
getBrandList
:
(
req
,
res
,
next
)
=>
{
brandModel
.
getBrandListData
({
channel
:
req
.
query
.
channel
||
req
.
cookies
.
_Channel
||
'men'
channel
:
req
.
query
.
channel
}).
then
(
result
=>
{
res
.
json
(
result
);
}).
catch
(
next
);
...
...
apps/channel/models/brand-api.js
View file @
d477e42
...
...
@@ -28,7 +28,7 @@ module.exports = {
getBrandListOriginData
(
params
)
{
return
api
.
get
(
''
,
{
method
:
'app.brand.allBrandList'
,
yh_channel
:
yhChannel
[
params
.
channel
].
channel
yh_channel
:
params
.
channel
?
yhChannel
[
params
.
channel
].
channel
:
''
},
{
code
:
200
,
cache
:
true
...
...
public/vue/channel/brand-list-box.vue
View file @
d477e42
...
...
@@ -22,7 +22,7 @@
data() {
return {
page: 'brand',
channel:
detaultC
hannel,
channel:
qs.c
hannel,
contentCode: contentCode.brand[detaultChannel]
};
},
...
...
Please
register
or
login
to post a comment