优化后端可以编辑皮肤等等

This commit is contained in:
yml
2026-05-22 23:34:18 +08:00
parent 52ac6b7827
commit b68411166d
11 changed files with 1286 additions and 694 deletions
@@ -27,6 +27,15 @@ func (h *Handler) List(c *gin.Context) {
response.OK(c, gin.H{"items": items})
}
func (h *Handler) PublishOptions(c *gin.Context) {
options, err := h.service.PublishOptions()
if err != nil {
writeConfigError(c, err)
return
}
response.OK(c, options)
}
func (h *Handler) Update(c *gin.Context) {
adminID, ok := currentAdminID(c)
if !ok {