|
@@ -29,6 +29,7 @@ func SendNtfToMQ(c *gin.Context) {
|
|
|
|
|
|
|
|
if err := mq.SendNtfMQ(c, &req); err != nil {
|
|
if err := mq.SendNtfMQ(c, &req); err != nil {
|
|
|
response.FailWithMessage(err.Error(), c)
|
|
response.FailWithMessage(err.Error(), c)
|
|
|
|
|
+ return
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
response.OkWithMessage("发送成功", c)
|
|
response.OkWithMessage("发送成功", c)
|