feat: adjust async code

This commit is contained in:
engigu
2024-01-14 15:14:51 +08:00
parent 73db03ef7c
commit 8a88a3ed3e
5 changed files with 25 additions and 60 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ func DoSendMassage(c *gin.Context) {
appG.CResponse(http.StatusOK, "发送成功!", nil)
} else {
// 异步发送
send_message_service.Buffer <- msgService
msgService.AsyncSend()
appG.CResponse(http.StatusOK, "提交成功!", nil)
}
}