You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

24 lines
323 B

package figure
import (
"context"
"fmt"
"testing"
"time"
"go-common/app/service/main/figure/model"
)
var (
s *Service
)
func init() {
s = New(nil)
time.Sleep(2 * time.Second)
}
func TestUserFigure(t *testing.T) {
res, _ := s.UserFigure(context.TODO(), &model.ArgUserFigure{Mid: 27515628})
fmt.Println(res)
}