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 15:02:14 +0800
Commit
97ea57730924fb88ef0e34c8c5b38070f8f231c3
2 parents
6350586a
f781bd92
Merge branch 'gray' into 'master'
Gray See merge request
!78
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
apps/channel/controllers/brand.js
apps/channel/models/brand-api.js
package.json
public/vue/channel/brand-list-box.vue
apps/channel/controllers/brand.js
View file @
97ea577
...
...
@@ -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 @
97ea577
...
...
@@ -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
...
...
package.json
View file @
97ea577
{
"name"
:
"yohoblk-wap"
,
"version"
:
"2.0.3
7
"
,
"version"
:
"2.0.3
8
"
,
"private"
:
true
,
"description"
:
"A New Yohobuy Project With Express"
,
"repository"
:
{
...
...
public/vue/channel/brand-list-box.vue
View file @
97ea577
...
...
@@ -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