docs(): update readme

This commit is contained in:
Espoir
2021-08-26 23:12:11 +08:00
parent 73b8b9d098
commit df7163a78e
3 changed files with 22 additions and 20 deletions

View File

@@ -12,7 +12,7 @@ type Api struct {
}
func (s *Api) NotifyController(c *gin.Context) {
if err := service.ServiceGroupApp.Send(); err != nil {
if err := service.ServiceGroupApp.SendTextMessage("test"); err != nil {
global.GVA_LOG.Error("发送失败!", zap.Any("err", err))
response.FailWithMessage("发送失败", c)
} else {