package postgre import ( "git.beswell.com/gframe/application" "sportfitness/base/assembly/base/repository" "testing" ) func init() { application.NewDefault() repository.Init() Init() } func TestAdd(t *testing.T) { err := FuncTest{}.TestAdd(1, "{\"user_name\":\"王一\", \"usercode\": \"wang1\", \"shopid\": 1}", "XX") println(err) } func TestQuery1(t *testing.T) { err := FuncTest{}.TestQuery1(1, "{\"name\": \"200\"}", "XX") println(err) }