(c *gin.Context)
| 134 | } |
| 135 | |
| 136 | func DeleteSetting(c *gin.Context) { |
| 137 | key := c.Query("key") |
| 138 | if err := op.DeleteSettingItemByKey(key); err != nil { |
| 139 | common.ErrorResp(c, err, 500) |
| 140 | return |
| 141 | } |
| 142 | common.SuccessResp(c) |
| 143 | } |
| 144 | |
| 145 | func PublicSettings(c *gin.Context) { |
| 146 | common.SuccessResp(c, op.GetPublicSettingsMap()) |
nothing calls this directly
no test coverage detected