1
0
mirror of https://github.com/fumiama/NanoBot.git synced 2026-06-07 03:30:24 +08:00

finish base

This commit is contained in:
源文雨
2023-10-10 14:10:13 +09:00
parent 6c87546b44
commit 3dbb8d7b34
13 changed files with 427 additions and 0 deletions

14
define.go Normal file
View File

@@ -0,0 +1,14 @@
package nano
var (
// StandardAPI 正式环境接口域名
StandardAPI = `https://api.sgroup.qq.com`
// SandboxAPI 沙箱环境接口域名
SandboxAPI = `https://sandbox.api.sgroup.qq.com`
)
// CodeMessageBase 各种消息都有的 code + message 基类
type CodeMessageBase struct {
C int `json:"code"`
M string `json:"message"`
}