Authored by 郭成尧

Merge branch 'feature/usercenter' of git.yoho.cn:fe/yohobuywap-node into feature/usercenter

  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 +};