orderDetail.js
345 Bytes
'use strict';
const api = global.yoho.API;
const _ = require('lodash');
const orderDetail = (params) => {
let finalResult = {};
return api.get('', _.assign({
method: 'app.SpaceOrders.closeReasons'
}, params), {code: 200}).then((result) => {
return finalResult;
});
};
module.exports = {
orderDetail
};