12345678910111213141516171819202122232425262728293031 |
- 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)
- }
|