Files
number_zj/20220330_Vote/Vote.Services/Dto/ObsInput.cs
2023-01-19 15:49:02 +08:00

50 lines
1.2 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Vote.Services.Dto
{
public class ObsInput
{
}
/// <summary>
///
/// </summary>
public class GetObjectInput
{
/// <summary>
/// 大小写敏感!
/// </summary>
public string objectName { get; set; }
}
/// <summary>
///
/// </summary>
public class PutObjectInput
{
/// <summary>
/// 本地文件全路径
/// </summary>
public string path { get; set; }
/// <summary>
/// 希望上传到的目录和文件名 , 如果为空则上传到根目录 ,大小写敏感! ,斜杠必须使用/ , eg: files/COC/202011/11/2020KDFJ0075.pdf
/// </summary>
public string objectName { get; set; }
}
public class ObsApiOutput
{
public ObsApiOutput(bool _bizIsSuccess, string _message, object _data = null)
{
this.bizIsSuccess = _bizIsSuccess;
this.message = _message;
this.data = _data;
}
public bool bizIsSuccess { get; set; }
public string message { get; set; }
public object data { get; set; }
}
}