wupengfei
14 小时以前 3a6f47aae0ca4566a7f39c98c30bcc5545dd1216
packages/services/apiV2/user.ts
@@ -97,3 +97,33 @@
    ...(options || {}),
  });
}
/** 同步企业用户 POST /api/user/user/syncEnterpriseUser */
export async function syncEnterpriseUser(
  body: API.SyncEnterpriseUserCommand,
  options?: API.RequestConfig
) {
  return request<string>('/api/user/user/syncEnterpriseUser', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json-patch+json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 同步运营用户 POST /api/user/user/syncOperationUser */
export async function syncOperationUser(
  body: API.SyncOperationUserCommand,
  options?: API.RequestConfig
) {
  return request<string>('/api/user/user/syncOperationUser', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json-patch+json',
    },
    data: body,
    ...(options || {}),
  });
}