小东

Results 8 comments of 小东

![CleanShot 2024-03-01 at 15 00 45@2x](https://github.com/cuixueshe/earthworm/assets/115518574/748092aa-b718-4fe2-9273-a29a8b35f251) ui 建议

如果用户的roles为空 就算协议文件定义了roles也能让用户请求成功 改成这样会不会好一点 ```typescript const userRoles = node.userRoles ?? []; if (type === "SOME") { const hasRole = roles.some((role) => userRoles.includes(role)); if (!hasRole) { await node.error( new TsrpcError({ message: "您没有权限操作。",...

还需要一个发放成就的页面 字段如下: - 口令 - 用户手机号 (需要查询出用户名展示) - 发放按钮

发放成就暂时使用手动方式,后续优化成自动