This commit is contained in:
Liang Ding 2022-07-02 22:46:28 +08:00
parent 177b42c1ef
commit e4b712547f
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
9 changed files with 22 additions and 14 deletions

View file

@ -106,7 +106,7 @@ func getCloudSpace(c *gin.Context) {
ret := gulu.Ret.NewResult()
defer c.JSON(http.StatusOK, ret)
sync, backup, size, assetSize, totalSize, err := model.GetCloudSpace()
sync, backup, size, assetSize, repoSize, totalSize, err := model.GetCloudSpace()
if nil != err {
ret.Code = 1
ret.Msg = err.Error()
@ -121,6 +121,7 @@ func getCloudSpace(c *gin.Context) {
"sync": sync,
"backup": backup,
"hAssetSize": assetSize,
"hRepoSize": repoSize,
"hSize": size,
"hTotalSize": totalSize,
"hTrafficUploadSize": hTrafficUploadSize,