Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chanxuehong/wechat
/ functions
Functions
669 in github.com/chanxuehong/wechat
⨍
Functions
669
◇
Types & classes
332
Function
NewWxCard
新建卡券, 特别注意: 目前该接口仅支持填入非自定义code的卡券和预存模式的自定义code卡券. cardExt 可以为空
mp/message/mass/mass2users/msg.go:115
Function
NewWxCard
新建卡券, 特别注意: 目前该接口仅支持填入非自定义code的卡券和预存模式的自定义code卡券. cardExt 可以为空
mp/message/mass/mass2all/msg.go:117
Function
NewWxCard
新建卡券, 特别注意: 目前该接口仅支持填入非自定义code的卡券和预存模式的自定义code卡券.
mp/message/mass/preview/msg.go:160
Function
NewWxCard2
新建卡券, 特别注意: 目前该接口仅支持填入非自定义code的卡券和预存模式的自定义code卡券. cardExt 可以为空
mp/message/mass/preview/msg.go:172
Method
NextPage
()
mp/poi/list.go:91
Method
NextPage
()
mp/dkf/record/iter.go:37
Method
NextPage
()
mp/user/list.go:82
Method
NextPage
()
mp/bizwifi/shop/list.go:105
Method
NextPage
()
mp/bizwifi/device/list.go:103
Method
NextPage
()
mp/material/material.go:155
Method
NextPage
()
mp/material/news.go:184
Method
NextPage
()
mp/shakearound/page/search.go:105
Method
NextPage
()
mp/shakearound/statistics/pagelist.go:91
Method
NextPage
()
mp/shakearound/statistics/devicelist.go:91
Method
NextPage
()
mp/shakearound/relation/search.go:113
Method
NextPage
()
mp/shakearound/device/search.go:121
Method
NoneResponse
Context:response ==================================================================================================== NoneResponse 表示没有消息回复给微信服务器.
mp/core/context.go:114
Function
OnlineKfList
OnlineKfList 获取在线客服接待信息.
mp/dkf/kf_list.go:52
Function
OrderQuery2
OrderQuery2 查询订单. NOTE: 该函数不支持 代金券 功能, 如果有 代金券 功能请使用 OrderQuery 函数.
mch/pay/orderquery.go:59
Method
OriId
()
mp/core/server.go:42
Function
Page
以页面为维度的数据统计接口
mp/shakearound/statistics/page.go:8
Function
QrcodePicURL
(ticket string)
mp/card/qrcode/create.go:9
Function
QueryCoupon
查询代金券信息.
mch/promotion/query_coupon.go:8
Function
QueryCouponStock
查询代金券批次信息.
mch/mmpaymkttransfers/query_coupon_stock.go:8
Method
RawResponse
RawResponse 回复明文消息给微信服务器. msg: 经过 encoding/xml.Marshal 得到的结果符合微信消息格式的任何数据结构
mp/core/context.go:122
Method
RefreshTicket
请求中控服务器返回缓存的 jsapi_ticket
mp/jssdk/ticket_server.go:17
Method
RefreshTicket
请求中控服务器返回缓存的卡劵 api_ticket
mp/jssdk/card_ticket_server.go:17
Method
RefreshTokenURL
(refreshToken string)
open/oauth2/endpoint.go:20
Method
RefreshTokenURL
(refreshToken string)
mp/oauth2/endpoint.go:31
Method
RefreshTokenURL
(refreshToken string)
mp/oauth2/component/endpoint.go:37
Function
Refund2
Refund2 申请退款. NOTE: 1. 请求需要双向证书. 2. 该函数不支持 代金券 功能, 如果有 代金券 功能请使用 Refund 函数.
mch/pay/refund.go:62
Function
RefundQuery2
RefundQuery2 查询退款. NOTE: 该函数不支持 代金券 功能, 如果有 代金券 功能请使用 RefundQuery 函数.
mch/pay/refundquery.go:68
Function
Register
申请开通功能
mp/shakearound/account/account.go:17
Function
Report2
Report2 交易保障.
mch/payutil/report.go:35
Method
Response
Response 回复消息给微信服务器
mch/core/context.go:74
Function
Reverse2
Reverse2 撤销订单. NOTE: 请求需要双向证书.
mch/pay/reverse.go:37
Method
Scene
获取二维码参数
mp/message/callback/request/event.go:39
Function
Send
Send 发送消息, msg 是经过 encoding/json.Marshal 得到的结果符合微信消息格式的任何数据结构.
mp/message/custom/custom.go:9
Function
Send
发送模板消息, msg 是经过 encoding/json.Marshal 得到的结果符合微信消息格式的任何数据结构, 一般为 *TemplateMessage 类型.
mp/message/template/send.go:37
Function
Send
Send 发送消息, msg 是经过 encoding/json.Marshal 得到的结果符合微信消息格式的任何数据结构.
mp/message/mass/mass2group/mass2group.go:10
Function
Send
Send 发送消息, msg 是经过 encoding/json.Marshal 得到的结果符合微信消息格式的任何数据结构.
mp/message/mass/mass2users/mass2users.go:10
Function
Send
Send 发送消息, msg 是经过 encoding/json.Marshal 得到的结果符合微信消息格式的任何数据结构.
mp/message/mass/mass2all/mass2all.go:10
Function
Send
Send 发送消息, msg 是经过 encoding/json.Marshal 得到的结果符合微信消息格式的任何数据结构.
mp/message/mass/preview/preview.go:9
Function
SendCoupon
发放代金券. 请求需要双向证书
mch/mmpaymkttransfers/send_coupon.go:10
Function
SendGroupRedPack
发放裂变红包. NOTE: 请求需要双向证书
mch/mmpaymkttransfers/sendgroupredpack.go:10
Function
SendRedPack
红包发放. NOTE: 请求需要双向证书
mch/mmpaymkttransfers/sendredpack.go:10
Method
ServeError
(http.ResponseWriter, *http.Request, error)
mp/core/error_handler.go:10
Method
ServeError
(w http.ResponseWriter, r *http.Request, err error)
mp/core/error_handler.go:17
Method
ServeError
(w http.ResponseWriter, r *http.Request, err error)
mch/core/error_handler.go:18
Method
ServeHTTP
ServeHTTP 处理微信服务器的回调请求, query 参数可以为 nil.
mch/core/server.go:106
Method
ServeMsg
(*Context)
mp/core/handler.go:12
Method
ServeMsg
(ctx *Context)
mp/core/handler.go:21
Method
ServeMsg
ServeMsg 实现 Handler 接口.
mp/core/handler.go:53
Method
ServeMsg
ServeMsg 实现 Handler 接口
mch/core/handler.go:16
Method
ServeMsg
ServeMsg 实现 Handler 接口
mch/core/handler.go:63
Function
Set
设置商家主页 要求 para 经过 encoding/json 后满足指定的格式要求
mp/bizwifi/homepage/set.go:38
Function
Set
设置测试白名单
mp/card/testwhitelist/set.go:13
Method
SetAESKey
SetAESKey 设置aes加密解密key. base64AESKey: aes加密解密key, 43字节长(base64编码, 去掉了尾部的'=').
mp/core/server.go:156
Method
SetAsClickButton
设置 btn 指向的 Button 为 click 类型按钮.
mp/menu/menu.go:72
Method
SetAsLocationSelectButton
设置 btn 指向的 Button 为 弹出地理位置选择器 类型按钮.
mp/menu/menu.go:149
Method
SetAsMediaIdButton
设置 btn 指向的 Button 为 下发消息(除文本消息) 类型按钮.
mp/menu/menu.go:160
Method
SetAsMiniProgramButton
设置 btn 指向的 Button 为 打开小程序.
mp/menu/menu.go:182
Method
SetAsPicPhotoOrAlbumButton
设置 btn 指向的 Button 为 弹出拍照或者相册发图 类型按钮.
mp/menu/menu.go:127
Method
SetAsPicSysPhotoButton
设置 btn 指向的 Button 为 弹出系统拍照发图 类型按钮.
mp/menu/menu.go:116
Method
SetAsPicWeixinButton
设置 btn 指向的 Button 为 弹出微信相册发图器 类型按钮.
mp/menu/menu.go:138
Method
SetAsScanCodePushButton
设置 btn 指向的 Button 为 扫码推事件 类型按钮.
mp/menu/menu.go:94
Method
SetAsScanCodeWaitMsgButton
设置 btn 指向的 Button 为 扫码推事件且弹出"消息接收中"提示框 类型按钮.
mp/menu/menu.go:105
Method
SetAsSubMenuButton
设置 btn 指向的 Button 为 子菜单 类型按钮.
mp/menu/menu.go:61
Method
SetAsViewButton
设置 btn 指向的 Button 为 view 类型按钮.
mp/menu/menu.go:83
Method
SetAsViewLimitedButton
设置 btn 指向的 Button 为 跳转图文消息URL 类型按钮.
mp/menu/menu.go:171
Method
SetHandlers
SetHandlers 设置 handlers 给 Context.Next() 调用, 务必在 Context.Next() 调用之前设置, 否则会 panic. NOTE: 此方法一般用不到, 除非你自己实现一个 Handler 给 Server 使用, 参考 ServeMux.
mp/core/context.go:72
Method
SetHandlers
SetHandlers 设置 handlers 给 Context.Next() 调用, 务必在 Context.Next() 调用之前设置, 否则会 panic. NOTE: 此方法一般用不到, 除非你自己实现一个 Handler 给 Server 使用, 参考 HandlerChain.
mch/core/context.go:58
Function
SetIndustry
设置所属行业.
mp/message/template/template.go:8
Method
SetToken
SetToken 设置签名token.
mp/core/server.go:110
Function
ShortURL
ShortURL 将一条长链接转成短链接.
mp/qrcode/shorturl.go:9
Function
ShortURL2
ShortURL2 转换短链接.
mch/tools/shorturl.go:32
Function
Sign
卡券通用签名方法. 将 strs 里面的字符串字典排序, 然后拼接成一个字符串后做 sha1 签名.
mp/card/sign.go:13
Function
String
String is a helper routine that allocates a new string value to store v and returns a pointer to it.
internal/util/helper.go:53
Function
String
String is a helper routine that allocates a new string value to store v and returns a pointer to it.
util/helper.go:53
Method
SubAppId
()
mch/core/client.go:40
Method
SubMchId
()
mch/core/client.go:43
Function
TagGet
TagGet 根据TagId获取用户列表. NOTE: 每次最多能获取 10000 个用户, 可以多次指定 nextOpenId 来获取以满足需求, 如果 nextOpenId == "" 则表示从头获取
mp/user/tag/tag.go:95
Function
TestAEESDecryptData
(t *testing.T)
internal/util/aes_crypto_test.go:88
Function
TestAESDecryptMsg
(t *testing.T)
internal/util/aes_crypto_test.go:41
Function
TestAESEncryptMsg
(t *testing.T)
internal/util/aes_crypto_test.go:10
Function
TestCardSign
(t *testing.T)
mp/jssdk/sign_test.go:38
Function
TestGetSession
(t *testing.T)
mp/oauth2/api_test.go:19
Function
TestGetUserInfoBySession
(t *testing.T)
mp/oauth2/api_test.go:23
Function
TestImageMessage
(t *testing.T)
mp/message/callback/request/msg_test.go:43
Function
TestJsapiSign
(t *testing.T)
mch/core/sign_test.go:30
Function
TestLinkMessage
(t *testing.T)
mp/message/callback/request/msg_test.go:219
Function
TestLocationEvent
(t *testing.T)
mp/message/callback/request/event_test.go:142
Function
TestLocationMessage
(t *testing.T)
mp/message/callback/request/msg_test.go:181
Function
TestMsgSign
(t *testing.T)
internal/util/sign_test.go:24
Function
TestScanEvent
(t *testing.T)
mp/message/callback/request/event_test.go:108
Function
TestShortVideoMessage
(t *testing.T)
mp/message/callback/request/msg_test.go:147
Function
TestSign
(t *testing.T)
internal/util/sign_test.go:10
Function
TestSign
(t *testing.T)
mch/core/sign_test.go:12
Function
TestSubscribeEvent
(t *testing.T)
mp/message/callback/request/event_test.go:43
Function
TestTextMessage
(t *testing.T)
mp/message/callback/request/msg_test.go:11
← previous
next →
501–600 of 669, ranked by callers