chore: 删除过时的issue模板和更新bug报告及功能请求模板

This commit is contained in:
MoeFurina
2025-11-09 10:51:14 +08:00
parent 9019a2a4a5
commit 4e00b94ee6
10 changed files with 220 additions and 94 deletions
+5 -4
View File
@@ -4,13 +4,14 @@ const host = global.host || 'http://localhost:3000'
describe('测试获取歌曲是否正常', () => {
it('歌曲的 url 不应该为空', (done) => {
const qs = {
id: 2756058128,
br: 999000,
realIP: global.cnIp,
id: 2709812973,
level: 'exhigh',
realip: '125.88.253.199',
// realIP: global.cnIp,
}
axios
.get(`${host}/song/url`, {
.get(`${host}/song/url/v1`, {
params: qs,
})
.then(({ status, data }) => {
+3 -3
View File
@@ -4,17 +4,17 @@ const host = global.host || 'http://localhost:3000'
describe('测试搜索是否正常', () => {
it('获取到的数据的 name 应该和搜索关键词一致', (done) => {
const qs = {
keywords: '海阔天空',
keywords: '拂晓 Proi Proi',
type: 1,
realIP: global.cnIp,
}
axios
.get(`${host}/search`, {
.get(`${host}/cloudsearch`, {
params: qs,
})
.then(({ status, data }) => {
if (status == 200) {
assert(data.result.songs[0].name === '海阔天空')
assert(data.result.songs[0].name === '拂晓 Proi Proi')
}
done()
})