fix: ways edit bugs

This commit is contained in:
engigu
2024-01-21 12:35:33 +08:00
parent 07f0f41c12
commit 01c63e043d
3 changed files with 24 additions and 5 deletions
+1 -1
View File
@@ -174,7 +174,7 @@ func EditSendWay(c *gin.Context) {
err := sendWayService.Edit()
if err != nil {
appG.CResponse(http.StatusInternalServerError, "编辑渠道信息失败", nil)
appG.CResponse(http.StatusInternalServerError, fmt.Sprintf("编辑渠道信息失败!原因:%s", err), nil)
return
}