package service import ( "testing" . "github.com/smartystreets/goconvey/convey" ) func TestDMAdvert(t *testing.T) { Convey("test dm advert", t, func() { // arg := &model.ADReq{ // Aid: 10100572, // Oid: 10115216, // Mid: 1234, // Buvid: "1234", // ClientIP: "127.0.0.1", // MobiApp: "iphone", // } // svr.DMAdvert(context.TODO(), arg) }) }