mirror of
https://github.com/fumiama/NanoBot.git
synced 2026-06-08 20:20:23 +08:00
fix http
This commit is contained in:
@@ -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"`
|
||||
|
||||
Reference in New Issue
Block a user