This commit is contained in:
suyl
2021-08-17 11:25:20 +08:00
parent ea3098ec66
commit fe15525b8e

View File

@@ -1,6 +1,7 @@
package controllers
import (
"fmt"
"net/http"
"git.rosy.net.cn/baseapi/utils"
@@ -30,6 +31,7 @@ func (c *DingDingController) Msg() {
callbackResponse = api.DingDingAPI.Err2CallbackResponse(nil)
}
}
fmt.Println("callbackResponse", utils.Format4Output(callbackResponse, true))
c.Data["json"] = callbackResponse
c.ServeJSON()
} else {