feat: 核销api
This commit is contained in:
@@ -35,6 +35,21 @@ const OrderStoreApi = {
|
||||
},
|
||||
});
|
||||
},
|
||||
verify: (ids, pickUpVerifyCode) => {
|
||||
const idText = Array.isArray(ids) ? ids.filter(Boolean).join(',') : String(ids || '');
|
||||
return request({
|
||||
url: '/trade/order-store/staff/verify',
|
||||
method: 'PUT',
|
||||
params: {
|
||||
ids: idText,
|
||||
pickUpVerifyCode: String(pickUpVerifyCode || '').trim(),
|
||||
},
|
||||
custom: {
|
||||
showSuccess: true,
|
||||
successMsg: '核销成功',
|
||||
},
|
||||
});
|
||||
},
|
||||
};
|
||||
|
||||
export default OrderStoreApi;
|
||||
|
||||
Reference in New Issue
Block a user