fix: 修复提单和结单处理中的空格问题,确保正确注册处理程序
This commit is contained in:
parent
662add9c3e
commit
a7fa591943
@ -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", "结单")
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user