group_power_test.go 421 Bytes
Newer Older
hujiebin's avatar
hujiebin committed
1 2 3 4 5 6 7 8 9
package test

import (
	"git.hilo.cn/hilo-common/domain"
	"hilo-group/domain/model/groupPower_m"
	"testing"
)

func TestGetAllGroupPowerOwner(t *testing.T) {
10
	owners, err := groupPower_m.BatchGetAllGroupPowerUsers(domain.CreateModelNil())
hujiebin's avatar
hujiebin committed
11 12
	println(owners, err)
}
13 14 15 16 17

func TestGetGroupPowerMonthStartTop1(t *testing.T) {
	res, err := groupPower_m.GetGroupPowerMonthStartTop1(domain.CreateModelNil(), 250)
	println(res,err)
}