mirror of
https://github.com/iLoveElysia/openbilibili.git
synced 2026-06-08 05:58:29 -05:00
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)
|
||
|
|
}))
|
||
|
|
}
|