Skip to content

Commit

Permalink
优化bgm缓存
Browse files Browse the repository at this point in the history
  • Loading branch information
wushuo894 committed Oct 12, 2024
1 parent 343f9a3 commit c529495
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion UPDATE.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
添加通知渠道:server酱 @Jisxu
优化bgm缓存
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>ani.rss</groupId>
<artifactId>ani-rss</artifactId>
<version>1.1.119</version>
<version>1.1.120</version>

<properties>
<maven.compiler.source>11</maven.compiler.source>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/ani/rss/util/BgmUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ public static BigInfo getBgmInfo(String subjectId, Boolean isCache) {

try {
return HttpReq
.get("https://bgm-cache.wushuo.top/bgm/" + subjectId + ".json", true)
.get("https://bgm-cache.wushuo.top/bgm/" + subjectId.charAt(0) + "/" + subjectId + ".json", true)
.thenFunction(fun);
} catch (Exception e) {
HttpRequest httpRequest = HttpReq.get(host + "/v0/subjects/" + subjectId, true);
Expand Down

0 comments on commit c529495

Please sign in to comment.