aa
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package controllers
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
@@ -24,8 +23,6 @@ func (c *DingDingController) Msg() {
|
||||
if c.Ctx.Input.Method() == http.MethodPost {
|
||||
dataMap := utils.URLValues2Map(c.Ctx.Request.Form)
|
||||
obj, callbackResponse := api.DingDingAPI.GetCallbackMsg(dataMap, c.Ctx.Input.RequestBody)
|
||||
fmt.Println("callbackResponse", utils.Format4Output(callbackResponse, true))
|
||||
fmt.Println("callbackResponse", api.DingDingAPI.GetCallbackAESKey(), api.DingDingAPI.GetCallbackToken())
|
||||
if callbackResponse == nil {
|
||||
globals.SugarLogger.Debugf("dingding msg, obj:%s", utils.Format4Output(obj, false))
|
||||
callbackResponse = cms.OnDingDingMsg(dataMap)
|
||||
|
||||
Reference in New Issue
Block a user