This commit is contained in:
邹宗楠
2025-05-15 14:33:40 +08:00
parent 66306fbc0d
commit 8362f2ad85
2 changed files with 37 additions and 13 deletions

View File

@@ -58,6 +58,10 @@ func SendFilesToStores(ctx *jxcontext.Context, files []*multipart.FileHeader, ti
fileHeader := fileInfo.FileHeader
db := dao.GetDB()
storeID, _ := dao.GetRealLinkStoreID(db, fileInfo.StoreID)
storeDetail, _ := dao.GetStoreDetail(db, storeID, 0, "")
if storeDetail != nil && storeDetail.PushBill == 1 {
return retVal, err
}
file, err := fileHeader.Open()
if err == nil {
ret := storage.PutRet{}