Merge branch 'test'

This commit is contained in:
liyp 2024-04-20 13:41:09 +08:00
commit a35ab38d1a

View file

@ -24,7 +24,8 @@ func Router(data map[string]interface{}) {
//包含发送消息的'!'
raw_msg := data["raw_message"].(string)
if raw_msg[0] == '!' {
// fmt.Println("raw_msg:", string(raw_msg[0]))
if len(raw_msg) > 1 && raw_msg[0] == '!' {
// 去除'!'
raw_msg = raw_msg[1:]
parms := strings.Fields(raw_msg)