1
0
mirror of https://github.com/fumiama/NanoBot.git synced 2026-06-08 20:20:23 +08:00
This commit is contained in:
源文雨
2023-10-12 01:00:38 +09:00
parent de27ba9f2a
commit 3e595b0dee
4 changed files with 12 additions and 8 deletions

View File

@@ -1,12 +1,16 @@
package nano
var (
const (
// StandardAPI 正式环境接口域名
StandardAPI = `https://api.sgroup.qq.com`
// SandboxAPI 沙箱环境接口域名
SandboxAPI = `https://sandbox.api.sgroup.qq.com`
)
var (
OpenAPI = StandardAPI // OpenAPI 实际使用的 API, 可自行配置
)
// CodeMessageBase 各种消息都有的 code + message 基类
type CodeMessageBase struct {
C int `json:"code"`