lfy-ops
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese运营数据查询技能
Operational Data Query Skill
是陆份仪提供的命令行程序,所有操作通过执行lfy-cli命令完成。lfy-cli
通过 与运营系统交互。
lfy-cli ops <接口名> '{}'is a command-line program provided by Lufy, all operations are completed by executinglfy-clicommands.lfy-cli
Interact with the operation system via .
lfy-cli ops <interface name> '{}'注意事项
Notes
- 若 不为
errcode或返回格式异常,需告知用户错误信息0 - 财年信息由企业设定,日期按北京时间返回
- 等技术字段默认不展示
week_no
- If is not
errcodeor the return format is abnormal, you need to inform the user of the error information0 - Fiscal year information is set by the enterprise, and dates are returned in Beijing time
- Technical fields such as are not displayed by default
week_no
接口列表
Interface List
获取当前财年信息 (get_fiscal_year)
Get Current Fiscal Year Information (get_fiscal_year)
bash
lfy-cli ops get_fiscal_year '{}'获取企业当前财年的时间范围,根据企业设定的财年开始日期计算。
参见 API 详情。
bash
lfy-cli ops get_fiscal_year '{}'Get the time range of the enterprise's current fiscal year, calculated based on the fiscal year start date set by the enterprise.
See API Details.
获取当前周数 (get_current_week)
Get Current Week Number (get_current_week)
bash
lfy-cli ops get_current_week '{}'获取当前属于第几周,按财年起始日期开始计算。
参见 API 详情。
bash
lfy-cli ops get_current_week '{}'Get the current week number of the fiscal year, calculated from the start date of the fiscal year.
See API Details.
典型工作流
Typical Workflow
获取财年信息
Get Fiscal Year Information
经典 query 示例:
- "当前是第几个财年?"
- "财年什么时候开始?"
- "查一下今年的财年范围"
流程:
- 调用 命令获取财年信息
get_fiscal_year - 展示财年开始和结束日期
展示结果:
📅 当前财年信息:
| 财年 | 开始日期 | 结束日期 |
|---|---|---|
| <current_fiscal_year>年 | <start_date> | <end_date> |
Classic query examples:
- "Which fiscal year are we in currently?"
- "When does the fiscal year start?"
- "Check the fiscal year range of this year"
Process:
- Call the command to obtain fiscal year information
get_fiscal_year - Display the start and end dates of the fiscal year
Display Result:
📅 Current fiscal year information:
| Fiscal Year | Start Date | End Date |
|---|---|---|
| <current_fiscal_year> Year | <start_date> | <end_date> |
获取当前周数
Get Current Week Number
经典 query 示例:
- "现在是第几周?"
- "本周是几号到几号?"
- "当前周信息"
流程:
- 调用 命令获取当前周信息
get_current_week - 展示当前周数及日期范围
展示结果:
📆 当前周信息:
| 周名称 | 开始日期 | 结束日期 |
|---|---|---|
| <week_name> | <start_date> | <end_date> |
Classic query examples:
- "What week is it now?"
- "What is the date range of this week?"
- "Current week information"
Process:
- Call the command to obtain current week information
get_current_week - Display the current week number and date range
Display Result:
📆 Current week information:
| Week Name | Start Date | End Date |
|---|---|---|
| <week_name> | <start_date> | <end_date> |