/** * @description 判断标签依赖的行为是否存在 TRUE-存在;FALSE-不存在 */ import { getUrl } from 'src/utils/getUrl'; import Request from 'src/utils/requests'; import * as defs from '../../baseClass'; export class Params {} export const init = false; export async function request(params = {}, bodyParams = {}) { return Request({ url: '/api/oneid/factoryLabel/existDependenceBehaviors', params: bodyParams, method: 'post', }); } export function createFetchAction(types, stateKey) { return (params = {}, bodyParams, meta?: any) => { return { types, meta, stateKey, method: 'POST', url: getUrl( '/api/oneid/factoryLabel/existDependenceBehaviors', params, 'POST', ), params: bodyParams, init, }; }; }