package service import ( "flag" "testing" "kpt.notice/apiserver/config" "kpt.notice/pkg/log" ) func TestXxx(t *testing.T) { flag.Parse() config.Init("") log.Init(config.Conf.Log) svc := New(config.Conf) re, err := svc.QueryMsg() log.Info(re) t.Log(err) } func TestSysUser(t *testing.T) { flag.Parse() config.Init("") log.Init(config.Conf.Log) svc := New(config.Conf) re, err := svc.GetSysUser([]string{"123", "123111"}, "crm", 0) log.Info(re) t.Log(err) }