From ac935a7b18f0a1f07cdb5b513d87247d9f466cb4 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Thu, 28 Apr 2022 11:22:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=20=E6=94=AF=E4=BB=98?= =?UTF-8?q?=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LICENSE | 0 go.mod | 5 +++++ main.go | 18 ++++++++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 LICENSE create mode 100644 go.mod create mode 100644 main.go diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..e69de29 diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..cdbdd9d --- /dev/null +++ b/go.mod @@ -0,0 +1,5 @@ +module code.fnuoos.com/go_rely_warehouse/test.git + +go 1.16 + +require code.fnuoos.com/go_rely_warehouse/zyos_go_pay.git v0.2.1 diff --git a/main.go b/main.go new file mode 100644 index 0000000..58ab657 --- /dev/null +++ b/main.go @@ -0,0 +1,18 @@ +package main + +import ( + "code.fnuoos.com/go_rely_warehouse/zyos_go_pay.git/pay" + "fmt" +) + +func main() { + err := pay.Init("119.23.182.117:3306", "zyos_website", "root", "Fnuo123com@") + if err != nil { + fmt.Println(">>>>>>>>>>>>>>>", err) + } + channel, err := pay.JudgePayChannel("35618318", "mall") + if err != nil { + fmt.Println("<<<<<<<<<<<<<<<<", err) + } + fmt.Println(channel) +}