Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
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
ccbikai
9 years ago
Commit
0b62ee4fdeca954cc7d528d921b58f619a1ebc67
1 parent
28a6ca3d
首页明星头像数据处理
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
apps/guang/models/star.js
apps/guang/models/star.js
View file @
0b62ee4
...
...
@@ -102,7 +102,7 @@ class Star {
// 首页明星头像数据处理
if
(
list
.
tags
)
{
_
.
forEach
(
list
.
tags
,
(
data
)
=>
{
let
url
=
`
/
guang
/
star
/
detail
?
tag
=
$
{
data
.
tagName
}
&
openby
:
yohobuy
=
{
"action"
:
"go.h5"
,
"params"
:{
"id"
:
""
,
"share"
:
""
,
"shareparam"
:{},
"islogin"
:
"N"
,
"type"
:
0
,
"updateflag"
:
"N"
,
"url"
:
"http:\/\/m.yohobuy.com\/guang\/star\/detail
?tag=${data.tagName}"
,
"param"
:{
}}}
`
;
// eslint-disable-line
let
url
=
`
/
guang
/
star
/
detail
?
tag
=
$
{
data
.
tagName
}
&
openby
:
yohobuy
=
{
"action"
:
"go.h5"
,
"params"
:{
"id"
:
""
,
"share"
:
""
,
"shareparam"
:{},
"islogin"
:
"N"
,
"type"
:
0
,
"updateflag"
:
"N"
,
"url"
:
"http:\/\/m.yohobuy.com\/guang\/star\/detail
"
,
"param"
:{
"tag"
:
"${data.tagName}"
}}}
`
;
// eslint-disable-line
formatData
.
starAvatar
.
push
({
url
:
url
,
...
...
Please
register
or
login
to post a comment