lfy-user
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese用户查询技能
User Query Skill
是陆份仪提供的命令行程序,所有操作通过执行lfy-cli命令完成。lfy-cli
通过 与用户系统交互。
lfy-cli user <接口名> '{}'is a command line program provided by Lufyi, all operations are completed by executing thelfy-clicommand.lfy-cli
Interact with the user system via .
lfy-cli user <interface name> '{}'注意事项
Notes
- 若 不为
errcode或返回格式异常,需告知用户错误信息0 - 返回的销售人员可能较多,可按团队筛选
get_sales - 、
user_id、sales_id等技术字段默认不展示team_id - 当前版本不支持对用户进行任何修改操作
- If is not
errcodeor the return format is abnormal, you need to inform the user of the error message0 - The salespersons returned by may be numerous, you can filter by team
get_sales - Technical fields such as ,
user_id,sales_idare not displayed by defaultteam_id - 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 示例:
- "我的用户信息是什么"
- "查一下当前登录用户"
- "获取本人在陆份仪系统的信息"
流程:
- 调用 命令获取当前用户信息
get_self - 展示用户基本信息
展示结果:
👤 您在陆份仪的身份信息:轻舟公司 - 张三Typical query examples:
- "What is my user information"
- "Check the current logged-in user"
- "Get my information in the Lufyi system"
Process:
- Call the command to get current user information
get_self - Display basic user information
Display result:
👤 Your identity information in Lufyi: Qingzhou Company - Zhang San获取销售人员名单
Get Salesperson List
经典 query 示例:
- "有哪些销售人员?"
- "销售团队有哪些人?"
- "获取销售人员列表"
流程:
- 调用 命令获取销售人员及团队信息
get_sales - 展示团队列表和销售人员的对应关系
展示结果:
👥 销售人员列表:
**销售一组**: 张三、李四、王五
**销售二组**: 赵六、孙七、周八Typical query examples:
- "What salespersons are there?"
- "Who are in the sales team?"
- "Get the salesperson list"
Process:
- Call the command to get salesperson and team information
get_sales - 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_idare not displayed by defaultteams - The current version does not support any modification operations on users