zhengyiming
2 天以前 6c73b1255b612071d017ab4ebdad86a9ef9f880a
packages/services/apiV2/enterprise.ts
@@ -17,6 +17,21 @@
  });
}
/** 禁用企业 POST /api/user/enterprise/disabledEnterprise */
export async function disabledEnterprise(
  body: API.DisabledEnterpriseCommand,
  options?: API.RequestConfig
) {
  return request<number>('/api/user/enterprise/disabledEnterprise', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json-patch+json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 查询企业详情 GET /api/user/enterprise/getEnterprise */
export async function getEnterprise(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)