Showing
1 changed file
with
2 additions
and
2 deletions
@@ -87,10 +87,10 @@ const index = (req, res, next) => { | @@ -87,10 +87,10 @@ const index = (req, res, next) => { | ||
87 | }, data[0], data[1]); | 87 | }, data[0], data[1]); |
88 | 88 | ||
89 | // status: 1 正常 2 逾期 3 不可用 4 未开通 | 89 | // status: 1 正常 2 逾期 3 不可用 4 未开通 |
90 | - if (openStatus === '2') { | 90 | + if (data[0].status === '2') { |
91 | params.replayStatus = '逾期'; | 91 | params.replayStatus = '逾期'; |
92 | params.isOverdue = true; | 92 | params.isOverdue = true; |
93 | - } else if (openStatus === '3') { | 93 | + } else if (data[0].status === '3') { |
94 | params.replayStatus = '不可用'; | 94 | params.replayStatus = '不可用'; |
95 | } | 95 | } |
96 | 96 |
-
Please register or login to post a comment