支付模块
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
322 B

  1. package pay
  2. import (
  3. "testing"
  4. )
  5. func TestPay(t *testing.T) {
  6. err := Init("119.23.182.117:3306", "zyos_website", "root", "Fnuo123com@")
  7. if err != nil {
  8. t.Errorf("Reverse == %s", err)
  9. }
  10. channel, err := JudgePayChannel("35618318", "mall")
  11. if err != nil {
  12. t.Errorf("Reverse == %s", err)
  13. }
  14. t.Log(channel.Name)
  15. }