MCPcopy Create free account

hub / github.com/chanxuehong/wechat / functions

Functions669 in github.com/chanxuehong/wechat

FunctionNewWxCard
新建卡券, 特别注意: 目前该接口仅支持填入非自定义code的卡券和预存模式的自定义code卡券. cardExt 可以为空
mp/message/mass/mass2users/msg.go:115
FunctionNewWxCard
新建卡券, 特别注意: 目前该接口仅支持填入非自定义code的卡券和预存模式的自定义code卡券. cardExt 可以为空
mp/message/mass/mass2all/msg.go:117
FunctionNewWxCard
新建卡券, 特别注意: 目前该接口仅支持填入非自定义code的卡券和预存模式的自定义code卡券.
mp/message/mass/preview/msg.go:160
FunctionNewWxCard2
新建卡券, 特别注意: 目前该接口仅支持填入非自定义code的卡券和预存模式的自定义code卡券. cardExt 可以为空
mp/message/mass/preview/msg.go:172
MethodNextPage
()
mp/poi/list.go:91
MethodNextPage
()
mp/dkf/record/iter.go:37
MethodNextPage
()
mp/user/list.go:82
MethodNextPage
()
mp/bizwifi/shop/list.go:105
MethodNextPage
()
mp/bizwifi/device/list.go:103
MethodNextPage
()
mp/material/material.go:155
MethodNextPage
()
mp/material/news.go:184
MethodNextPage
()
mp/shakearound/page/search.go:105
MethodNextPage
()
mp/shakearound/statistics/pagelist.go:91
MethodNextPage
()
mp/shakearound/statistics/devicelist.go:91
MethodNextPage
()
mp/shakearound/relation/search.go:113
MethodNextPage
()
mp/shakearound/device/search.go:121
MethodNoneResponse
Context:response ==================================================================================================== NoneResponse 表示没有消息回复给微信服务器.
mp/core/context.go:114
FunctionOnlineKfList
OnlineKfList 获取在线客服接待信息.
mp/dkf/kf_list.go:52
FunctionOrderQuery2
OrderQuery2 查询订单. NOTE: 该函数不支持 代金券 功能, 如果有 代金券 功能请使用 OrderQuery 函数.
mch/pay/orderquery.go:59
MethodOriId
()
mp/core/server.go:42
FunctionPage
以页面为维度的数据统计接口
mp/shakearound/statistics/page.go:8
FunctionQrcodePicURL
(ticket string)
mp/card/qrcode/create.go:9
FunctionQueryCoupon
查询代金券信息.
mch/promotion/query_coupon.go:8
FunctionQueryCouponStock
查询代金券批次信息.
mch/mmpaymkttransfers/query_coupon_stock.go:8
MethodRawResponse
RawResponse 回复明文消息给微信服务器. msg: 经过 encoding/xml.Marshal 得到的结果符合微信消息格式的任何数据结构
mp/core/context.go:122
MethodRefreshTicket
请求中控服务器返回缓存的 jsapi_ticket
mp/jssdk/ticket_server.go:17
MethodRefreshTicket
请求中控服务器返回缓存的卡劵 api_ticket
mp/jssdk/card_ticket_server.go:17
MethodRefreshTokenURL
(refreshToken string)
open/oauth2/endpoint.go:20
MethodRefreshTokenURL
(refreshToken string)
mp/oauth2/endpoint.go:31
MethodRefreshTokenURL
(refreshToken string)
mp/oauth2/component/endpoint.go:37
FunctionRefund2
Refund2 申请退款. NOTE: 1. 请求需要双向证书. 2. 该函数不支持 代金券 功能, 如果有 代金券 功能请使用 Refund 函数.
mch/pay/refund.go:62
FunctionRefundQuery2
RefundQuery2 查询退款. NOTE: 该函数不支持 代金券 功能, 如果有 代金券 功能请使用 RefundQuery 函数.
mch/pay/refundquery.go:68
FunctionRegister
申请开通功能
mp/shakearound/account/account.go:17
FunctionReport2
Report2 交易保障.
mch/payutil/report.go:35
MethodResponse
Response 回复消息给微信服务器
mch/core/context.go:74
FunctionReverse2
Reverse2 撤销订单. NOTE: 请求需要双向证书.
mch/pay/reverse.go:37
MethodScene
获取二维码参数
mp/message/callback/request/event.go:39
FunctionSend
Send 发送消息, msg 是经过 encoding/json.Marshal 得到的结果符合微信消息格式的任何数据结构.
mp/message/custom/custom.go:9
FunctionSend
发送模板消息, msg 是经过 encoding/json.Marshal 得到的结果符合微信消息格式的任何数据结构, 一般为 *TemplateMessage 类型.
mp/message/template/send.go:37
FunctionSend
Send 发送消息, msg 是经过 encoding/json.Marshal 得到的结果符合微信消息格式的任何数据结构.
mp/message/mass/mass2group/mass2group.go:10
FunctionSend
Send 发送消息, msg 是经过 encoding/json.Marshal 得到的结果符合微信消息格式的任何数据结构.
mp/message/mass/mass2users/mass2users.go:10
FunctionSend
Send 发送消息, msg 是经过 encoding/json.Marshal 得到的结果符合微信消息格式的任何数据结构.
mp/message/mass/mass2all/mass2all.go:10
FunctionSend
Send 发送消息, msg 是经过 encoding/json.Marshal 得到的结果符合微信消息格式的任何数据结构.
mp/message/mass/preview/preview.go:9
FunctionSendCoupon
发放代金券. 请求需要双向证书
mch/mmpaymkttransfers/send_coupon.go:10
FunctionSendGroupRedPack
发放裂变红包. NOTE: 请求需要双向证书
mch/mmpaymkttransfers/sendgroupredpack.go:10
FunctionSendRedPack
红包发放. NOTE: 请求需要双向证书
mch/mmpaymkttransfers/sendredpack.go:10
MethodServeError
(http.ResponseWriter, *http.Request, error)
mp/core/error_handler.go:10
MethodServeError
(w http.ResponseWriter, r *http.Request, err error)
mp/core/error_handler.go:17
MethodServeError
(w http.ResponseWriter, r *http.Request, err error)
mch/core/error_handler.go:18
MethodServeHTTP
ServeHTTP 处理微信服务器的回调请求, query 参数可以为 nil.
mch/core/server.go:106
MethodServeMsg
(*Context)
mp/core/handler.go:12
MethodServeMsg
(ctx *Context)
mp/core/handler.go:21
MethodServeMsg
ServeMsg 实现 Handler 接口.
mp/core/handler.go:53
MethodServeMsg
ServeMsg 实现 Handler 接口
mch/core/handler.go:16
MethodServeMsg
ServeMsg 实现 Handler 接口
mch/core/handler.go:63
FunctionSet
设置商家主页 要求 para 经过 encoding/json 后满足指定的格式要求
mp/bizwifi/homepage/set.go:38
FunctionSet
设置测试白名单
mp/card/testwhitelist/set.go:13
MethodSetAESKey
SetAESKey 设置aes加密解密key. base64AESKey: aes加密解密key, 43字节长(base64编码, 去掉了尾部的'=').
mp/core/server.go:156
MethodSetAsClickButton
设置 btn 指向的 Button 为 click 类型按钮.
mp/menu/menu.go:72
MethodSetAsLocationSelectButton
设置 btn 指向的 Button 为 弹出地理位置选择器 类型按钮.
mp/menu/menu.go:149
MethodSetAsMediaIdButton
设置 btn 指向的 Button 为 下发消息(除文本消息) 类型按钮.
mp/menu/menu.go:160
MethodSetAsMiniProgramButton
设置 btn 指向的 Button 为 打开小程序.
mp/menu/menu.go:182
MethodSetAsPicPhotoOrAlbumButton
设置 btn 指向的 Button 为 弹出拍照或者相册发图 类型按钮.
mp/menu/menu.go:127
MethodSetAsPicSysPhotoButton
设置 btn 指向的 Button 为 弹出系统拍照发图 类型按钮.
mp/menu/menu.go:116
MethodSetAsPicWeixinButton
设置 btn 指向的 Button 为 弹出微信相册发图器 类型按钮.
mp/menu/menu.go:138
MethodSetAsScanCodePushButton
设置 btn 指向的 Button 为 扫码推事件 类型按钮.
mp/menu/menu.go:94
MethodSetAsScanCodeWaitMsgButton
设置 btn 指向的 Button 为 扫码推事件且弹出"消息接收中"提示框 类型按钮.
mp/menu/menu.go:105
MethodSetAsSubMenuButton
设置 btn 指向的 Button 为 子菜单 类型按钮.
mp/menu/menu.go:61
MethodSetAsViewButton
设置 btn 指向的 Button 为 view 类型按钮.
mp/menu/menu.go:83
MethodSetAsViewLimitedButton
设置 btn 指向的 Button 为 跳转图文消息URL 类型按钮.
mp/menu/menu.go:171
MethodSetHandlers
SetHandlers 设置 handlers 给 Context.Next() 调用, 务必在 Context.Next() 调用之前设置, 否则会 panic. NOTE: 此方法一般用不到, 除非你自己实现一个 Handler 给 Server 使用, 参考 ServeMux.
mp/core/context.go:72
MethodSetHandlers
SetHandlers 设置 handlers 给 Context.Next() 调用, 务必在 Context.Next() 调用之前设置, 否则会 panic. NOTE: 此方法一般用不到, 除非你自己实现一个 Handler 给 Server 使用, 参考 HandlerChain.
mch/core/context.go:58
FunctionSetIndustry
设置所属行业.
mp/message/template/template.go:8
MethodSetToken
SetToken 设置签名token.
mp/core/server.go:110
FunctionShortURL
ShortURL 将一条长链接转成短链接.
mp/qrcode/shorturl.go:9
FunctionShortURL2
ShortURL2 转换短链接.
mch/tools/shorturl.go:32
FunctionSign
卡券通用签名方法. 将 strs 里面的字符串字典排序, 然后拼接成一个字符串后做 sha1 签名.
mp/card/sign.go:13
FunctionString
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
FunctionString
String is a helper routine that allocates a new string value to store v and returns a pointer to it.
util/helper.go:53
MethodSubAppId
()
mch/core/client.go:40
MethodSubMchId
()
mch/core/client.go:43
FunctionTagGet
TagGet 根据TagId获取用户列表. NOTE: 每次最多能获取 10000 个用户, 可以多次指定 nextOpenId 来获取以满足需求, 如果 nextOpenId == "" 则表示从头获取
mp/user/tag/tag.go:95
FunctionTestAEESDecryptData
(t *testing.T)
internal/util/aes_crypto_test.go:88
FunctionTestAESDecryptMsg
(t *testing.T)
internal/util/aes_crypto_test.go:41
FunctionTestAESEncryptMsg
(t *testing.T)
internal/util/aes_crypto_test.go:10
FunctionTestCardSign
(t *testing.T)
mp/jssdk/sign_test.go:38
FunctionTestGetSession
(t *testing.T)
mp/oauth2/api_test.go:19
FunctionTestGetUserInfoBySession
(t *testing.T)
mp/oauth2/api_test.go:23
FunctionTestImageMessage
(t *testing.T)
mp/message/callback/request/msg_test.go:43
FunctionTestJsapiSign
(t *testing.T)
mch/core/sign_test.go:30
FunctionTestLinkMessage
(t *testing.T)
mp/message/callback/request/msg_test.go:219
FunctionTestLocationEvent
(t *testing.T)
mp/message/callback/request/event_test.go:142
FunctionTestLocationMessage
(t *testing.T)
mp/message/callback/request/msg_test.go:181
FunctionTestMsgSign
(t *testing.T)
internal/util/sign_test.go:24
FunctionTestScanEvent
(t *testing.T)
mp/message/callback/request/event_test.go:108
FunctionTestShortVideoMessage
(t *testing.T)
mp/message/callback/request/msg_test.go:147
FunctionTestSign
(t *testing.T)
internal/util/sign_test.go:10
FunctionTestSign
(t *testing.T)
mch/core/sign_test.go:12
FunctionTestSubscribeEvent
(t *testing.T)
mp/message/callback/request/event_test.go:43
FunctionTestTextMessage
(t *testing.T)
mp/message/callback/request/msg_test.go:11
← previousnext →501–600 of 669, ranked by callers