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
毕凯
2018-03-01 15:33:29 +0800
Commit
cdcc034c4fc163de34524ed3df2172a296efaade
2 parents
a3d8b39a
69d1b9ab
Merge branch 'hotfix/guangstatus' into 'gray'
status See merge request
!1275
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
apps/guang/models/detail.js
apps/guang/models/detail.js
View file @
cdcc034
...
...
@@ -238,7 +238,7 @@ class DetailModel extends global.yoho.BaseModel {
// 获取资讯
return
this
.
_getArticle
(
id
).
then
(
data
=>
{
// 调用接口失败
if
(
!
data
||
data
.
code
!==
200
)
{
if
(
!
data
||
data
.
code
!==
200
||
_
.
get
(
data
,
'data.status'
)
!==
1
)
{
result
.
code
=
400
;
return
result
;
}
...
...
Please
register
or
login
to post a comment