fix(upload): 修正COS配置读取key为uploads
This commit is contained in:
parent
3f179e5682
commit
e80df8a724
|
|
@ -93,7 +93,7 @@ public class UploadConfigService : IUploadConfigService
|
|||
try
|
||||
{
|
||||
var configValue = await _adminConfigDbContext.AdminConfigs
|
||||
.Where(c => c.ConfigKey == "upload_setting")
|
||||
.Where(c => c.ConfigKey == "uploads")
|
||||
.Select(c => c.ConfigValue)
|
||||
.FirstOrDefaultAsync();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user