feat: save generated images to local server storage
Docker Build / Build and Push Docker Image (push) Successful in 3m57s

This commit is contained in:
2026-06-22 02:15:38 +08:00
parent d60df24ee6
commit ced375076c
5 changed files with 296 additions and 16 deletions
+5 -2
View File
@@ -1,9 +1,12 @@
package controller
import (
"github.com/QuantumNous/new-api/service"
"github.com/gin-gonic/gin"
)
func GetImage(c *gin.Context) {
// ServeImage 提供本地存储的图片文件服务
func ServeImage(c *gin.Context) {
service.ServeImage(c)
}