瀏覽代碼

Initial commit

tags/v0.0.1
go_rely_warehouse 7 月之前
當前提交
c2a7dd295b
共有 5 個檔案被更改,包括 69 行新增0 行删除
  1. +46
    -0
      .gitignore
  2. +0
    -0
     
  3. +0
    -0
     
  4. +5
    -0
      go.mod
  5. +18
    -0
      main.go

+ 46
- 0
.gitignore 查看文件

@@ -0,0 +1,46 @@
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib
# Test binary, built with `go test -c`
*.test
# Output of the go coverage tool, specifically when used with LiteIDE
*.out
.idea
.vscode
*.log
.DS_Store
Thumbs.db
*.swp
*.swn
*.swo
*.swm
*.7z
*.zip
*.rar
*.tar
*.tar.gz
go.sum
/etc/cfg.yaml
images
test/test.json
etc/cfg.yml
t.json
t1.json
t2.json
t3.json
t.go
wait-for-it.sh
test.go
xorm
test.csv
nginx.conf
.devcontainer
.devcontainer/Dockerfile
.devcontainer/sources.list
/t1.go
/tmp/*
.idea/*
/.idea/modules.xml

+ 0
- 0
查看文件


+ 0
- 0
查看文件


+ 5
- 0
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

+ 18
- 0
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)
}

Loading…
取消
儲存