|
|
@@ -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) |
|
|
|
} |