2019-05-06 23:24:23 +08:00
|
|
|
import { stringify } from '@/utils/request.qs';
|
|
|
|
import request from '@/utils/request';
|
|
|
|
|
|
|
|
// order
|
|
|
|
export async function list(params) {
|
|
|
|
return request(`/order-api/admins/order_return/list?${stringify(params)}`, {
|
|
|
|
method: 'GET',
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
2019-05-09 22:46:30 +08:00
|
|
|
export async function agree(params) {
|
|
|
|
return request(`/order-api/admins/order_return/agree?${stringify(params)}`, {
|
|
|
|
method: 'POST',
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
export async function refuse(params) {
|
|
|
|
return request(`/order-api/admins/order_return/refuse?${stringify(params)}`, {
|
|
|
|
method: 'POST',
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
export async function confirmReceipt(params) {
|
|
|
|
return request(`/order-api/admins/order_return/confirm_receipt?${stringify(params)}`, {
|
|
|
|
method: 'POST',
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
export async function confirmRefund(params) {
|
|
|
|
return request(`/order-api/admins/order_return/confirm_refund?${stringify(params)}`, {
|
|
|
|
method: 'POST',
|
2019-05-06 23:24:23 +08:00
|
|
|
});
|
|
|
|
}
|