message_api_controllor.go 273B

12345678910111213141516
  1. package controllers
  2. import (
  3. "sws_xcx/utils"
  4. )
  5. type MessageApiControllor struct {
  6. BaseApiController
  7. }
  8. func (c *MessageApiControllor) PutEmqxMessage() {
  9. utils.InfoLog("Revice EMQX message: %s", c.Ctx.Input.RequestBody)
  10. c.ServeSuccessJSON(map[string]interface{}{})
  11. }