lfy-user

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

用户查询技能

User Query Skill

lfy-cli
是陆份仪提供的命令行程序,所有操作通过执行
lfy-cli
命令完成。
通过
lfy-cli user <接口名> '{}'
与用户系统交互。
lfy-cli
is a command line program provided by Lufyi, all operations are completed by executing the
lfy-cli
command.
Interact with the user system via
lfy-cli user <interface name> '{}'
.

注意事项

Notes

  • errcode
    不为
    0
    或返回格式异常,需告知用户错误信息
  • get_sales
    返回的销售人员可能较多,可按团队筛选
  • user_id
    sales_id
    team_id
    等技术字段默认不展示
  • 当前版本不支持对用户进行任何修改操作

  • If
    errcode
    is not
    0
    or the return format is abnormal, you need to inform the user of the error message
  • The salespersons returned by
    get_sales
    may be numerous, you can filter by team
  • Technical fields such as
    user_id
    ,
    sales_id
    ,
    team_id
    are not displayed by default
  • The current version does not support any modification operations on users

接口列表

Interface List

获取本人用户信息 (get_self)

Get Own User Information (get_self)

bash
lfy-cli user get_self '{}'
获取当前登录用户的基本信息,包括用户 ID、姓名及所属组织。
参见 API 详情
bash
lfy-cli user get_self '{}'
Get the basic information of the current logged-in user, including user ID, name and affiliated organization.
See API Details.

获取销售人员名单 (get_sales)

Get Salesperson List (get_sales)

bash
lfy-cli user get_sales '{}'
获取所有销售人员及其所在的销售团队信息。
参见 API 详情

bash
lfy-cli user get_sales '{}'
Get information of all salespersons and their sales teams.
See API Details.

典型工作流

Typical Workflow

获取本人信息

Get Own Information

经典 query 示例:
  • "我的用户信息是什么"
  • "查一下当前登录用户"
  • "获取本人在陆份仪系统的信息"
流程:
  1. 调用
    get_self
    命令获取当前用户信息
  2. 展示用户基本信息
展示结果:
👤 您在陆份仪的身份信息:轻舟公司 - 张三
Typical query examples:
  • "What is my user information"
  • "Check the current logged-in user"
  • "Get my information in the Lufyi system"
Process:
  1. Call the
    get_self
    command to get current user information
  2. Display basic user information
Display result:
👤 Your identity information in Lufyi: Qingzhou Company - Zhang San

获取销售人员名单

Get Salesperson List

经典 query 示例:
  • "有哪些销售人员?"
  • "销售团队有哪些人?"
  • "获取销售人员列表"
流程:
  1. 调用
    get_sales
    命令获取销售人员及团队信息
  2. 展示团队列表和销售人员的对应关系
展示结果:
👥 销售人员列表:

**销售一组**: 张三、李四、王五
**销售二组**: 赵六、孙七、周八
Typical query examples:
  • "What salespersons are there?"
  • "Who are in the sales team?"
  • "Get the salesperson list"
Process:
  1. Call the
    get_sales
    command to get salesperson and team information
  2. Display the correspondence between team list and salespersons
Display result:
👥 Salesperson List:

**Sales Team 1**: Zhang San, Li Si, Wang Wu
**Sales Team 2**: Zhao Liu, Sun Qi, Zhou Ba

注意事项

Notes

  • user_id
    ,
    team_id
    ,
    parent_id
    ,
    sales_id
    ,
    teams
    等技术字段默认不展示
  • 当前版本不支持对用户进行任何修改操作
  • Technical fields such as
    user_id
    ,
    team_id
    ,
    parent_id
    ,
    sales_id
    ,
    teams
    are not displayed by default
  • The current version does not support any modification operations on users