mirror of
https://github.com/real-zony/ZonyLrcToolsX.git
synced 2025-07-05 06:50:41 +00:00
33 lines
897 B
C#
33 lines
897 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace ZonyLrcTools.Cli.Infrastructure.Lyric.QQMusic.JsonModel
|
|
{
|
|
public class GetLyricRequest
|
|
{
|
|
[JsonProperty("nobase64")] public int IsNoBase64Encoding { get; set; }
|
|
|
|
[JsonProperty("songmid")] public string SongId { get; set; }
|
|
|
|
[JsonProperty("platform")] public string ClientPlatform { get; set; }
|
|
|
|
[JsonProperty("inCharset")] public string InCharset { get; set; }
|
|
|
|
[JsonProperty("outCharset")] public string OutCharset { get; set; }
|
|
|
|
[JsonProperty("g_tk")] public int Gtk { get; set; }
|
|
|
|
protected GetLyricRequest()
|
|
{
|
|
}
|
|
|
|
public GetLyricRequest(string songId)
|
|
{
|
|
IsNoBase64Encoding = 1;
|
|
SongId = songId;
|
|
ClientPlatform = "yqq";
|
|
InCharset = "utf8";
|
|
OutCharset = "utf-8";
|
|
Gtk = 5381;
|
|
}
|
|
}
|
|
} |