package pay import ( "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) } t.Log(channel.Identifier) }