bb2643e8 by ex

未完成订单

1 parent 3a19c2d9
...@@ -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 })
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!