feat: save generated images to local server storage
Docker Build / Build and Push Docker Image (push) Successful in 3m57s
Docker Build / Build and Push Docker Image (push) Successful in 3m57s
This commit is contained in:
+5
-2
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user