浏览代码

add Reverse:for v1.0.1

tags/v1.0.1
huangjuajun 2 年前
父节点
当前提交
0eef9b77e9
共有 2 个文件被更改,包括 9 次插入7 次删除
  1. +6
    -6
      go.mod
  2. +3
    -1
      pay/pay_by_own.go

+ 6
- 6
go.mod 查看文件

@@ -3,14 +3,14 @@ module code.fnuoos.com/go_rely_warehouse/zyos_go_pay.git
go 1.16

require (
code.fnuoos.com/go_rely_warehouse/zyos_go_tools.git v1.0.3 // indirect
github.com/go-pay/gopay v1.5.78
github.com/go-redis/redis v6.15.9+incompatible
code.fnuoos.com/go_rely_warehouse/zyos_go_tools.git v1.0.3
github.com/go-pay/gopay v1.5.78 // indirect
github.com/go-redis/redis v6.15.9+incompatible // indirect
github.com/go-sql-driver/mysql v1.6.0
github.com/gomodule/redigo/redis v0.0.1
github.com/gomodule/redigo/redis v0.0.1 // indirect
github.com/iGoogle-ink/gopay v1.5.36
go.uber.org/zap v1.13.0
gopkg.in/natefinch/lumberjack.v2 v2.0.0
go.uber.org/zap v1.13.0 // indirect
gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect
xorm.io/builder v0.3.10 // indirect
xorm.io/xorm v1.3.0
)

+ 3
- 1
pay/pay_by_own.go 查看文件

@@ -6,10 +6,12 @@ import (
"code.fnuoos.com/go_rely_warehouse/zyos_go_tools.git/e"
"code.fnuoos.com/go_rely_warehouse/zyos_go_tools.git/utils"
"fmt"
"xorm.io/xorm"
)

//自有支付 支付宝
func Alipay(args map[string]string) (string, error) {
func Alipay(eg *xorm.Engine, args map[string]string) (string, error) {
args = OwnCustomAlipayConfig(eg, args)
var paySet = &md.PayData{
PayAppCertSn: args["pay_app_cert_sn"],
PayAlipayRootCertSn: args["pay_alipay_root_cert_sn"],


正在加载...
取消
保存