mirror of
https://github.com/silenceper/wechat.git
synced 2026-02-10 15:52:26 +08:00
增加小程序-云开发http api
This commit is contained in:
11
wechat.go
11
wechat.go
@@ -1,22 +1,22 @@
|
||||
package wechat
|
||||
|
||||
import (
|
||||
"github.com/silenceper/wechat/device"
|
||||
"github.com/silenceper/wechat/message"
|
||||
|
||||
"net/http"
|
||||
"sync"
|
||||
|
||||
"github.com/silenceper/wechat/cache"
|
||||
"github.com/silenceper/wechat/context"
|
||||
"github.com/silenceper/wechat/device"
|
||||
"github.com/silenceper/wechat/js"
|
||||
"github.com/silenceper/wechat/material"
|
||||
"github.com/silenceper/wechat/menu"
|
||||
"github.com/silenceper/wechat/message"
|
||||
"github.com/silenceper/wechat/miniprogram"
|
||||
"github.com/silenceper/wechat/oauth"
|
||||
"github.com/silenceper/wechat/pay"
|
||||
"github.com/silenceper/wechat/qr"
|
||||
"github.com/silenceper/wechat/server"
|
||||
"github.com/silenceper/wechat/tcb"
|
||||
"github.com/silenceper/wechat/user"
|
||||
)
|
||||
|
||||
@@ -118,3 +118,8 @@ func (wc *Wechat) GetMiniProgram() *miniprogram.MiniProgram {
|
||||
func (wc *Wechat) GetDevice() *device.Device {
|
||||
return device.NewDevice(wc.Context)
|
||||
}
|
||||
|
||||
// GetTcb 获取小程序-云开发的实例
|
||||
func (wc *Wechat) GetTcb() *tcb.Tcb {
|
||||
return tcb.NewTcb(wc.Context)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user