favorite & view page & etc.

This commit is contained in:
2021-08-12 16:27:42 +08:00
parent 3152f47db5
commit fa0b033f2a
33 changed files with 728 additions and 94 deletions

View File

@ -80,6 +80,8 @@ namespace Gallery.Util.Model
[JsonProperty]
public string Source { get; set; }
[JsonProperty]
public string SourceUrl { get; set; }
[JsonProperty]
public string PreviewUrl { get; set; }
[JsonProperty]
public string RawUrl { get; set; }
@ -124,7 +126,7 @@ namespace Gallery.Util.Model
public override string ToString()
{
var source = string.IsNullOrEmpty(Source) ? RawUrl : Source;
var source = string.IsNullOrEmpty(SourceUrl) ? RawUrl : SourceUrl;
return $"{Id}, {source}";
}
}