导出问题,增加了打印4

This commit is contained in:
2024-12-06 10:49:08 +08:00
parent 34600c4307
commit 355706b83d
2 changed files with 4 additions and 10 deletions
+4
View File
@@ -1,6 +1,7 @@
package controller
import (
"encoding/json"
"github.com/gin-gonic/gin"
"hospital-admin-api/api/dao"
"hospital-admin-api/api/model"
@@ -474,6 +475,9 @@ func (r *Export) OrderProduct(c *gin.Context) {
return
}
jsonStr, err := json.Marshal(orderProducts)
utils.LogJsonInfo("打印", string(jsonStr))
// 业务处理
exportService := service.ExportService{}
ossAddress, err := exportService.OrderProduct(orderProducts)