mirror of
https://github.com/silenceper/wechat.git
synced 2026-02-08 06:32:27 +08:00
rcode
This commit is contained in:
@@ -11,6 +11,7 @@ import (
|
||||
"github.com/silenceper/wechat/menu"
|
||||
"github.com/silenceper/wechat/oauth"
|
||||
"github.com/silenceper/wechat/pay"
|
||||
"github.com/silenceper/wechat/qr"
|
||||
"github.com/silenceper/wechat/server"
|
||||
"github.com/silenceper/wechat/template"
|
||||
"github.com/silenceper/wechat/user"
|
||||
@@ -99,3 +100,8 @@ func (wc *Wechat) GetTemplate() *template.Template {
|
||||
func (wc *Wechat) GetPay() *pay.Pay {
|
||||
return pay.NewPay(wc.Context)
|
||||
}
|
||||
|
||||
// GetQR 返回二维码的实例
|
||||
func (wc *Wechat) GetQR() *qr.QR {
|
||||
return qr.NewQR(wc.Context)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user