1234567891011121314151617181920212223242526272829 |
- import { request } from '/@/utils/service';
- const apiPrefix = '/api/choice/listings/';
- export function getTableData(query: any) {
- return request({
- url: apiPrefix,
- method: 'GET',
- params: query
- });
- }
- export function getShopOptions() {
- return request({
- url: '/api/choice/marketplace_shops/',
- method: 'GET',
- });
- }
- // 导出
- export function exportData(query: any) {
- return request({
- url: apiPrefix + 'export_data/',
- method: 'GET',
- params: query,
- responseType: 'blob'
- });
- }
|