Merge branch 'feature/usercenter' of git.yoho.cn:fe/yohobuywap-node into feature/usercenter
Showing
1 changed file
with
21 additions
and
0 deletions
1 | +'use strict'; | ||
2 | + | ||
3 | + | ||
4 | +const api = global.yoho.API; | ||
5 | +const _ = require('lodash'); | ||
6 | + | ||
7 | +const orderDetail = (params) => { | ||
8 | + let finalResult = {}; | ||
9 | + | ||
10 | + | ||
11 | + return api.get('', _.assign({ | ||
12 | + method: 'app.SpaceOrders.closeReasons' | ||
13 | + }, params), {code: 200}).then((result) => { | ||
14 | + | ||
15 | + return finalResult; | ||
16 | + }); | ||
17 | +}; | ||
18 | + | ||
19 | +module.exports = { | ||
20 | + orderDetail | ||
21 | +}; |
-
Please register or login to post a comment