-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 实现浏览会员购页面 * 实现浏览正片内容的功能 * 观看正片任务运行两次以获取全部大积分 * 更新文档 * 修复专栏投币中导致提前结束的逻辑错误 * 修改大积分中相关api调用的错误 * 修复错误 * 修复专栏投币出现权限不足的问题 * 恢复默认配置
- Loading branch information
1 parent
c06e5d2
commit 3387cc4
Showing
20 changed files
with
509 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
src/Ray.BiliBiliTool.Agent/BiliBiliAgent/Dtos/Video/GetBangumiBySsidResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
using static System.Collections.Specialized.BitVector32; | ||
using System.Collections.Generic; | ||
using System.Diagnostics; | ||
using System.Xml.Linq; | ||
|
||
namespace Ray.BiliBiliTool.Agent.BiliBiliAgent.Dtos.Video; | ||
|
||
public class GetBangumiBySsidResponse | ||
{ | ||
public int Code { get; set; } = int.MinValue; | ||
|
||
public string Message { get; set; } | ||
|
||
public Result Result { get; set; } | ||
} | ||
|
||
public class Result | ||
{ | ||
public List<Episode> episodes { get; set; } | ||
} | ||
|
||
|
||
public class Episode | ||
{ | ||
public int aid { get; set; } | ||
|
||
public string bvid { get; set; } | ||
|
||
public int cid { get; set; } | ||
|
||
public int duration { get; set; } | ||
|
||
public int ep_id { get; set; } | ||
|
||
public int id { get; set; } | ||
|
||
public string long_title { get; set; } | ||
|
||
public string share_copy { get; set; } | ||
|
||
public int status { get; set; } | ||
|
||
|
||
|
||
} |
7 changes: 7 additions & 0 deletions
7
src/Ray.BiliBiliTool.Agent/BiliBiliAgent/Dtos/ViewMall/ViewvipMallRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Ray.BiliBiliTool.Agent.BiliBiliAgent.Dtos.ViewMall; | ||
|
||
public class ViewVipMallRequest | ||
{ | ||
public string Csrf { get; set; } | ||
public string EventId { get; set; } = "hevent_oy4b7h3epeb"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
src/Ray.BiliBiliTool.Agent/BiliBiliAgent/Interfaces/IVipMallApi.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using Ray.BiliBiliTool.Agent.BiliBiliAgent.Dtos; | ||
using System.Threading.Tasks; | ||
using WebApiClientCore.Attributes; | ||
using Ray.BiliBiliTool.Agent.BiliBiliAgent.Dtos.ViewMall; | ||
|
||
namespace Ray.BiliBiliTool.Agent.BiliBiliAgent.Interfaces; | ||
|
||
[Header("Host", "show.bilibili.com")] | ||
public interface IVipMallApi | ||
{ | ||
[HttpPost("/api/activity/fire/common/event/dispatch")] | ||
Task<BiliApiResponse> ViewVipMall([JsonContent] ViewVipMallRequest request); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.