Explorar el Código

add Reverse:for v1.0.1

tags/v1.0.1
huangjuajun hace 2 años
padre
commit
0eef9b77e9
Se han modificado 2 ficheros con 9 adiciones y 7 borrados
  1. +6
    -6
      go.mod
  2. +3
    -1
      pay/pay_by_own.go

+ 6
- 6
go.mod Ver fichero

@@ -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 Ver fichero

@@ -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"],


Cargando…
Cancelar
Guardar