diff --git a/controllers/callback_controller.go b/controllers/callback_controller.go index 6edb0d5..ad2a5e0 100644 --- a/controllers/callback_controller.go +++ b/controllers/callback_controller.go @@ -8,7 +8,9 @@ import ( type CallbackController struct { } -func (t *CallbackController) TlPayCallback(c *gin.Context) { - services.SimFlowDaySettle() - c.JSON(200, &CallBack{}) +func (t *CallbackController) Msg(c *gin.Context) { + err := services.SimFlowDaySettle() + c.JSON(200, &CallBack{ + Desc: err.Error(), + }) }