From 29aee20b6fc9009d99535151d3d90def5c1ba926 Mon Sep 17 00:00:00 2001 From: kanade Date: Fri, 1 Apr 2022 18:01:20 +0800 Subject: [PATCH] init --- go.mod | 1 + go.sum | 2 ++ wxpay.go | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 83d58c0..742c2b8 100644 --- a/go.mod +++ b/go.mod @@ -3,6 +3,7 @@ module git.oa00.com/go/pay go 1.17 require ( + git.oa00.com/go/rsa v1.0.0 github.com/smartwalle/alipay/v3 v3.1.7 github.com/wechatpay-apiv3/wechatpay-go v0.2.11 ) diff --git a/go.sum b/go.sum index 1cd9a4a..0ab54db 100644 --- a/go.sum +++ b/go.sum @@ -1,3 +1,5 @@ +git.oa00.com/go/rsa v1.0.0 h1:cscSyfYeNxqUjEt/rUiPjPlqeZW/pdLDqVTrS64llJM= +git.oa00.com/go/rsa v1.0.0/go.mod h1:y4272MGmgvdEGcXIcPRBwteDo/zeqTEtRpqJBpK1Luk= github.com/agiledragon/gomonkey v2.0.2+incompatible h1:eXKi9/piiC3cjJD1658mEE2o3NjkJ5vDLgYjCQu0Xlw= github.com/agiledragon/gomonkey v2.0.2+incompatible/go.mod h1:2NGfXu1a80LLr2cmWXGBDaHEjb1idR6+FVlX5T3D9hw= github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= diff --git a/wxpay.go b/wxpay.go index 6b65ad1..b8c8f51 100644 --- a/wxpay.go +++ b/wxpay.go @@ -1,9 +1,9 @@ package pay import ( - "base/app/lib/rsa" "context" "errors" + "git.oa00.com/go/rsa" "github.com/wechatpay-apiv3/wechatpay-go/core" "github.com/wechatpay-apiv3/wechatpay-go/core/auth/verifiers" "github.com/wechatpay-apiv3/wechatpay-go/core/downloader"