package pay import ( "fmt" "testing" ) func TestPay(t *testing.T) { err := Init("119.23.182.117:3306", "zyos_website", "root", "Fnuo123com@") if err != nil { t.Errorf("Reverse == %s", err) } channel, err := JudgePayChannel("35618318", "mall") if err != nil { t.Errorf("Reverse == %s", err) } fmt.Println(channel.AppId) t.Log(channel.MasterNickname) }