Authored by htoooth

add api

... ... @@ -209,3 +209,22 @@ exports.del = (uid, gender, channel, orderId) => {
});
};
/**
* 申请退款
*/
exports.refund = (orderId) => {
return api.get('', {
method: 'app.SpaceOrders.refundApply',
order_code: orderId
});
};
/**
* 申请退款原因
*/
exports.refundReason = () => {
return api.get('', {
method: 'app.SpaceOrders.refundApplyReasons'
});
};
... ...