Commit 1254d63a authored by iamhujiebin's avatar iamhujiebin

Update utils_test.go

parent 36110aca
package utils
import (
"github.com/hilo-common/utils/jwt"
"testing"
"time"
)
......@@ -8,3 +9,8 @@ import (
func TestTestCommon(t *testing.T) {
t.Logf(time.Date(2022, time.November, 1, 0, 0, 0, 0, time.Local).String())
}
func TestJwt(t *testing.T) {
token, _ := jwt.GenerateToken(4522, "bd572e747832490189f1604742a09225", "hiloApi")
t.Logf(token)
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment