Documentation ¶
Index ¶
- Constants
- func GetChildKeywordsInfo(fatherName string) (string, string, string)
- func GetFatherKeywordsStr() string
- func GetFocusGroupKeywordChildren() []string
- func GetInitParaEnum() map[string]string
- func GetLoginParaEnum() map[string]string
- func GetUUIDParaEnum() map[string]string
- type FocusGroupKeywords
Constants ¶
View Source
const ( APPID = "appid" FUN = "fun" Lang = "lang" LangValue = "zh_CN" TimeStamp = "_" UUID = "uuid" R = "r" /* 以下信息会存储在loginMap中 */ Ret = "ret" Message = "message" SKey = "skey" WXSid = "wxsid" WXUin = "wxuin" PassTicket = "pass_ticket" IsGrayscale = "isgrayscale" DeviceID = "DeviceID" SelfUserName = "UserName" SelfNickName = "NickName" SyncKeyStr = "synckeystr" Sid = "sid" Uin = "uin" DeviceId = "deviceid" SyncKey = "synckey" BaseRequest = "BaseRequest" )
View Source
const ( BASE_URL = "https://login.weixin.qq.com" /* API基准地址 */ UUID_URL = BASE_URL + "/jslogin" /* 获取uuid的地址 */ QRCODE_URL = BASE_URL + "/qrcode/" /* 获取二维码的地址 */ LOGIN_URL = BASE_URL + "/cgi-bin/mmwebwx-bin/login" /* 登陆URL */ API_BASE_URL = "https://wx.qq.com/cgi-bin/mmwebwx-bin" /* API基准地址 */ INIT_URL = API_BASE_URL + "/webwxinit" /* 初始化URL */ STATUS_NOTIFY_URL = API_BASE_URL + "/webwxstatusnotify" /* 通知微信状态变化 */ GET_ALL_CONTACT_URL = API_BASE_URL + "/webwxgetcontact" /* 获取所有联系人信息 */ WEB_WX_SYNC_URL = API_BASE_URL + "/webwxsync" /* 拉取同步消息 */ WEB_WX_SENDMSG_URL = API_BASE_URL + "/webwxsendmsg" /* 发送消息 */ WEB_WX_UPDATECHATROOM_URL = API_BASE_URL + "/webwxupdatechatroom" /* 群更新,主要用来邀请好友 */ SYNC_CHECK_URL = "https://webpush.wx.qq.com/cgi-bin/mmwebwx-bin/synccheck" /* 检查心跳URL */ )
View Source
const (
JSON_HEADER = "application/json;charset=UTF-8"
)
Variables ¶
This section is empty.
Functions ¶
func GetChildKeywordsInfo ¶
返回分组介绍和所有分组关键词的组装
func GetInitParaEnum ¶
func GetLoginParaEnum ¶
func GetUUIDParaEnum ¶
Types ¶
type FocusGroupKeywords ¶
type FocusGroupKeywords struct { FatherName string Description string ExampleStr string ChildrenName []string }
func GetFocusGroupKeywords ¶
func GetFocusGroupKeywords() []FocusGroupKeywords
Click to show internal directories.
Click to hide internal directories.