19 lines
352 B
Go
19 lines
352 B
Go
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)
|
|
}))
|
|
}
|