1
This commit is contained in:
16
business/jxutils/jxcontext/context_test.go
Normal file
16
business/jxutils/jxcontext/context_test.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package jxcontext
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
|
||||
)
|
||||
|
||||
func TestNewCtx(t *testing.T) {
|
||||
fmt.Println("cc", AdminCtx)
|
||||
//aa := jxcontext.NewWithOnlyUserName()
|
||||
fmt.Println("cc", AdminCtx.GetTrackInfo())
|
||||
fmt.Println("cc", AdminCtx.GetUserID())
|
||||
fmt.Println("cc", AdminCtx.GetUserName())
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user