chore: ethend QQ→OBv11 + config.js环境变量同步 + curQQ变量重命名

- ethend: QQ_BOT_PORT→OBV11_BOT_PORT, QQ_ADMIN_UID→OBV11_ADMIN_UID
- ethend UI: QQ→OBv11 标签, 企鹅图标→🔷, 对话框文案
- platform-bridge: curQQ→curAdapter 变量名

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-06-22 21:32:10 +08:00
parent 992d9a3515
commit 42793f9bba
3 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -438,16 +438,16 @@ func startOBv11Readers(router *bridge.PlatformRouter) {
if err != nil {
continue
}
curQQ, ok := cur.(*qqadapter.Adapter)
curAdapter, ok := cur.(*qqadapter.Adapter)
if !ok {
continue
}
var sendErr error
switch messageType {
case "private":
sendErr = curQQ.SendMessage("private", userID, 0, rm.Content)
sendErr = curAdapter.SendMessage("private", userID, 0, rm.Content)
case "group":
sendErr = curQQ.SendMessage("group", 0, groupID, rm.Content)
sendErr = curAdapter.SendMessage("group", 0, groupID, rm.Content)
}
if sendErr != nil {
fmt.Printf("[qq:%s] send msg error: %v\n", adapterKey, sendErr)