未完成订单
Showing
1 changed file
with
3 additions
and
0 deletions
| ... | @@ -69,6 +69,7 @@ angular.module('myApp') | ... | @@ -69,6 +69,7 @@ angular.module('myApp') |
| 69 | localStorage.removeItem('ls.user') | 69 | localStorage.removeItem('ls.user') |
| 70 | return | 70 | return |
| 71 | } | 71 | } |
| 72 | if(date.meta.code === 200) { | ||
| 72 | if(data.data.unfinishedOrder.status == 200) { | 73 | if(data.data.unfinishedOrder.status == 200) { |
| 73 | if(data.data.unfinishedOrder.id) { | 74 | if(data.data.unfinishedOrder.id) { |
| 74 | $rootScope.isRendBike = true; | 75 | $rootScope.isRendBike = true; |
| ... | @@ -87,6 +88,8 @@ angular.module('myApp') | ... | @@ -87,6 +88,8 @@ angular.module('myApp') |
| 87 | } | 88 | } |
| 88 | }); | 89 | }); |
| 89 | } | 90 | } |
| 91 | } | ||
| 92 | |||
| 90 | }).error(function(data , status) { | 93 | }).error(function(data , status) { |
| 91 | console.log(JSON.stringify(data)) | 94 | console.log(JSON.stringify(data)) |
| 92 | }) | 95 | }) | ... | ... |
-
Please register or sign in to post a comment