rpc_test.go 451 Bytes
Newer Older
hujiebin's avatar
hujiebin committed
1 2 3 4 5 6 7 8 9 10 11 12 13
package test

import (
	"git.hilo.cn/hilo-common/domain"
	"git.hilo.cn/hilo-common/resource/mysql"
	"git.hilo.cn/hilo-common/rpc"
	"testing"
)

func TestMGetGroupPower(t *testing.T) {
	res, err := rpc.MGetGroupPower(domain.CreateModelNil(), []mysql.ID{250, 251})
	println(res, err)
}
14 15 16 17 18

func TestMGetUserOnMic(t *testing.T) {
	res, err := rpc.MGetUserOnMic(domain.CreateModelNil(), "2023-03-16", []mysql.ID{2781, 4549, 4556, 4559})
	println(res, err)
}