Ray
Ray
复现失败,loggerA 仍然显示时间。
> > 复现失败,loggerA 仍然显示时间。 > > 您有用 `koishi.config.js` 作为入口文件吗 抱歉,没关注到这里,没有使用此作为入口,您可以提供下您的入口文件吗?
目前发现一个问题,启用 `checkArgCount` 之后,将无法使用 `command -h` 来获取帮助。 
重定向至获取指令帮助这里的代码应该没问题 https://github.com/koishijs/koishi/blob/f8680d9b6d4edfcb89dd81253a0da35f35c2db2e/packages/core/src/command/runtime.ts#L70-L74 [](https://koishi.js.org/api/core/events.html#%E4%BA%8B%E4%BB%B6-command-before-execute) https://github.com/koishijs/koishi/blob/f8680d9b6d4edfcb89dd81253a0da35f35c2db2e/packages/core/src/command/validate.ts#L47-L64 `checkArgCount` 的实现也是通过注册 `command/before-execute` 事件来实现的,但注册的好像更晚 https://github.com/koishijs/koishi/blob/f8680d9b6d4edfcb89dd81253a0da35f35c2db2e/packages/core/src/command/index.ts#L49-L53
after a0d32ee1ce17a7aaac44373de42979b130244ef9, with 68263b354866496547645c52aa88acc079a050b8, i can pass unit test at my local now. ``` 144 passing (2s) Done in 12.43s. ```
> For now your best bet is to use [raw](https://sharp.pixelplumbing.com/en/stable/api-output/#raw) pixel output then loop over and selectively replace values. thanks for providing an available idea here's a possible solution for...
不知道您期望的导入方式是什么? 选课系统没有提供导出数据的功能,如果要实现导入选课系统的数据,可能还是需要手动到控制台输入命令拿到数据后返回粘贴? 这样些许麻烦;或者说直接提供学号密码嚷程序代爬,但这样的安全性又不高,会有隐私问题存在..
什么是 **SHU课程资源共享计划** ?可以介绍一下吗 :)
看起来好像是现在不会把密码重置成 `123456` 了,看起来是 `Aa6666+用户名` ?
我已经升学了,所以没有班主任的管理员账号进行测试了,如果方便的话麻烦发下你们的后台地址,然后把你的管理员密码改一个临时的发给我,我登录你的账号测试一下,或者你可以先自己试试把默认密码那块代码改下 https://github.com/ENDsoft233/xueanquan/blob/651ddb1c7e0e57836824a9325d910de436f43485/index.js#L19 `index.js` 第十九行, `'123456'` 换成 `` `Aa6666${userAccount}` `` 如果有作用的话说明我的猜测是对的,麻烦随时分享你的测试结果 :)