mirror of
https://github.com/xxjwxc/public.git
synced 2025-09-26 20:01:19 +08:00
1
This commit is contained in:
@@ -133,7 +133,7 @@ func SendPost(requestBody interface{}, responseBody interface{}, url string) err
|
||||
if err != nil {
|
||||
return e
|
||||
}
|
||||
// mylog.Debug(string(body))
|
||||
mylog.Debug(string(body))
|
||||
|
||||
err = json.Unmarshal(body, &responseBody)
|
||||
if err != nil {
|
||||
|
@@ -39,6 +39,7 @@ type WxTools interface {
|
||||
GetWebUserinfo(openid, accessToken string) (*WxUserinfo, error) // 获取用户信息
|
||||
SendWebTemplateMsg(msg TempWebMsg) bool // 发送公众号模板消息
|
||||
CreateMenu(menu WxMenu) error // 创建自定义菜单
|
||||
|
||||
// ----------------------------------------------------
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user