Jerry 6 лет назад
Родитель
Сommit
181910080d
2 измененных файлов с 0 добавлено и 10 удалено
  1. 0 5
      alipay_client.go
  2. 0 5
      wechat_client.go

+ 0 - 5
alipay_client.go

@@ -33,11 +33,6 @@ func NewAliPayClient(appId, privateKey string, isProd bool) (client *aliPayClien
 	return client
 }
 
-//获取版本号
-func (this *aliPayClient) GetVersion() (version string) {
-	return Version
-}
-
 //alipay.trade.fastpay.refund.query(统一收单交易退款查询)
 //    文档地址:https://docs.open.alipay.com/api_1/alipay.trade.fastpay.refund.query
 func (this *aliPayClient) AliPayTradeFastPayRefundQuery(body BodyMap) (aliRsp *AliPayTradeFastpayRefundQueryResponse, err error) {

+ 0 - 5
wechat_client.go

@@ -32,11 +32,6 @@ func NewWeChatClient(appId, mchId, apiKey string, isProd bool) (client *weChatCl
 	return client
 }
 
-//获取版本号
-func (this *weChatClient) GetVersion() (version string) {
-	return Version
-}
-
 //提交付款码支付 ok
 //    文档地址:https://pay.weixin.qq.com/wiki/doc/api/micropay.php?chapter=9_10&index=1
 func (this *weChatClient) Micropay(body BodyMap) (wxRsp *WeChatMicropayResponse, err error) {