Files

19 lines
352 B
Go
Raw Permalink Normal View History

2019-04-22 20:46:32 +08:00
package ad
import (
"context"
"testing"
. "github.com/smartystreets/goconvey/convey"
)
func TestDao_Cpms(t *testing.T) {
Convey("test Cpms", t, WithDao(func(d *Dao) {
mid := int64(5187977)
ids := []int64{121, 21, 12}
data, err := d.Cpms(context.TODO(), mid, ids, "", "", "", "", "", "")
So(err, ShouldBeNil)
Printf("%+v", data)
}))
}