For AI agents: the complete documentation index is available at /en/llms.txt, the full documentation bundle is available at /en/llms-full.txt, and this page is available as Markdown at /en/reference/sdk/sapi/service/functions/getServiceClient.md.
  • English
  • Function: getServiceClient()

    function getServiceClient(moduleId: string): ServiceClient;

    Defined in: sapi/service/client.ts:231

    按 moduleId 取出已登记的作用域 service 客户端。

    Parameters

    ParameterType
    moduleIdstring

    Returns

    ServiceClient