fix: 修复提单和结单处理中的空格问题,确保正确注册处理程序

This commit is contained in:
lixiangwuxian 2025-06-11 19:17:29 +08:00
parent 662add9c3e
commit a7fa591943

View File

@ -11,9 +11,9 @@ import (
func init() {
// Register the handler with the server
handler.RegisterHandler("提单", newTicket, constants.LEVEL_USER)
handler.RegisterHandler("提单 ", newTicket, constants.LEVEL_USER)
handler.RegisterHelpInform("提单 [内容]", "ticket", "提单")
handler.RegisterHandler("结单", doneTicket, constants.LEVEL_ROOT)
handler.RegisterHandler("结单 ", doneTicket, constants.LEVEL_ROOT)
handler.RegisterHelpInform("结单 [id]", "ticket", "结单")
}