/** * @description 获取同一张来源表的手工标签(表名/三个字段) */ import { getUrl } from 'src/utils/getUrl'; import Request from 'src/utils/requests'; import * as defs from '../../baseClass'; export class Params {} export const init = []; export async function request(params = {}, bodyParams = {}) { return Request({ url: '/api/oneid/manuallabel/bySourceTable', params: bodyParams, method: 'post', }); } export function createFetchAction(types, stateKey) { return (params = {}, bodyParams, meta?: any) => { return { types, meta, stateKey, method: 'POST', url: getUrl('/api/oneid/manuallabel/bySourceTable', params, 'POST'), params: bodyParams, init, }; }; }