您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

UploadDataAccess.cs 481B

123456789101112131415161718192021
  1. using Luticate2.Utils.DataAccess;
  2. using Microsoft.Extensions.Options;
  3. using WebApiUtils.Dbo;
  4. namespace WebApiUtils.DataAccess
  5. {
  6. public class UploadDataAccess : LuFsFilesCrudDataAccess
  7. {
  8. private readonly AppConfigDbo _options;
  9. public UploadDataAccess(IOptions<AppConfigDbo> options)
  10. {
  11. _options = options.Value;
  12. }
  13. public override string GetBasePath()
  14. {
  15. return _options.UploadDir;
  16. }
  17. }
  18. }