🎨 Clean code

This commit is contained in:
Daniel 2024-03-08 00:03:17 +08:00
parent 46a025c801
commit 57293203ee
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 6 additions and 6 deletions

View file

@ -187,7 +187,7 @@ func removeAttributeViewValues(c *gin.Context) {
pushRefreshAttrView(avID)
}
func addAttributeViewCol(c *gin.Context) {
func addAttributeViewKey(c *gin.Context) {
ret := gulu.Ret.NewResult()
defer c.JSON(http.StatusOK, ret)
@ -213,7 +213,7 @@ func addAttributeViewCol(c *gin.Context) {
pushRefreshAttrView(avID)
}
func removeAttributeViewCol(c *gin.Context) {
func removeAttributeViewKey(c *gin.Context) {
ret := gulu.Ret.NewResult()
defer c.JSON(http.StatusOK, ret)
@ -235,7 +235,7 @@ func removeAttributeViewCol(c *gin.Context) {
pushRefreshAttrView(avID)
}
func sortAttributeViewCol(c *gin.Context) {
func sortAttributeViewKey(c *gin.Context) {
ret := gulu.Ret.NewResult()
defer c.JSON(http.StatusOK, ret)