package test import ( "git.hilo.cn/hilo-common/domain" "git.hilo.cn/hilo-common/rpc" "testing" ) func TestGetCpRelation(t *testing.T) { cpRelation, err := rpc.GetUserCpRelation(domain.CreateModelNil(), 7642) t.Logf("%v-%v", cpRelation, err) }
func TestGetCpPairs(t *testing.T) { cpPairs, err := rpc.MGetUserCpPairs(domain.CreateModelNil(), []uint64{7642, 4549}) t.Logf("%v-%v", cpPairs, err) }