mirror of
https://github.com/AynaLivePlayer/miaosic.git
synced 2025-12-14 00:38:14 +08:00
finish qq provider
fix session cmd: save session every in every command add qq init fix init sequence update gitignore fix miaosic cmd add kugou album info in search update qq music api.
This commit is contained in:
18
providers/qq/util_test.go
Normal file
18
providers/qq/util_test.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package qq
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/stretchr/testify/require"
|
||||
"testing"
|
||||
"time"
|
||||
)
|
||||
|
||||
func TestHash33(t *testing.T) {
|
||||
require.Equal(t, 1318936952, hash33("123fdas32asdf", 321))
|
||||
}
|
||||
|
||||
func TestName(t *testing.T) {
|
||||
if time.UnixMilli(1756987630 * 1000).Before(time.Now().Add(24 * time.Hour)) {
|
||||
fmt.Println(123)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user