go-common/app/interface/main/space/dao/elec_test.go
2019-04-22 18:49:16 +08:00

19 lines
365 B
Go

package dao
import (
"context"
"testing"
"github.com/smartystreets/goconvey/convey"
)
func TestDao_ElecInfo(t *testing.T) {
convey.Convey("test elec info", t, func(ctx convey.C) {
mid := int64(28272030)
paymid := int64(0)
data, err := d.ElecInfo(context.Background(), mid, paymid)
convey.So(err, convey.ShouldBeNil)
convey.Printf("%v", data)
})
}