Skip to content

Commit

Permalink
Merge branch 'XiaoMengXinX:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
javaht authored Nov 28, 2023
2 parents cbc7f01 + f0ca5da commit 911c40d
Show file tree
Hide file tree
Showing 7 changed files with 256 additions and 51 deletions.
23 changes: 21 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,20 @@
</a>
</p>

## 本项目不支持云函数

## 提问前请确保已阅读README文档

## [提问的智慧](https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md#%E5%9C%A8%E6%8F%90%E9%97%AE%E4%B9%8B%E5%89%8D)

## 二维码无法扫描的问题见 https://github.com/XiaoMengXinX/Fuck163MusicTasks/issues/17

## 提issue前请先看看别人的issue里有没有你的问题

## 重复提issue以及乱提issue的直接close

## TG交流群 [@Music163_gruop](https://t.me/Music163_group)

## ✨ 特性

- web/Android 双平台每日签到
Expand Down Expand Up @@ -83,7 +97,7 @@ $ ./Fuck163MusicTasks
{
"Cookies": [ // 至少填入一个用户的 MUSIC_U, 支持多用户及多 Cookie
{
"Name": "MUSIC_U",
"Name": "MUSIC_U", // 不要修改此字段
"Value": "USER_1_MUSIC_U"
}
]
Expand All @@ -97,6 +111,9 @@ $ ./Fuck163MusicTasks
]
}
],
"MusicShareConfig": { // 分享音乐配置
"MySongID": 114514 // 填入任意一首音乐人名下的歌曲ID
},
"EventSendConfig": { // 发送动态配置
"LagConfig": { // 延时配置,若要完全关闭延时,请将 RandomLag 设为 false,并将 DefaultLag 设为 0
"RandomLag": true, // 是否开启随机延时
Expand Down Expand Up @@ -163,7 +180,9 @@ $ ./Fuck163MusicTasks
"LagMin": 600,
"LagMax": 3600
}
}
},
"PushPlusToken": "", // PushPlus Token, 用于推送运行日志(随便填一个就好)
"ServerSendKey": "" // Server酱 SendKey
}
```

Expand Down
12 changes: 5 additions & 7 deletions build_release.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
#!/bin/bash

VERSION=$(git describe --tags)

mkdir out

bash build.sh linux amd64 -o "./out/Fuck163MusicTasks_${VERSION}_linux_amd64"
bash build.sh linux arm64 -o "./out/Fuck163MusicTasks_${VERSION}_linux_arm64"
bash build.sh windows amd64 -o "./out/Fuck163MusicTasks_${VERSION}_windows_amd64.exe"
bash build.sh darwin amd64 -o "./out/Fuck163MusicTasks_${VERSION}_darwin_amd64"
bash build.sh darwin arm64 -o "./out/Fuck163MusicTasks_${VERSION}_darwin_arm64"
bash build.sh linux amd64 -o "./out/Fuck163MusicTasks_linux_amd64"
bash build.sh linux arm64 -o "./out/Fuck163MusicTasks_linux_arm64"
bash build.sh windows amd64 -o "./out/Fuck163MusicTasks_windows_amd64.exe"
bash build.sh darwin amd64 -o "./out/Fuck163MusicTasks_darwin_amd64"
bash build.sh darwin arm64 -o "./out/Fuck163MusicTasks_darwin_arm64"
7 changes: 6 additions & 1 deletion config_example.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
]
}
],
"MusicShareConfig": {
"MySongID": 114514
},
"EventSendConfig": {
"LagConfig": {
"RandomLag": true,
Expand Down Expand Up @@ -83,5 +86,7 @@
"LagMin": 600,
"LagMax": 3600
}
}
},
"PushPlusToken": "",
"ServerSendKey": ""
}
14 changes: 14 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module github.com/XiaoMengXinX/Fuck163MusicTasks/v2

go 1.17

require (
github.com/XiaoMengXinX/Music163Api-Go v0.1.29
github.com/robfig/cron/v3 v3.0.1
github.com/sirupsen/logrus v1.8.1
)

require (
github.com/google/uuid v1.3.0 // indirect
golang.org/x/sys v0.0.0-20220310020820-b874c991c1a5 // indirect
)
7 changes: 4 additions & 3 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/XiaoMengXinX/Music163Api-Go v0.1.17 h1:iO4nZeYkyWHSvTH3PnQBNxGcOEZaK9EzK849HfH8y8A=
github.com/XiaoMengXinX/Music163Api-Go v0.1.17/go.mod h1:4lcWLPwXMsTiwcyM6JBEAHkU7NUvYJOMPtfiUj9X0Jw=
github.com/XiaoMengXinX/Music163Api-Go v0.1.29 h1:c7ekfgo4qgEJ3Wjm9rMhGm7ggN8XqbD1idQka4unJ+Q=
github.com/XiaoMengXinX/Music163Api-Go v0.1.29/go.mod h1:kLU/CkLxKnEJFCge0URvQ0lHt6ImoG1/2aVeNbgV2RQ=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I=
Expand All @@ -12,5 +12,6 @@ github.com/sirupsen/logrus v1.8.1 h1:dJKuHgqk1NNQlqoA6BTlM1Wf9DOH3NBjQyu0h9+AZZE
github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037 h1:YyJpGZS1sBuBCzLAR1VEpK193GlqGZbnPFnPV/5Rsb4=
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20220310020820-b874c991c1a5 h1:y/woIyUBFbpQGKS0u1aHF/40WUDnek3fPOyD08H5Vng=
golang.org/x/sys v0.0.0-20220310020820-b874c991c1a5/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
Loading

0 comments on commit 911c40d

Please sign in to comment.