forked from shenghui0779/sdk-go
/
consts.go
73 lines (63 loc) · 2.46 KB
/
consts.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
package mp
// auth
const (
AccessTokenURL = "https://api.weixin.qq.com/cgi-bin/token"
Code2SessionURL = "https://api.weixin.qq.com/sns/jscode2session"
PaidUnionURL = "https://api.weixin.qq.com/wxa/getpaidunionid"
)
// msg
const (
UniformMessageSendURL = "https://api.weixin.qq.com/cgi-bin/message/wxopen/template/uniform_send"
SubscribeMessageSendURL = "https://api.weixin.qq.com/cgi-bin/message/subscribe/send"
TemplateMessageSendURL = "https://api.weixin.qq.com/cgi-bin/message/wxopen/template/send"
KFMessageSendURL = "https://api.weixin.qq.com/cgi-bin/message/custom/send"
SetTypingURL = "https://api.weixin.qq.com/cgi-bin/message/custom/typing"
)
// qrcode
const (
QRCodeCreateURL = "https://api.weixin.qq.com/cgi-bin/wxaapp/createwxaqrcode"
QRCodeGetURL = "https://api.weixin.qq.com/wxa/getwxacode"
QRCodeGetUnlimitURL = "https://api.weixin.qq.com/wxa/getwxacodeunlimit"
)
// media
const (
MediaUploadURL = "https://api.weixin.qq.com/cgi-bin/media/upload"
MediaGetURL = "https://api.weixin.qq.com/cgi-bin/media/get"
)
// plugin
const (
PluginManageURL = "https://api.weixin.qq.com/wxa/plugin"
PluginDevManageURL = "https://api.weixin.qq.com/wxa/devplugin"
)
// security
const (
ImageSecCheckURL = "https://api.weixin.qq.com/wxa/img_sec_check"
MediaCheckAsyncURL = "https://api.weixin.qq.com/wxa/media_check_async"
MsgSecCheckURL = "https://api.weixin.qq.com/wxa/msg_sec_check"
)
// image
const (
AICropURL = "https://api.weixin.qq.com/cv/img/aicrop"
ScanQRCodeURL = "https://api.weixin.qq.com/cv/img/qrcode"
SuperreSolutionURL = "https://api.weixin.qq.com/cv/img/superresolution"
)
// ocr
const (
OCRIDCardURL = "https://api.weixin.qq.com/cv/ocr/idcard"
OCRBankCardURL = "https://api.weixin.qq.com/cv/ocr/bankcard"
OCRPlateNumberURL = "https://api.weixin.qq.com/cv/ocr/platenum"
OCRDriverLicenseURL = "https://api.weixin.qq.com/cv/ocr/drivinglicense"
OCRVehicleLicenseURL = "https://api.weixin.qq.com/cv/ocr/driving"
OCRBusinessLicenseURL = "https://api.weixin.qq.com/cv/ocr/bizlicense"
OCRPrintedTextURL = "https://api.weixin.qq.com/cv/ocr/comm"
)
// other
const (
InvokeServiceURL = "https://api.weixin.qq.com/wxa/servicemarket"
SoterVerifyURL = "https://api.weixin.qq.com/cgi-bin/soter/verify_signature"
UserRiskRankURL = "https://api.weixin.qq.com/wxa/getuserriskrank"
)
// logistics
const (
LogisticsAddOrderURL = "https://api.weixin.qq.com/cgi-bin/express/business/order/add"
)