rpc_test.go 537 Bytes
Newer Older
hujiebin's avatar
hujiebin committed
1 2 3
package test

import (
hujiebin's avatar
hujiebin committed
4 5
	"fmt"
	"git.hilo.cn/hilo-common/_const/enum/timezone_e"
hujiebin's avatar
hujiebin committed
6 7 8 9 10 11 12 13 14 15
	"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)
}
16 17

func TestMGetUserOnMic(t *testing.T) {
hujiebin's avatar
hujiebin committed
18 19
	res, err := rpc.MGetUserOnMic(domain.CreateModelNil(), "2023-04-11", []mysql.ID{4556, 4549}, timezone_e.TimezoneKSA)
	fmt.Printf("%+v,err:%v", res, err)
20
}