支付模块
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.

20 lines
367 B

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