fix(baidu_photo): change folder name length limit (close #4351 in #4353)

Co-authored-by: Andy Hsu <i@nn.ci>
This commit is contained in:
安稳
2023-05-09 20:44:57 +08:00
committed by GitHub
parent 555cc26cbf
commit d41d868a8d
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ func getTid() string {
// 检查名称
func checkName(name string) bool {
return len(name) <= 20 && regexp.MustCompile("[\u4e00-\u9fa5A-Za-z0-9_-]").MatchString(name)
return len(name) <= 50 && regexp.MustCompile("[\u4e00-\u9fa5A-Za-z0-9_-]").MatchString(name)
}
func toTime(t int64) *time.Time {