(ctx echo.Context)
| 21 | } |
| 22 | |
| 23 | func PostSystemStatusNotify(ctx echo.Context) error { |
| 24 | message := make(map[string]interface{}) |
| 25 | if err := ctx.Bind(&message); err != nil { |
| 26 | return ctx.JSON(http.StatusBadRequest, model.Result{Success: common_err.INVALID_PARAMS, Message: err.Error()}) |
| 27 | } |
| 28 | |
| 29 | service.MyService.Notify().SettingSystemTempData(message) |
| 30 | return ctx.JSON(common_err.SUCCESS, model.Result{Success: common_err.SUCCESS, Message: common_err.GetMsg(common_err.SUCCESS)}) |
| 31 | } |
nothing calls this directly
no test coverage detected