- more dingding callback func

This commit is contained in:
gazebo
2019-03-09 11:04:20 +08:00
parent 803240fc9f
commit 1e499fc9f5
3 changed files with 68 additions and 6 deletions

View File

@@ -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 {