cpm_test.go 352 B

123456789101112131415161718
  1. package ad
  2. import (
  3. "context"
  4. "testing"
  5. . "github.com/smartystreets/goconvey/convey"
  6. )
  7. func TestDao_Cpms(t *testing.T) {
  8. Convey("test Cpms", t, WithDao(func(d *Dao) {
  9. mid := int64(5187977)
  10. ids := []int64{121, 21, 12}
  11. data, err := d.Cpms(context.TODO(), mid, ids, "", "", "", "", "", "")
  12. So(err, ShouldBeNil)
  13. Printf("%+v", data)
  14. }))
  15. }