ow
This commit is contained in:
1 parent
9b01c4a57a
commit
6417562c4f
37 files changed
+2767
-202
No files matched your search
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
|
||||
namespace CloudBuilder.Master.Policy
|
||||
{
|
||||
/// <summary>
|
||||
/// 分片上传落盘目录名统一管理。物理文件落在 {UploadFileDirectory}/{folderName}/{扩展名}/,
|
||||
/// 末片合并后拷贝到 {BackupFileDirectory}/{folderName}/{扩展名}/;后端拼头像访问地址
|
||||
/// (FileTypePolicy.PackAvatarUrl)用的目录名必须与前端 multipart 的 FilePath 头完全一致,
|
||||
/// 故把这些散落在各服务的字符串收敛到此处,作为前后端共同对齐的单一真源。
|
||||
/// </summary>
|
||||
public static class UploadFolderPolicy
|
||||
{
|
||||
/// <summary>族谱成员头像目录(family_person.avatar_filename 对应)</summary>
|
||||
public const string FAMILY_PERSON_AVATAR = "FamilyPersonAvatar";
|
||||
|
||||
/// <summary>登录用户(我的)头像目录(security_user.user_icon_img_path 对应)</summary>
|
||||
public const string USER_AVATAR = "UserAvatar";
|
||||
|
||||
/// <summary>身份证照片目录(与前端身份证上传 FilePath 头一致,小写历史沿用)</summary>
|
||||
public const string ID_CARD = "idcard";
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user