mirror of
https://github.com/fumiama/NanoBot.git
synced 2026-06-07 03:30:24 +08:00
finish base
This commit is contained in:
14
define.go
Normal file
14
define.go
Normal 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"`
|
||||
}
|
||||
Reference in New Issue
Block a user