Explorar el Código

修改注释和方法名

Jerry hace 7 años
padre
commit
52552b934c
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      wechat_pay.go

+ 2 - 2
wechat_pay.go

@@ -44,8 +44,8 @@ func NewWeChatClient(appId, mchId string, isProd bool, secretKey ...string) *WeC
 	return client
 	return client
 }
 }
 
 
-//支付
-func (this *WeChatClient) GoWeChatPay(param *WeChatPayParams) (wxRsp *WeChatPayResponse, err error) {
+//统一下单
+func (this *WeChatClient) GoUnifiedOrder(param *WeChatPayParams) (wxRsp *WeChatPayResponse, err error) {
 	this.Params = param
 	this.Params = param
 	//fmt.Println("reqs:", this.ReqParam)
 	//fmt.Println("reqs:", this.ReqParam)
 	var sign string
 	var sign string