first commit

This commit is contained in:
sexygoat
2026-04-11 14:42:14 +08:00
commit b962c9c716
62 changed files with 7323 additions and 0 deletions

19
api/modules/exchange.js Normal file
View File

@@ -0,0 +1,19 @@
import request from '@/utils/request.js';
export const exchangeApi = {
getPending(identifier) {
return request({
url: '/api/c/v1/exchange/pending',
method: 'GET',
data: { identifier }
});
},
submitShippingInfo(id, recipient_name, recipient_phone, recipient_address) {
return request({
url: `/api/c/v1/exchange/${id}/shipping-info`,
method: 'POST',
data: { recipient_name, recipient_phone, recipient_address }
});
}
};