更新uniapp和platform
This commit is contained in:
1 parent
31ae07175d
commit
7f9a66da0f
47 files changed
+5207
-1974
No files matched your search
@@ -272,6 +272,15 @@ func (c *AppOaController) uploadTenantImage() {
|
||||
return
|
||||
}
|
||||
|
||||
// 附件空间校验:OA 附件同样占用租户额度
|
||||
if qerr := services.EnsureTenantStorageQuota(tid, uint64(staged.Size)); qerr != nil {
|
||||
if respondStorageQuotaError(&c.Controller, qerr) {
|
||||
return
|
||||
}
|
||||
c.oaErr(500, 500, "附件空间校验失败")
|
||||
return
|
||||
}
|
||||
|
||||
result, err := storage.Commit(staged, ctx)
|
||||
if err != nil {
|
||||
c.oaErr(500, 500, "上传失败,请重试")
|
||||
|
||||
Reference in new issue
Block a user