This commit is contained in:
suyl
2021-07-21 09:59:08 +08:00
parent 5d5a134c55
commit 142bd502b2

View File

@@ -9,8 +9,9 @@ type CallbackController struct {
}
func (t *CallbackController) Msg(c *gin.Context) {
err := services.SimFlowDaySettle()
c.JSON(200, &CallBack{
Desc: err.Error(),
})
if err := services.SimFlowDaySettle(); err != nil {
c.JSON(200, &CallBack{
Desc: err.Error(),
})
}
}