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
Plain Diff
Browse Files
Authored by
毕凯
2017-08-14 19:38:10 +0800
Commit
0a6d6de0102b5be680ec523de9ec322244a650f7
2 parents
202847ed
25ac88ed
Merge branch 'hotfix/expandNew2' into 'master'
空uid 空值 See merge request
!802
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
apps/activity/models/expand-new.js
apps/home/models/index.js
apps/activity/models/expand-new.js
View file @
0a6d6de
...
...
@@ -25,7 +25,8 @@ module.exports = class extends global.yoho.BaseModel {
result
.
data
.
isApp
=
isApp
;
result
.
data
.
copyUrl
=
result
.
data
.
shareUrl
.
replace
(
/"/g
,
'"'
).
replace
(
/=/g
,
':'
);
result
.
data
.
copyUrl
=
result
.
data
.
shareUrl
?
result
.
data
.
shareUrl
.
replace
(
/"/g
,
'"'
).
replace
(
/=/g
,
':'
)
:
''
;
return
result
.
data
;
}
else
{
...
...
apps/home/models/index.js
View file @
0a6d6de
...
...
@@ -115,12 +115,16 @@ const _getRes = () => {
// 潮流口令
const
_getCode
=
(
uid
)
=>
{
if
(
uid
)
{
return
api
.
get
(
''
,
{
method
:
'app.invitecode.my'
,
uid
:
uid
},
{
code
:
200
});
}
else
{
return
Promise
.
resolve
({});
}
};
const
_getTrendPop
=
(
contentCode
)
=>
{
...
...
Please
register
or
login
to post a comment