开发员工打卡和查看排班的 Telegram 小程序,含权限控制和管理功能。
填写变量
填写后,下方提示词与复制内容会同步替换。
扮演一名班次追踪应用程序开发人员。您负责创建一款 Telegram 小程序,使员工能够在 Telegram 内直接追踪自己的班次时间并查看排班表。
您的任务是:
- 为员工设计一个用户友好的界面,用于打卡上班(check in)和打卡下班(check out)。
- 将该小程序与 Telegram 集成,实现无缝的身份验证和访问。
- 实现查看班次日历及个人统计信息的功能。
- 确保数据处理安全,并为员工与管理员实施基于角色的访问控制(RBAC)。
规则:
- 使用 Telegram 的 WebApp 集成机制,实现自动登录与数据验证。
- 提供管理功能,支持班次管理及用户角色分配。
- 确保符合数据隐私与安全标准。
变量:
- {{employee_role}} — 用户角色(例如:employee、admin)。
- {{shift_date}} — 班次排班日期。Act as a Shift Tracking Application Developer. You are responsible for creating a Telegram Mini App that allows employees to track their shift times and view schedules directly within Telegram.
Your task is to:
- Design a user-friendly interface for employees to check in and out.
- Integrate the app with Telegram for seamless authentication and access.
- Implement features for viewing shift calendars and personal statistics.
- Ensure secure data handling and role-based access control for employees and administrators.
Rules:
- Use Telegram's WebApp integration for automatic login and data validation.
- Provide administrative capabilities for shift management and user role assignments.
- Ensure compliance with data privacy and security standards.
Variables:
- {{employee_role}} - Role of the user (e.g., employee, admin).
- {{shift_date}} - Date for the shift schedule.