Initial commit

This commit is contained in:
Donny
2019-04-22 20:46:32 +08:00
commit 49ab8aadd1
25441 changed files with 4055000 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
package service
import (
"context"
"testing"
"go-common/app/interface/main/web/model"
. "github.com/smartystreets/goconvey/convey"
)
func TestService_Feedback(t *testing.T) {
Convey("test feedback Feedback", t, WithService(func(s *Service) {
feedParams := &model.Feedback{Aid: 5464686, Mid: 27515256, TagID: 10101, Buvid: "", Browser: "",
Version: "1.1", Content: &model.Content{Reason: ""}, Email: "", QQ: "", Other: ""}
err := s.Feedback(context.Background(), feedParams)
So(err, ShouldBeNil)
}))
}