mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.git
synced 2025-11-19 21:02:53 +08:00
Stored Attendance
This commit is contained in:
@@ -3245,6 +3245,9 @@
|
||||
<data name="WebDailyNoteResinRecoveryFormat" xml:space="preserve">
|
||||
<value>将于 {0} {1:HH:mm} 后全部恢复</value>
|
||||
</data>
|
||||
<data name="WebDailyNoteStoredAttendanceRefreshCountdown" xml:space="preserve">
|
||||
<value>{0:c} 后重置</value>
|
||||
</data>
|
||||
<data name="WebDailyNoteTransformerAppend" xml:space="preserve">
|
||||
<value>后可再次使用</value>
|
||||
</data>
|
||||
|
||||
@@ -22,4 +22,20 @@ internal sealed class DailyTask
|
||||
|
||||
[JsonPropertyName("attendance_visible")]
|
||||
public bool AttendanceVisible { get; set; }
|
||||
}
|
||||
|
||||
[JsonPropertyName("stored_attendance")]
|
||||
public double StoredAttendance { get; set; }
|
||||
|
||||
[JsonPropertyName("stored_attendance_refresh_countdown")]
|
||||
public int StoredAttendanceRefreshCountdown { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public string StoredAttendanceRefreshCountdownFormat
|
||||
{
|
||||
get
|
||||
{
|
||||
TimeSpan timeSpan = TimeSpan.FromSeconds(StoredAttendanceRefreshCountdown);
|
||||
return SH.FormatWebDailyNoteStoredAttendanceRefreshCountdown(timeSpan);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -25,6 +25,11 @@ internal enum KnownReturnCode
|
||||
/// </summary>
|
||||
AlreadySignedIn = -5003,
|
||||
|
||||
/// <summary>
|
||||
/// 请求失败,当前设备或网络环境存在风险
|
||||
/// </summary>
|
||||
CODEN3503 = -3503,
|
||||
|
||||
/// <summary>
|
||||
/// 需要风险验证(闪验)
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user