复制项目

This commit is contained in:
kim.dev.6789
2026-01-14 22:35:45 +08:00
parent 305d526110
commit b7f8db7d08
297 changed files with 81784 additions and 0 deletions

11
pkg/botstruct/check.go Normal file
View File

@@ -0,0 +1,11 @@
package botstruct
import (
"strings"
"git.imall.cloud/openim/chat/pkg/common/constant"
)
func IsAgentUserID(userID string) bool {
return strings.HasPrefix(userID, constant.AgentUserIDPrefix)
}