init push

This commit is contained in:
2026-05-21 19:52:45 +08:00
commit e3f75311ab
1280 changed files with 179173 additions and 0 deletions

24
backend/domain/wechat.go Normal file
View File

@@ -0,0 +1,24 @@
package domain
import (
"bytes"
"sync"
)
// ConversationState
type ConversationState struct {
Mutex sync.Mutex
Question string
Buffer bytes.Buffer
IsVisited bool
IsDone bool
NotificationChan chan string
}
// ConversationManager
var ConversationManager = sync.Map{}
type WechatStatic struct {
BaseUrl string `json:"base_url"`
ImagePath string `json:"image_path"`
}