16 lines
411 B
TypeScript
16 lines
411 B
TypeScript
import { http } from './http';
|
|
|
|
export const shopeeApi = {
|
|
getAdHosting(params: Record<string, unknown> = {}) {
|
|
return http.get('/api/shopee/ad-hosting', params);
|
|
},
|
|
getReviews(params: Record<string, unknown> = {}) {
|
|
return http.get('/api/shopee/reviews', params);
|
|
},
|
|
exportData(exportParams: Record<string, unknown> = {}) {
|
|
return http.post('/api/shopee/export', exportParams);
|
|
},
|
|
};
|
|
|
|
|