- more dingding callback func
This commit is contained in:
@@ -24,7 +24,10 @@ const (
|
||||
)
|
||||
|
||||
const (
|
||||
ResponseCodeSuccess = 0
|
||||
ResponseCodeSuccess = 0
|
||||
ResponseCodeCallbackAlreadyExist = 71006
|
||||
ResponseCodeCallbackNotExist = 71007
|
||||
ResponseCodeCallbackURLNotExist = 71012
|
||||
)
|
||||
|
||||
type API struct {
|
||||
@@ -36,7 +39,7 @@ type API struct {
|
||||
locker sync.RWMutex
|
||||
|
||||
callbackToken string
|
||||
callbackAesKey []byte
|
||||
callbackAESKey []byte
|
||||
}
|
||||
|
||||
func New(appID, secret string, config ...*platformapi.APIConfig) *API {
|
||||
|
||||
Reference in New Issue
Block a user