chore: adjust templata table name

This commit is contained in:
engigu
2025-12-06 12:37:36 +08:00
parent 148e67dc19
commit f4780c9c6c
6 changed files with 53 additions and 53 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ func DoSendMessageByTemplate(c *gin.Context) {
}
// 获取模板
template, err := models.GetMessageTemplateByID(templateID)
template, err := models.GetTemplateByID(templateID)
if err != nil {
appG.CResponse(http.StatusBadRequest, fmt.Sprintf("模板不存在:%s", err), nil)
return