mirror of
				https://github.com/cloudreve/cloudreve.git
				synced 2025-11-01 00:57:15 +08:00 
			
		
		
		
	feat: update user storage in calibrating no matter if the actual storage match presisted
This commit is contained in:
		| @ -27,7 +27,7 @@ func (script UserStorageCalibration) Run(ctx context.Context) { | ||||
| 		if user.Storage != total.Total { | ||||
| 			util.Log().Info("将用户 [%s] 的容量由 %d 校准为 %d", user.Email, | ||||
| 				user.Storage, total.Total) | ||||
| 		} | ||||
| 		model.DB.Model(&user).Update("storage", total.Total) | ||||
| 	} | ||||
| 	} | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 HFO4
					HFO4