采购管理员接口远程调用
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

19 lines
302 B

package adminrpc
import (
"testing"
)
func Test_GetByToken(t *testing.T) {
dbname := "canyin"
res2, err := GetByToken(dbname, dbname)
t.Log(res2)
// t.Log(res2.GetUserId())
t.Log(err)
// res3, err := GetUserByUsercode(dbname, "2233")
// t.Log(res3)
// t.Log(*res3.UserId)
// t.Log(err)
}