Authored by yyq

api method

@@ -4,7 +4,7 @@ const api = global.yoho.API; @@ -4,7 +4,7 @@ const api = global.yoho.API;
4 4
5 exports.getUserSuccessfulOrders = (uid)=>{ 5 exports.getUserSuccessfulOrders = (uid)=>{
6 return api.get('', { 6 return api.get('', {
7 - method: 'app.SpaceOrders.get', 7 + method: 'app.SpaceOrders.list',
8 uid: uid, 8 uid: uid,
9 type: 5, 9 type: 5,
10 page: 1, 10 page: 1,