urls

package
v0.0.0-...-4a54426 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

@Time : 2021/8/16 5:09 下午 @Author : 21 @File : consts @Software: GoLand

Index

Constants

View Source
const (
	CorpCgiBinAccessToken  = "https://qyapi.weixin.qq.com/cgi-bin/gettoken"
	CorpCgiBinAPIDomainIP  = "https://qyapi.weixin.qq.com/cgi-bin/get_api_domain_ip"
	CorpCgiBinCallbackIP   = "https://qyapi.weixin.qq.com/cgi-bin/getcallbackip"
	CorpCgiBinUserInfo     = "https://qyapi.weixin.qq.com/cgi-bin/user/getuserinfo"
	CorpCgiBinUserAuthSucc = "https://qyapi.weixin.qq.com/cgi-bin/user/authsucc"
	CorpCginBinCallbackIP  = "https://qyapi.weixin.qq.com/cgi-bin/getcallbackip"
)
View Source
const (
	CorpUserCreate               = "https://qyapi.weixin.qq.com/cgi-bin/user/create"
	CorpUserGet                  = "https://qyapi.weixin.qq.com/cgi-bin/user/get"
	CorpUserUpdate               = "https://qyapi.weixin.qq.com/cgi-bin/user/update"
	CorpUserDelete               = "https://qyapi.weixin.qq.com/cgi-bin/user/delete"
	CorpUserBatchDelete          = "https://qyapi.weixin.qq.com/cgi-bin/user/batchdelete"
	CorpUserSimpleList           = "https://qyapi.weixin.qq.com/cgi-bin/user/simplelist"
	CorpUserList                 = "https://qyapi.weixin.qq.com/cgi-bin/user/list"
	CorpUserConvertToOpenID      = "https://qyapi.weixin.qq.com/cgi-bin/user/convert_to_openid"
	CorpUserConvertToUserID      = "https://qyapi.weixin.qq.com/cgi-bin/user/convert_to_userid"
	CorpUserBatchInvite          = "https://qyapi.weixin.qq.com/cgi-bin/batch/invite"
	CorpUserJoinQRCode           = "https://qyapi.weixin.qq.com/cgi-bin/corp/get_join_qrcode"
	CorpUserActiveStat           = "https://qyapi.weixin.qq.com/cgi-bin/user/get_active_stat"
	CorpUserGetUserID            = "https://qyapi.weixin.qq.com/cgi-bin/user/getuserid"
	CorpUserDepartmentCreate     = "https://qyapi.weixin.qq.com/cgi-bin/department/create"
	CorpUserDepartmentUpdate     = "https://qyapi.weixin.qq.com/cgi-bin/department/update"
	CorpUserDepartmentDelete     = "https://qyapi.weixin.qq.com/cgi-bin/department/delete"
	CorpUserDepartmentList       = "https://qyapi.weixin.qq.com/cgi-bin/department/list"
	CorpUserDepartmentSimpleList = "https://qyapi.weixin.qq.com/cgi-bin/department/simplelist"
	CorpUserDepartmentGet        = "https://qyapi.weixin.qq.com/cgi-bin/department/get"
	CorpUserTagCreate            = "https://qyapi.weixin.qq.com/cgi-bin/tag/create"
	CorpUserTagUpdate            = "https://qyapi.weixin.qq.com/cgi-bin/tag/update"
	CorpUserTagDelete            = "https://qyapi.weixin.qq.com/cgi-bin/tag/delete"
	CorpUserTagList              = "https://qyapi.weixin.qq.com/cgi-bin/tag/list"
	CorpUserTagGetUser           = "https://qyapi.weixin.qq.com/cgi-bin/tag/get"
	CorpUserTagAddUser           = "https://qyapi.weixin.qq.com/cgi-bin/tag/addtagusers"
	CorpUserTagDeleteUser        = "https://qyapi.weixin.qq.com/cgi-bin/tag/deltagusers"
	CorpUserBatchSyncUser        = "https://qyapi.weixin.qq.com/cgi-bin/batch/syncuser"
	CorpUserBatchReplaceUser     = "https://qyapi.weixin.qq.com/cgi-bin/batch/replaceuser"
	CorpUserBatchReplaceParty    = "https://qyapi.weixin.qq.com/cgi-bin/batch/replaceparty"
	CorpUserGetBatchResult       = "https://qyapi.weixin.qq.com/cgi-bin/batch/getresult"
	CorpUserExportSimpleUser     = "https://qyapi.weixin.qq.com/cgi-bin/export/simple_user"
	CorpUserExportUser           = "https://qyapi.weixin.qq.com/cgi-bin/export/user"
	CorpUserExportDepartment     = "https://qyapi.weixin.qq.com/cgi-bin/export/department"
	CorpUserExportTagUser        = "https://qyapi.weixin.qq.com/cgi-bin/export/taguser"
	CorpUserGetExportResult      = "https://qyapi.weixin.qq.com/cgi-bin/export/get_result"
)

user

View Source
const (
	CorpLinkedcorpPermList       = "https://qyapi.weixin.qq.com/cgi-bin/linkedcorp/agent/get_perm_list"
	CorpLinkedcorpUserGet        = "https://qyapi.weixin.qq.com/cgi-bin/linkedcorp/user/get"
	CorpLinkedcorpUserSimpleList = "https://qyapi.weixin.qq.com/cgi-bin/linkedcorp/user/simplelist"
	CorpLinkedcorpUserList       = "https://qyapi.weixin.qq.com/cgi-bin/linkedcorp/user/list"
	CorpLinkedcorpDepartmentList = "https://qyapi.weixin.qq.com/cgi-bin/linkedcorp/department/list"
)

linkedcorp

View Source
const (
	CorpExternalContactFollowUserList             = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_follow_user_list"
	CorpExternalContactWayAdd                     = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/add_contact_way"
	CorpExternalContactWayUpdate                  = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/update_contact_way"
	CorpExternalContactWayGet                     = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_contact_way"
	CorpExternalContactWayList                    = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/list_contact_way"
	CorpExternalContactWayDelete                  = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/del_contact_way"
	CorpExternalContactCloseTempChat              = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/close_temp_chat"
	CorpExternalContactList                       = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/list"
	CorpExternalContactGet                        = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get"
	CorpExternalContactBatchGetByUser             = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/batch/get_by_user"
	CorpExternalContactRemark                     = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/remark"
	CorpExternalContactCustomerStrategyCreate     = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/customer_strategy/create"
	CorpExternalContactCustomerStrategyEdit       = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/customer_strategy/edit"
	CorpExternalContactCustomerStrategyList       = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/customer_strategy/list"
	CorpExternalContactCustomerStrategyGet        = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/customer_strategy/get"
	CorpExternalContactCustomerStrategyGetRange   = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/customer_strategy/get_range"
	CorpExternalContactCustomerStrategyDelete     = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/customer_strategy/del"
	CorpExternalContactCorpTagList                = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_corp_tag_list"
	CorpExternalContactCorpTagAdd                 = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/add_corp_tag"
	CorpExternalContactCorpTagEdit                = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/edit_corp_tag"
	CorpExternalContactCorpTagDelete              = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/del_corp_tag"
	CorpExternalContactStrategyTagList            = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_strategy_tag_list"
	CorpExternalContactStrategyTagAdd             = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/add_strategy_tag"
	CorpExternalContactStrategyTagEdit            = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/edit_strategy_tag"
	CorpExternalContactStrategyTagDelete          = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/del_strategy_tag"
	CorpExternalContactMarkTag                    = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/mark_tag"
	CorpExternalContactTransferCustomer           = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/transfer_customer"
	CorpExternalContactTransferResult             = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/transfer_result"
	CorpExternalContactGetUnassignedList          = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_unassigned_list"
	CorpExternalContactTransferResignedCustomer   = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/resigned/transfer_customer"
	CorpExternalContactResignedTransferResult     = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/resigned/transfer_result"
	CorpExternalContactGroupChatTranster          = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/groupchat/transfer"
	CorpExternalContactGroupChatList              = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/groupchat/list"
	CorpExternalContactGroupChatGet               = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/groupchat/get"
	CorpExternalContactOpenGIDToChatID            = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/opengid_to_chatid"
	CorpExternalContactAddMomentTask              = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/add_moment_task"
	CorpExternalContactGetMomentTaskResult        = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_moment_task_result"
	CorpExternalContactGetMomentList              = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_moment_list"
	CorpExternalContactGetMomentTask              = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_moment_task"
	CorpExternalContactGetMomentCustomerList      = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_moment_customer_list"
	CorpExternalContactGetMomentSentResult        = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_moment_send_result"
	CorpExternalContactGetMomentComments          = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_moment_comments"
	CorpExternalContactMomentStrategyList         = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/moment_strategy/list"
	CorpExternalContactMomentStrategyGet          = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/moment_strategy/get"
	CorpExternalContactMomentStrategyGetRange     = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/moment_strategy/get_range"
	CorpExternalContactMomentStrategyCreate       = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/moment_strategy/create"
	CorpExternalContactMomentStrategyEdit         = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/moment_strategy/edit"
	CorpExternalContactMomentStrategyDelete       = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/moment_strategy/del"
	CorpExternalContactAddMsgTemplate             = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/add_msg_template"
	CorpExternalContactGetGroupMsgList            = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_groupmsg_list_v2"
	CorpExternalContactGetGroupMsgTask            = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_groupmsg_task"
	CorpExternalContactGetGroupMsgSendResult      = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_groupmsg_send_result"
	CorpExternalContactSendWelcomeMsg             = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/send_welcome_msg"
	CorpExternalContactGroupWelcomeTemplateAdd    = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/group_welcome_template/add"
	CorpExternalContactGroupWelcomeTemplateEdit   = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/group_welcome_template/edit"
	CorpExternalContactGroupWelcomeTemplateGet    = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/group_welcome_template/get"
	CorpExternalContactGroupWelcomeTemplateDelete = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/group_welcome_template/del"
	CorpExternalContactGetUserBehaviorData        = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_user_behavior_data"
	CorpExternalContactGroupChatStatistic         = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/groupchat/statistic"
	CorpExternalContactGroupChatStatisticByDay    = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/groupchat/statistic_group_by_day"
	CorpExternalContactProductAlbumAdd            = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/add_product_album"
	CorpExternalContactProductAlbumUpdate         = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/update_product_album"
	CorpExternalContactProductAlbumGet            = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_product_album"
	CorpExternalContactProductAlbumList           = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_product_album_list"
	CorpExternalContactProductAlbumDelete         = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/delete_product_album"
	CorpExternalContactInterceptRuleAdd           = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/add_intercept_rule"
	CorpExternalContactInterceptRuleUpdate        = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/update_intercept_rule"
	CorpExternalContactInterceptRuleGet           = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_intercept_rule"
	CorpExternalContactInterceptRuleList          = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_intercept_rule_list"
	CorpExternalContactInterceptRuleDelete        = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/del_intercept_rule"
	CorpExternalContactConvertToOpenID            = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/convert_to_openid"
	CorpExternalContactUploadAttachment           = "https://qyapi.weixin.qq.com/cgi-bin/media/upload_attachment"
)

externalcontact

View Source
const (
	CorpKFAccountAdd              = "https://qyapi.weixin.qq.com/cgi-bin/kf/account/add"
	CorpKFAccountDelete           = "https://qyapi.weixin.qq.com/cgi-bin/kf/account/del"
	CorpKFAccountUpdate           = "https://qyapi.weixin.qq.com/cgi-bin/kf/account/update"
	CorpKFAccountList             = "https://qyapi.weixin.qq.com/cgi-bin/kf/account/list"
	CorpKFAddContactWay           = "https://qyapi.weixin.qq.com/cgi-bin/kf/add_contact_way"
	CorpKFServicerAdd             = "https://qyapi.weixin.qq.com/cgi-bin/kf/servicer/add"
	CorpKFServicerDelete          = "https://qyapi.weixin.qq.com/cgi-bin/kf/servicer/del"
	CorpKFServicerList            = "https://qyapi.weixin.qq.com/cgi-bin/kf/servicer/list"
	CorpKFServiceStateGet         = "https://qyapi.weixin.qq.com/cgi-bin/kf/service_state/get"
	CorpKFServiceStateTransfer    = "https://qyapi.weixin.qq.com/cgi-bin/kf/service_state/trans"
	CorpKFSyncMsg                 = "https://qyapi.weixin.qq.com/cgi-bin/kf/sync_msg"
	CorpKFSendMsg                 = "https://qyapi.weixin.qq.com/cgi-bin/kf/send_msg"
	CorpKFSendMsgOnEvent          = "https://qyapi.weixin.qq.com/cgi-bin/kf/send_msg_on_event"
	CorpKFCustomerBatchGet        = "https://qyapi.weixin.qq.com/cgi-bin/kf/customer/batchget"
	CorpKFGetUpgradeServiceConfig = "https://qyapi.weixin.qq.com/cgi-bin/kf/customer/get_upgrade_service_config"
	CorpKFUpgradeService          = "https://qyapi.weixin.qq.com/cgi-bin/kf/customer/upgrade_service"
	CorpKFCancelUpgradeService    = "https://qyapi.weixin.qq.com/cgi-bin/kf/customer/cancel_upgrade_service"
)

kf

View Source
const (
	CorpAgentGet             = "https://qyapi.weixin.qq.com/cgi-bin/agent/get"
	CorpAgentList            = "https://qyapi.weixin.qq.com/cgi-bin/agent/list"
	CorpAgentSet             = "https://qyapi.weixin.qq.com/cgi-bin/agent/set"
	CorpMenuCreate           = "https://qyapi.weixin.qq.com/cgi-bin/menu/create"
	CorpMenuGet              = "https://qyapi.weixin.qq.com/cgi-bin/menu/get"
	CorpMenuDelete           = "https://qyapi.weixin.qq.com/cgi-bin/menu/delete"
	CorpSetWorkbenchTemplate = "https://qyapi.weixin.qq.com/cgi-bin/agent/set_workbench_template"
	CorpGetWorkbenchTemplate = "https://qyapi.weixin.qq.com/cgi-bin/agent/get_workbench_template"
	CorpSetWorkbenchData     = "https://qyapi.weixin.qq.com/cgi-bin/agent/set_workbench_data"
)

agent

View Source
const (
	CorpMessageSend                = "https://qyapi.weixin.qq.com/cgi-bin/message/send"
	CorpMessageUpdateTemplateCard  = "https://qyapi.weixin.qq.com/cgi-bin/message/update_template_card"
	CorpMessageRecall              = "https://qyapi.weixin.qq.com/cgi-bin/message/recall"
	CorpAppchatCreate              = "https://qyapi.weixin.qq.com/cgi-bin/appchat/create"
	CorpAppchatUpdate              = "https://qyapi.weixin.qq.com/cgi-bin/appchat/update"
	CorpAppchatGet                 = "https://qyapi.weixin.qq.com/cgi-bin/appchat/get"
	CorpAppchatSend                = "https://qyapi.weixin.qq.com/cgi-bin/appchat/send"
	CorpLinkedcorpMessageSend      = "https://qyapi.weixin.qq.com/cgi-bin/linkedcorp/message/send"
	CorpExternalContactMessageSend = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/message/send"
)

message

View Source
const (
	CorpMediaUpload    = "https://qyapi.weixin.qq.com/cgi-bin/media/upload"
	CorpMediaUploadImg = "https://qyapi.weixin.qq.com/cgi-bin/media/uploadimg"
	CorpMediaGet       = "https://qyapi.weixin.qq.com/cgi-bin/media/get"
	CorpMediaGetJSSDK  = "https://qyapi.weixin.qq.com/cgi-bin/media/get/jssdk"
)

media

View Source
const (
	CorpOAGetCorpCheckinOption                 = "https://qyapi.weixin.qq.com/cgi-bin/checkin/getcorpcheckinoption"
	CorpOAGetCheckinOption                     = "https://qyapi.weixin.qq.com/cgi-bin/checkin/getcheckinoption"
	CorpOAGetCheckinData                       = "https://qyapi.weixin.qq.com/cgi-bin/checkin/getcheckindata"
	CorpOAGetCheckinDayData                    = "https://qyapi.weixin.qq.com/cgi-bin/checkin/getcheckin_daydata"
	CorpOAGetCheckinMonthData                  = "https://qyapi.weixin.qq.com/cgi-bin/checkin/getcheckin_monthdata"
	CorpOAGetCheckinScheduleList               = "https://qyapi.weixin.qq.com/cgi-bin/checkin/getcheckinschedulist"
	CorpOASetCheckinScheduleList               = "https://qyapi.weixin.qq.com/cgi-bin/checkin/setcheckinschedulist"
	CorpOAAddCheckinUserFace                   = "https://qyapi.weixin.qq.com/cgi-bin/checkin/addcheckinuserface"
	CorpOAGetHardwareCheckinData               = "https://qyapi.weixin.qq.com/cgi-bin/hardware/get_hardware_checkin_data"
	CorpOAGetTemplateDetail                    = "https://qyapi.weixin.qq.com/cgi-bin/oa/gettemplatedetail"
	CorpOAApplyEvent                           = "https://qyapi.weixin.qq.com/cgi-bin/oa/applyevent"
	CorpOAGetApprovalInfo                      = "https://qyapi.weixin.qq.com/cgi-bin/oa/getapprovalinfo"
	CorpOAGetApprovalDetail                    = "https://qyapi.weixin.qq.com/cgi-bin/oa/getapprovaldetail"
	CorpOAGetVacationCorpConf                  = "https://qyapi.weixin.qq.com/cgi-bin/oa/vacation/getcorpconf"
	CorpOAGetUserVacationQuota                 = "https://qyapi.weixin.qq.com/cgi-bin/oa/vacation/getuservacationquota"
	CorpOASetOneUserVacationQuota              = "https://qyapi.weixin.qq.com/cgi-bin/oa/vacation/setoneuserquota"
	CorpOAGetJournalRecordList                 = "https://qyapi.weixin.qq.com/cgi-bin/oa/journal/get_record_list"
	CorpOAGetJournalRecordDetail               = "https://qyapi.weixin.qq.com/cgi-bin/oa/journal/get_record_detail"
	CorpOAGetJournalStatList                   = "https://qyapi.weixin.qq.com/cgi-bin/oa/journal/get_stat_list"
	CorpOAGetOpenApprovalData                  = "https://qyapi.weixin.qq.com/cgi-bin/corp/getopenapprovaldata"
	CorpOAMeetingRoomAdd                       = "https://qyapi.weixin.qq.com/cgi-bin/oa/meetingroom/add"
	CorpOAMeetingRoomList                      = "https://qyapi.weixin.qq.com/cgi-bin/oa/meetingroom/list"
	CorpOAMeetingRoomEdit                      = "https://qyapi.weixin.qq.com/cgi-bin/oa/meetingroom/edit"
	CorpOAMeetingRoomDelete                    = "https://qyapi.weixin.qq.com/cgi-bin/oa/meetingroom/del"
	CorpOAGetMeetingRoomBookingInfo            = "https://qyapi.weixin.qq.com/cgi-bin/oa/meetingroom/get_booking_info"
	CorpOAMeetingRoomBook                      = "https://qyapi.weixin.qq.com/cgi-bin/oa/meetingroom/book"
	CorpOAMeetingRoomCancelBook                = "https://qyapi.weixin.qq.com/cgi-bin/oa/meetingroom/cancel_book"
	CorpOAGetMeetingRoomBookingInfoByMeetingID = "https://qyapi.weixin.qq.com/cgi-bin/oa/meetingroom/get_booking_info_by_meeting_id"
	CorpOACallPstncc                           = "https://qyapi.weixin.qq.com/cgi-bin/pstncc/call"
	CorpOAGetPstnccStates                      = "https://qyapi.weixin.qq.com/cgi-bin/pstncc/getstates"
)

OA

View Source
const (
	CorpToolsCalendarAdd              = "https://qyapi.weixin.qq.com/cgi-bin/oa/calendar/add"
	CorpToolsCalendarUpdate           = "https://qyapi.weixin.qq.com/cgi-bin/oa/calendar/update"
	CorpToolsCalendarGet              = "https://qyapi.weixin.qq.com/cgi-bin/oa/calendar/get"
	CorpToolsCalendarDelete           = "https://qyapi.weixin.qq.com/cgi-bin/oa/calendar/del"
	CorpToolsScheduleAdd              = "https://qyapi.weixin.qq.com/cgi-bin/oa/schedule/add"
	CorpToolsScheduleUpdate           = "https://qyapi.weixin.qq.com/cgi-bin/oa/schedule/update"
	CorpToolsScheduleGet              = "https://qyapi.weixin.qq.com/cgi-bin/oa/schedule/get"
	CorpToolsScheduleDelete           = "https://qyapi.weixin.qq.com/cgi-bin/oa/schedule/del"
	CorpToolsScheduleGetByCalendar    = "https://qyapi.weixin.qq.com/cgi-bin/oa/schedule/get_by_calendar"
	CorpToolsScheduleAttendeeAdd      = "https://qyapi.weixin.qq.com/cgi-bin/oa/schedule/add_attendees"
	CorpToolsScheduleAttendeeDelete   = "https://qyapi.weixin.qq.com/cgi-bin/oa/schedule/del_attendees"
	CorpToolsLivingCreate             = "https://qyapi.weixin.qq.com/cgi-bin/living/create"
	CorpToolsLivingModify             = "https://qyapi.weixin.qq.com/cgi-bin/living/modify"
	CorpToolsLivingCancel             = "https://qyapi.weixin.qq.com/cgi-bin/living/cancel"
	CorpToolsLivingDeleteReplayData   = "https://qyapi.weixin.qq.com/cgi-bin/living/delete_replay_data"
	CorpToolsLivingGetCode            = "https://qyapi.weixin.qq.com/cgi-bin/living/get_living_code"
	CorpToolsLivingGetUserAllLivingID = "https://qyapi.weixin.qq.com/cgi-bin/living/get_user_all_livingid"
	CorpToolsLivingGetInfo            = "https://qyapi.weixin.qq.com/cgi-bin/living/get_living_info"
	CorpToolsLivingGetWatchStat       = "https://qyapi.weixin.qq.com/cgi-bin/living/get_watch_stat"
	CorpToolsLivingGetShareInfo       = "https://qyapi.weixin.qq.com/cgi-bin/living/get_living_share_info"
	CorpToolsWedriveSpaceCreate       = "https://qyapi.weixin.qq.com/cgi-bin/wedrive/space_create"
	CorpToolsWedriveSpaceRename       = "https://qyapi.weixin.qq.com/cgi-bin/wedrive/space_rename"
	CorpToolsWedriveSpaceDismiss      = "https://qyapi.weixin.qq.com/cgi-bin/wedrive/space_dismiss"
	CorpToolsWedriveSpaceInfo         = "https://qyapi.weixin.qq.com/cgi-bin/wedrive/space_info"
	CorpToolsWedriveSpaceAclAdd       = "https://qyapi.weixin.qq.com/cgi-bin/wedrive/space_acl_add"
	CorpToolsWedriveSpaceAclDelete    = "https://qyapi.weixin.qq.com/cgi-bin/wedrive/space_acl_del"
	CorpToolsWedriveSpaceSetting      = "https://qyapi.weixin.qq.com/cgi-bin/wedrive/space_setting"
	CorpToolsWedriveSpaceShare        = "https://qyapi.weixin.qq.com/cgi-bin/wedrive/space_share"
	CorpToolsWedriveFileList          = "https://qyapi.weixin.qq.com/cgi-bin/wedrive/file_list"
	CorpToolsWedriveFileUpload        = "https://qyapi.weixin.qq.com/cgi-bin/wedrive/file_upload"
	CorpToolsWedriveFileDownload      = "https://qyapi.weixin.qq.com/cgi-bin/wedrive/file_download"
	CorpToolsWedriveFileCreate        = "https://qyapi.weixin.qq.com/cgi-bin/wedrive/file_create"
	CorpToolsWedriveFileRename        = "https://qyapi.weixin.qq.com/cgi-bin/wedrive/file_rename"
	CorpToolsWedriveFileMove          = "https://qyapi.weixin.qq.com/cgi-bin/wedrive/file_move"
	CorpToolsWedriveFileDelete        = "https://qyapi.weixin.qq.com/cgi-bin/wedrive/file_delete"
	CorpToolsWedriveFileInfo          = "https://qyapi.weixin.qq.com/cgi-bin/wedrive/file_info"
	CorpToolsWedriveFileAclAdd        = "https://qyapi.weixin.qq.com/cgi-bin/wedrive/file_acl_add"
	CorpToolsWedriveFileAclDelete     = "https://qyapi.weixin.qq.com/cgi-bin/wedrive/file_acl_del"
	CorpToolsWedriveFileSetting       = "https://qyapi.weixin.qq.com/cgi-bin/wedrive/file_setting"
	CorpToolsWedriveFileShare         = "https://qyapi.weixin.qq.com/cgi-bin/wedrive/file_share"
	CorpToolsDialRecordGet            = "https://qyapi.weixin.qq.com/cgi-bin/dial/get_dial_record"
)

tools

View Source
const (
	CorpPaymentMerchantAdd    = "https://qyapi.weixin.qq.com/cgi-bin/externalpay/addmerchant"
	CorpPaymentMerchantGet    = "https://qyapi.weixin.qq.com/cgi-bin/externalpay/getmerchant"
	CorpPaymentMerchantDelete = "https://qyapi.weixin.qq.com/cgi-bin/externalpay/delmerchant"
	CorpPaymentMchUseScopeSet = "https://qyapi.weixin.qq.com/cgi-bin/externalpay/set_mch_use_scope"
	CorpPaymentBillListGet    = "https://qyapi.weixin.qq.com/cgi-bin/externalpay/get_bill_list"
)

payment

View Source
const (
	CorpGroupListAppShareInfo        = "https://qyapi.weixin.qq.com/cgi-bin/corpgroup/corp/list_app_share_info"
	CorpGroupGetAccessToken          = "https://qyapi.weixin.qq.com/cgi-bin/corpgroup/corp/gettoken"
	CorpGroupMinipTransferSession    = "https://qyapi.weixin.qq.com/cgi-bin/miniprogram/transfer_session"
	CorpGroupGetChainList            = "https://qyapi.weixin.qq.com/cgi-bin/corpgroup/corp/get_chain_list"
	CorpGroupGetChainGroup           = "https://qyapi.weixin.qq.com/cgi-bin/corpgroup/corp/get_chain_group"
	CorpGroupGetChainCorpInfoList    = "https://qyapi.weixin.qq.com/cgi-bin/corpgroup/corp/get_chain_corpinfo_list"
	CorpGroupUnionIDToExternalUserID = "https://qyapi.weixin.qq.com/cgi-bin/corpgroup/unionid_to_external_userid"
)

cropgroup

View Source
const (
	CorpMsgAuditGetPermitUserList = "https://qyapi.weixin.qq.com/cgi-bin/msgaudit/get_permit_user_list"
	CorpMsgAuditCheckSingleAgree  = "https://qyapi.weixin.qq.com/cgi-bin/msgaudit/check_single_agree"
	CorpMsgAuditCheckRoomAgree    = "https://qyapi.weixin.qq.com/cgi-bin/msgaudit/check_room_agree"
	CorpMsgAuditGroupChatGet      = "https://qyapi.weixin.qq.com/cgi-bin/msgaudit/groupchat/get"
)

msgaudit

View Source
const (
	CorpInvoiceGetInfo           = "https://qyapi.weixin.qq.com/cgi-bin/card/invoice/reimburse/getinvoiceinfo"
	CorpInvoiceBatchGetInfo      = "https://qyapi.weixin.qq.com/cgi-bin/card/invoice/reimburse/getinvoiceinfobatch"
	CorpInvoiceUpdateStatus      = "https://qyapi.weixin.qq.com/cgi-bin/card/invoice/reimburse/updateinvoicestatus"
	CorpInvoiceBatchUpdateStatus = "https://qyapi.weixin.qq.com/cgi-bin/card/invoice/reimburse/updatestatusbatch"
)

invoice

View Source
const (
	CorpSchoolGetSubscribeQRCode            = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_subscribe_qr_code"
	CorpSchoolSetSubscribeMode              = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/set_subscribe_mode"
	CorpSchoolGetSubscribeMode              = "https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_subscribe_mode"
	CorpSchoolGetAgentAllowScope            = "https://qyapi.weixin.qq.com/cgi-bin/school/agent/get_allow_scope"
	CorpSchoolStudentCreate                 = "https://qyapi.weixin.qq.com/cgi-bin/school/user/create_student"
	CorpSchoolStudentBatchCreate            = "https://qyapi.weixin.qq.com/cgi-bin/school/user/batch_create_student"
	CorpSchoolStudentDelete                 = "https://qyapi.weixin.qq.com/cgi-bin/school/user/delete_student"
	CorpSchoolStudentBatchDelete            = "https://qyapi.weixin.qq.com/cgi-bin/school/user/batch_delete_student"
	CorpSchoolStudentUpdate                 = "https://qyapi.weixin.qq.com/cgi-bin/school/user/update_student"
	CorpSchoolStudentBatchUpdate            = "https://qyapi.weixin.qq.com/cgi-bin/school/user/batch_update_student"
	CorpSchoolParentCreate                  = "https://qyapi.weixin.qq.com/cgi-bin/school/user/create_parent"
	CorpSchoolParentBatchCreate             = "https://qyapi.weixin.qq.com/cgi-bin/school/user/batch_create_parent"
	CorpSchoolParentDelete                  = "https://qyapi.weixin.qq.com/cgi-bin/school/user/delete_parent"
	CorpSchoolParentBatchDelete             = "https://qyapi.weixin.qq.com/cgi-bin/school/user/batch_delete_parent"
	CorpSchoolParentUpdate                  = "https://qyapi.weixin.qq.com/cgi-bin/school/user/update_parent"
	CorpSchoolParentBatchUpdate             = "https://qyapi.weixin.qq.com/cgi-bin/school/user/batch_update_parent"
	CorpSchoolUserGet                       = "https://qyapi.weixin.qq.com/cgi-bin/school/user/get"
	CorpSchoolUserList                      = "https://qyapi.weixin.qq.com/cgi-bin/school/user/list"
	CorpSchoolSetArchSyncMode               = "https://qyapi.weixin.qq.com/cgi-bin/school/set_arch_sync_mode"
	CorpSchoolParentList                    = "https://qyapi.weixin.qq.com/cgi-bin/school/user/list_parent"
	CorpSchoolDepartmentCreate              = "https://qyapi.weixin.qq.com/cgi-bin/school/department/create"
	CorpSchoolDepartmentUpdate              = "https://qyapi.weixin.qq.com/cgi-bin/school/department/update"
	CorpSchoolDepartmentDelete              = "https://qyapi.weixin.qq.com/cgi-bin/school/department/delete"
	CorpSchoolDepartmentList                = "https://qyapi.weixin.qq.com/cgi-bin/school/department/list"
	CorpSchoolSetUpgradeInfo                = "https://qyapi.weixin.qq.com/cgi-bin/school/set_upgrade_info"
	CorpSchoolGetHealthReportStat           = "https://qyapi.weixin.qq.com/cgi-bin/health/get_health_report_stat"
	CorpSchoolGetHealthReportJobIDs         = "https://qyapi.weixin.qq.com/cgi-bin/health/get_report_jobids"
	CorpSchoolGetHealthReportJobInfo        = "https://qyapi.weixin.qq.com/cgi-bin/health/get_report_job_info"
	CorpSchoolGetHealthReportAnswer         = "https://qyapi.weixin.qq.com/cgi-bin/health/get_report_answer"
	CorpSchoolGetTeacherCustomizeHealthInfo = "https://qyapi.weixin.qq.com/cgi-bin/school/user/get_teacher_customize_health_info"
	CorpSchoolGetStudentCustomizeHealthInfo = "https://qyapi.weixin.qq.com/cgi-bin/school/user/get_student_customize_health_info"
	CorpSchoolGetHealthQRCode               = "https://qyapi.weixin.qq.com/cgi-bin/school/user/get_health_qrcode"
	CorpSchoolGetUserAllLivingID            = "https://qyapi.weixin.qq.com/cgi-bin/living/get_user_all_livingid"
	CorpSchoolGetLivingInfo                 = "https://qyapi.weixin.qq.com/cgi-bin/school/living/get_living_info"
	CorpSchoolGetLivingWatchStat            = "https://qyapi.weixin.qq.com/cgi-bin/school/living/get_watch_stat"
	CorpSchoolGetLivingUnwatchStat          = "https://qyapi.weixin.qq.com/cgi-bin/school/living/get_unwatch_stat"
	CorpSchoolDeleteLivingReplayData        = "https://qyapi.weixin.qq.com/cgi-bin/living/delete_replay_data"
	CorpSchoolGetPaymentResult              = "https://qyapi.weixin.qq.com/cgi-bin/school/get_payment_result"
	CorpSchoolGetTrade                      = "https://qyapi.weixin.qq.com/cgi-bin/school/get_trade"
)

school

View Source
const (
	CorpReportGridAdd                   = "https://qyapi.weixin.qq.com/cgi-bin/report/grid/add"
	CorpReportGridUpdate                = "https://qyapi.weixin.qq.com/cgi-bin/report/grid/update"
	CorpReportGridDelete                = "https://qyapi.weixin.qq.com/cgi-bin/report/grid/delete"
	CorpReportGridList                  = "https://qyapi.weixin.qq.com/cgi-bin/report/grid/list"
	CorpReportGetUserGridInfo           = "https://qyapi.weixin.qq.com/cgi-bin/report/grid/get_user_grid_info"
	CorpReportGridCataAdd               = "https://qyapi.weixin.qq.com/cgi-bin/report/grid/add_cata"
	CorpReportGridCataUpdate            = "https://qyapi.weixin.qq.com/cgi-bin/report/grid/update_cata"
	CorpReportGridCataDelete            = "https://qyapi.weixin.qq.com/cgi-bin/report/grid/delete_cata"
	CorpReportGridCataList              = "https://qyapi.weixin.qq.com/cgi-bin/report/grid/list_cata"
	CorpReportGetPatrolGridInfo         = "https://qyapi.weixin.qq.com/cgi-bin/report/patrol/get_grid_info"
	CorpReportGetPatrolCorpStatus       = "https://qyapi.weixin.qq.com/cgi-bin/report/patrol/get_corp_status"
	CorpReportGetPatrolUserStatus       = "https://qyapi.weixin.qq.com/cgi-bin/report/patrol/get_user_status"
	CorpReportPatrolCategoryStatistic   = "https://qyapi.weixin.qq.com/cgi-bin/report/patrol/category_statistic"
	CorpReportGetPatrolOrderList        = "https://qyapi.weixin.qq.com/cgi-bin/report/patrol/get_order_list"
	CorpReportGetPatrolOrderInfo        = "https://qyapi.weixin.qq.com/cgi-bin/report/patrol/get_order_info"
	CorpReportGetResidentGridInfo       = "https://qyapi.weixin.qq.com/cgi-bin/report/resident/get_grid_info"
	CorpReportGetResidentCorpStatus     = "https://qyapi.weixin.qq.com/cgi-bin/report/resident/get_corp_status"
	CorpReportGetResidentUserStatus     = "https://qyapi.weixin.qq.com/cgi-bin/report/resident/get_user_status"
	CorpReportResidentCategoryStatistic = "https://qyapi.weixin.qq.com/cgi-bin/report/resident/category_statistic"
	CorpReportGetResidentOrderList      = "https://qyapi.weixin.qq.com/cgi-bin/report/resident/get_order_list"
	CorpReportGetResidentOrderInfo      = "https://qyapi.weixin.qq.com/cgi-bin/report/resident/get_order_info"
	CorpReportGetSiteCodeList           = "https://qyapi.weixin.qq.com/cgi-bin/report/sitecode/list"
	CorpReportGetSiteCodeReportInfo     = "https://qyapi.weixin.qq.com/cgi-bin/report/sitecode/get_site_report_info"
	CorpReportGetSiteCodeReportAnswer   = "https://qyapi.weixin.qq.com/cgi-bin/report/sitecode/get_report_answer"
)

report

View Source
const (
	CorpQYTicket    = "https://qyapi.weixin.qq.com/cgi-bin/get_jsapi_ticket"
	CorpAgentTicket = "https://qyapi.weixin.qq.com/cgi-bin/ticket/get"
)

jsapi

View Source
const (
	MchRSAPublicKey     = "https://fraud.mch.weixin.qq.com/risk/getpublickey"
	MchToolsShortURL    = "https://api.mch.weixin.qq.com/tools/shorturl"
	MchAuthCodeToOpenID = "https://api.mch.weixin.qq.com/tools/authcodetoopenid"
)
View Source
const (
	MchOrderUnify   = "https://api.mch.weixin.qq.com/pay/unifiedorder"   // 统一下单
	MchOrderQuery   = "https://api.mch.weixin.qq.com/pay/orderquery"     // 订单查询
	MchOrderClose   = "https://api.mch.weixin.qq.com/pay/closeorder"     // 订单关闭
	MchOrderReverse = "https://api.mch.weixin.qq.com/secapi/pay/reverse" // 撤销订单
)

order

View Source
const (
	MchRefundApply = "https://api.mch.weixin.qq.com/secapi/pay/refund" // 申请退款
	MchRefundQuery = "https://api.mch.weixin.qq.com/pay/refundquery"   // 退款查询
)

refund

View Source
const (
	MchPappayAPPEntrust     = "https://api.mch.weixin.qq.com/papay/preentrustweb"  // APP纯签约
	MchPappayOAEntrust      = "https://api.mch.weixin.qq.com/papay/entrustweb"     // 公众号纯签约
	MchPappayH5Entrust      = "https://api.mch.weixin.qq.com/papay/h5entrustweb"   // H5纯签约
	MchPappayContractOrder  = "https://api.mch.weixin.qq.com/pay/contractorder"    // 支付中签约
	MchPappayContractQuery  = "https://api.mch.weixin.qq.com/papay/querycontract"  // 签约查询
	MchPappayContractDelete = "https://api.mch.weixin.qq.com/papay/deletecontract" // 申请解约
	MchPappayApply          = "https://api.mch.weixin.qq.com/pay/pappayapply"      // 申请扣款
	MchPappayOrderQuery     = "https://api.mch.weixin.qq.com/pay/paporderquery"    // 扣款查询
)

pappay

View Source
const (
	MchTransferToBalance          = "https://api.mch.weixin.qq.com/mmpaymkttransfers/promotion/transfers"             // 企业付款到零钱
	MchTransferBalanceOrderQuery  = "https://api.mch.weixin.qq.com/mmpaymkttransfers/gettransferinfo"                 // 企业付款到零钱订单查询
	MchTransferToBankCard         = "https://api.mch.weixin.qq.com/mmpaysptrans/pay_bank"                             // 企业付款到银行卡
	MchTransferBankCardOrderQuery = "https://api.mch.weixin.qq.com/mmpaysptrans/query_bank"                           // 企业付款到银行卡订单查询
	MchTransferToPocket           = "https://api.mch.weixin.qq.com/mmpaymkttransfers/promotion/paywwsptrans2pocket"   // 企业向员工付款
	MchTransferPocketOrderQuery   = "https://api.mch.weixin.qq.com/mmpaymkttransfers/promotion/querywwsptrans2pocket" // 企业向员工付款订单查询
)

transfer

View Source
const (
	MchRedpackNormal    = "https://api.mch.weixin.qq.com/mmpaymkttransfers/sendredpack"        // 普通红包
	MchRedpackGroup     = "https://api.mch.weixin.qq.com/mmpaymkttransfers/sendgroupredpack"   // 裂变红包
	MchRedpackMinip     = "https://api.mch.weixin.qq.com/mmpaymkttransfers/sendminiprogramhb"  // 小程序红包
	MchRedpackQuery     = "https://api.mch.weixin.qq.com/mmpaymkttransfers/gethbinfo"          // 红包查询
	MchRedpackCorp      = "https://api.mch.weixin.qq.com/mmpaymkttransfers/sendworkwxredpack"  // 企业红包
	MchRedpackCorpQuery = "https://api.mch.weixin.qq.com/mmpaymkttransfers/queryworkwxredpack" // 企业红包查询
)

redpack

View Source
const (
	MchDownloadBill      = "https://api.mch.weixin.qq.com/pay/downloadbill"                // 下载交易账单
	MchDownloadFundFlow  = "https://api.mch.weixin.qq.com/pay/downloadfundflow"            // 下载资金账单
	MchBatchQueryComment = "https://api.mch.weixin.qq.com/billcommentsp/batchquerycomment" // 拉取订单评价数据
)

other

View Source
const (
	MinipAccessToken        = "https://api.weixin.qq.com/cgi-bin/token"
	MinipCode2Session       = "https://api.weixin.qq.com/sns/jscode2session"
	MinipPhoneNumber        = "https://api.weixin.qq.com/wxa/business/getuserphonenumber"
	MinipEncryptedDataCheck = "https://api.weixin.qq.com/wxa/business/checkencryptedmsg"
	MinipPaidUnion          = "https://api.weixin.qq.com/wxa/getpaidunionid"
)

auth

View Source
const (
	MinipUniformMsgSend   = "https://api.weixin.qq.com/cgi-bin/message/wxopen/template/uniform_send"
	MinipSubscribeMsgSend = "https://api.weixin.qq.com/cgi-bin/message/subscribe/send"
	MinipKFMsgSend        = "https://api.weixin.qq.com/cgi-bin/message/custom/send"
	MinipKFTypingSend     = "https://api.weixin.qq.com/cgi-bin/message/custom/typing"
)

message

View Source
const (
	MinipQRCodeCreate     = "https://api.weixin.qq.com/cgi-bin/wxaapp/createwxaqrcode"
	MinipQRCodeGet        = "https://api.weixin.qq.com/wxa/getwxacode"
	MinipQRCodeGetUnlimit = "https://api.weixin.qq.com/wxa/getwxacodeunlimit"
)

qrcode

View Source
const (
	MinipMediaUpload = "https://api.weixin.qq.com/cgi-bin/media/upload"
	MinipMediaGet    = "https://api.weixin.qq.com/cgi-bin/media/get"
)

media

View Source
const (
	MinipPluginManage    = "https://api.weixin.qq.com/wxa/plugin"
	MinipPluginDevManage = "https://api.weixin.qq.com/wxa/devplugin"
)

plugin

View Source
const (
	MinipImageSecCheck   = "https://api.weixin.qq.com/wxa/img_sec_check"
	MinipMediaCheckAsync = "https://api.weixin.qq.com/wxa/media_check_async"
	MinipMsgSecCheck     = "https://api.weixin.qq.com/wxa/msg_sec_check"
)

security

View Source
const (
	MinipAICrop          = "https://api.weixin.qq.com/cv/img/aicrop"
	MinipScanQRCode      = "https://api.weixin.qq.com/cv/img/qrcode"
	MinipSuperreSolution = "https://api.weixin.qq.com/cv/img/superresolution"
)

image

View Source
const (
	MinipOCRIDCard          = "https://api.weixin.qq.com/cv/ocr/idcard"
	MinipOCRBankCard        = "https://api.weixin.qq.com/cv/ocr/bankcard"
	MinipOCRPlateNumber     = "https://api.weixin.qq.com/cv/ocr/platenum"
	MinipOCRDriverLicense   = "https://api.weixin.qq.com/cv/ocr/drivinglicense"
	MinipOCRVehicleLicense  = "https://api.weixin.qq.com/cv/ocr/driving"
	MinipOCRBusinessLicense = "https://api.weixin.qq.com/cv/ocr/bizlicense"
	MinipOCRComm            = "https://api.weixin.qq.com/cv/ocr/comm"
)

ocr

View Source
const (
	MinipSubscribeAddTemplate            = "https://api.weixin.qq.com/wxaapi/newtmpl/addtemplate"
	MinipSubscribeDeleteTemplate         = "https://api.weixin.qq.com/wxaapi/newtmpl/deltemplate"
	MinipSubscribeGetCategory            = "https://api.weixin.qq.com/wxaapi/newtmpl/getcategory"
	MinipSubscribeGetPubTemplateKeyWords = "https://api.weixin.qq.com/wxaapi/newtmpl/getpubtemplatekeywords"
	MinipSubscribeGetPubTemplateTitles   = "https://api.weixin.qq.com/wxaapi/newtmpl/getpubtemplatetitles"
	MinipSubscribeGetTemplateList        = "https://api.weixin.qq.com/wxaapi/newtmpl/gettemplate"
)

subscribe

View Source
const (
	MinipInvokeService   = "https://api.weixin.qq.com/wxa/servicemarket"
	MinipSoterVerify     = "https://api.weixin.qq.com/cgi-bin/soter/verify_signature"
	MinipShortLink       = "https://api.weixin.qq.com/wxa/genwxashortlink"
	MinipUserRiskRank    = "https://api.weixin.qq.com/wxa/getuserriskrank"
	MinipGenerateScheme  = "https://api.weixin.qq.com/wxa/generatescheme"
	MinipQueryScheme     = "https://api.weixin.qq.com/wxa/queryscheme"
	MinipGenerateURLLink = "https://api.weixin.qq.com/wxa/generate_urllink"
	MinipQueryURLLink    = "https://api.weixin.qq.com/wxa/query_urllink"
)

other

View Source
const (
	Oauth2Authorize  = "https://open.weixin.qq.com/connect/oauth2/authorize"
	SubscribeMsgAuth = "https://mp.weixin.qq.com/mp/subscribemsg"
)

oauth

View Source
const (
	OffiaCgiBinAccessToken = "https://api.weixin.qq.com/cgi-bin/token"
	OffiaCgiBinTicket      = "https://api.weixin.qq.com/cgi-bin/ticket/getticket"
)

cgi-bin

View Source
const (
	OffiaMenuCreate            = "https://api.weixin.qq.com/cgi-bin/menu/create"
	OffiaGetCurSelfMenuInfo    = "https://api.weixin.qq.com/cgi-bin/get_current_selfmenu_info"
	OffiaMenuAddConditional    = "https://api.weixin.qq.com/cgi-bin/menu/addconditional"
	OffiaMenuTryMatch          = "https://api.weixin.qq.com/cgi-bin/menu/trymatch"
	OffiaMenuGet               = "https://api.weixin.qq.com/cgi-bin/menu/get"
	OffiaMenuDelete            = "https://api.weixin.qq.com/cgi-bin/menu/delete"
	OffiaMenuDeleteConditional = "https://api.weixin.qq.com/cgi-bin/menu/delconditional"
)

menu

View Source
const (
	OffiaSnsCode2Token         = "https://api.weixin.qq.com/sns/oauth2/access_token"
	OffiaSnsCheckAccessToken   = "https://api.weixin.qq.com/sns/auth"
	OffiaSnsRefreshAccessToken = "https://api.weixin.qq.com/sns/oauth2/refresh_token"
	OffiaSnsUserInfo           = "https://api.weixin.qq.com/sns/userinfo"
)

sns

View Source
const (
	OffiaTagCreate        = "https://api.weixin.qq.com/cgi-bin/tags/create"
	OffiaTagUpdate        = "https://api.weixin.qq.com/cgi-bin/tags/update"
	OffiaTagGet           = "https://api.weixin.qq.com/cgi-bin/tags/get"
	OffiaTagDelete        = "https://api.weixin.qq.com/cgi-bin/tags/delete"
	OffiaTagUserGet       = "https://api.weixin.qq.com/cgi-bin/user/tag/get"
	OffiaBatchTagging     = "https://api.weixin.qq.com/cgi-bin/tags/members/batchtagging"
	OffiaBatchUnTagging   = "https://api.weixin.qq.com/cgi-bin/tags/members/batchuntagging"
	OffiaTagGetIDList     = "https://api.weixin.qq.com/cgi-bin/tags/getidlist"
	OffiaUserGet          = "https://api.weixin.qq.com/cgi-bin/user/info"
	OffiaUserBatchGet     = "https://api.weixin.qq.com/cgi-bin/user/info/batchget"
	OffiaUserList         = "https://api.weixin.qq.com/cgi-bin/user/get"
	OffiaBlackListGet     = "https://api.weixin.qq.com/cgi-bin/tags/members/getblacklist"
	OffiaBatchBlackList   = "https://api.weixin.qq.com/cgi-bin/tags/members/batchblacklist"
	OffiaBatchUnBlackList = "https://api.weixin.qq.com/cgi-bin/tags/members/batchunblacklist"
	OffiaUserRemarkSet    = "https://api.weixin.qq.com/cgi-bin/user/info/updateremark"
)

user

View Source
const (
	OffiaSetIndustry           = "https://api.weixin.qq.com/cgi-bin/template/api_set_industry"
	OffiaGetIndustry           = "https://api.weixin.qq.com/cgi-bin/template/get_industry"
	OffiaTemplateAdd           = "https://api.weixin.qq.com/cgi-bin/template/api_add_template"
	OffiaGetAllPrivateTemplate = "https://api.weixin.qq.com/cgi-bin/template/get_all_private_template"
	OffiaDelPrivateTemplate    = "https://api.weixin.qq.com/cgi-bin/template/del_private_template"
	OffiaTemplateMsgSend       = "https://api.weixin.qq.com/cgi-bin/message/template/send"
	OffiaTemplateSubscribe     = "https://api.weixin.qq.com/cgi-bin/message/template/subscribe"
)

message

View Source
const (
	OffiaQRCodeCreate     = "https://api.weixin.qq.com/cgi-bin/qrcode/create"
	OffiaQRCodeShow       = "https://mp.weixin.qq.com/cgi-bin/showqrcode"
	OffiaShortURLGenerate = "https://api.weixin.qq.com/cgi-bin/shorturl"
)

popularize

View Source
const (
	OffiaMediaUpload      = "https://api.weixin.qq.com/cgi-bin/media/upload"
	OffiaMediaGet         = "https://api.weixin.qq.com/cgi-bin/media/get"
	OffiaNewsAdd          = "https://api.weixin.qq.com/cgi-bin/material/add_news"
	OffiaNewsUpdate       = "https://api.weixin.qq.com/cgi-bin/material/update_news"
	OffiaNewsImgUpload    = "https://api.weixin.qq.com/cgi-bin/media/uploadimg"
	OffiaMaterialAdd      = "https://api.weixin.qq.com/cgi-bin/material/add_material"
	OffiaMaterialDelete   = "https://api.weixin.qq.com/cgi-bin/material/del_material"
	OffiaMaterialGet      = "https://api.weixin.qq.com/cgi-bin/material/get_material"
	OffiaMaterialCountGet = "https://api.weixin.qq.com/cgi-bin/material/get_materialcount"
	OffiaMaterialBatchGet = "https://api.weixin.qq.com/cgi-bin/material/batchget_material"
)

media

View Source
const (
	OffiaAICrop          = "https://api.weixin.qq.com/cv/img/aicrop"
	OffiaScanQRCode      = "https://api.weixin.qq.com/cv/img/qrcode"
	OffiaSuperreSolution = "https://api.weixin.qq.com/cv/img/superresolution"
)

image

View Source
const (
	OffiaOCRIDCard          = "https://api.weixin.qq.com/cv/ocr/idcard"
	OffiaOCRBankCard        = "https://api.weixin.qq.com/cv/ocr/bankcard"
	OffiaOCRPlateNumber     = "https://api.weixin.qq.com/cv/ocr/platenum"
	OffiaOCRDriverLicense   = "https://api.weixin.qq.com/cv/ocr/drivinglicense"
	OffiaOCRVehicleLicense  = "https://api.weixin.qq.com/cv/ocr/driving"
	OffiaOCRBusinessLicense = "https://api.weixin.qq.com/cv/ocr/bizlicense"
	OffiaOCRComm            = "https://api.weixin.qq.com/cv/ocr/comm"
)

ocr

View Source
const (
	OffiaKFAccountList   = "https://api.weixin.qq.com/cgi-bin/customservice/getkflist"
	OffiaKFOnlineList    = "https://api.weixin.qq.com/cgi-bin/customservice/getonlinekflist"
	OffiaKFAccountAdd    = "https://api.weixin.qq.com/customservice/kfaccount/add"
	OffiaKFInvite        = "https://api.weixin.qq.com/customservice/kfaccount/inviteworker"
	OffiaKFAccountUpdate = "https://api.weixin.qq.com/customservice/kfaccount/update"
	OffiaKFAvatarUpload  = "https://api.weixin.qq.com/customservice/kfaccount/uploadheadimg"
	OffiaKFDelete        = "https://api.weixin.qq.com/customservice/kfaccount/del"
	OffiaKFSessionCreate = "https://api.weixin.qq.com/customservice/kfsession/create"
	OffiaKFSessionClose  = "https://api.weixin.qq.com/customservice/kfsession/close"
	OffiaKFSessionGet    = "https://api.weixin.qq.com/customservice/kfsession/getsession"
	OffiaKFSessionList   = "https://api.weixin.qq.com/customservice/kfsession/getsessionlist"
	OffiaKFWaitCase      = "https://api.weixin.qq.com/customservice/kfsession/getwaitcase"
	OffiaKFMsgRecordList = "https://api.weixin.qq.com/customservice/msgrecord/getmsglist"
	OffiaKFMsgSend       = "https://api.weixin.qq.com/cgi-bin/message/custom/send"
	OffiaSetTyping       = "https://api.weixin.qq.com/cgi-bin/message/custom/typing"
)

KF

View Source
const (
	OffiaSubscribeAddTemplate            = "https://api.weixin.qq.com/wxaapi/newtmpl/addtemplate"
	OffiaSubscribeDeleteTemplate         = "https://api.weixin.qq.com/wxaapi/newtmpl/deltemplate"
	OffiaSubscribeGetCategory            = "https://api.weixin.qq.com/wxaapi/newtmpl/getcategory"
	OffiaSubscribeGetPubTemplateKeywords = "https://api.weixin.qq.com/wxaapi/newtmpl/getpubtemplatekeywords"
	OffiaSubscribeGetPubTemplateTitles   = "https://api.weixin.qq.com/wxaapi/newtmpl/getpubtemplatetitles"
	OffiaSubscribeGetTemplateList        = "https://api.weixin.qq.com/wxaapi/newtmpl/gettemplate"
	OffiaSubscribeMsgBizSend             = "https://api.weixin.qq.com/cgi-bin/message/subscribe/bizsend"
)

subscribe

View Source
const (
	OffiaDraftAdd      = "https://api.weixin.qq.com/cgi-bin/draft/add"
	OffiaDraftGet      = "https://api.weixin.qq.com/cgi-bin/draft/get"
	OffiaDraftDelete   = "https://api.weixin.qq.com/cgi-bin/draft/delete"
	OffiaDraftUpdate   = "https://api.weixin.qq.com/cgi-bin/draft/update"
	OffiaDraftCount    = "https://api.weixin.qq.com/cgi-bin/draft/count"
	OffiaDraftBatchGet = "https://api.weixin.qq.com/cgi-bin/draft/batchget"
	OffiaDraftSwitch   = "https://api.weixin.qq.com/cgi-bin/draft/switch"
)

draft

View Source
const (
	OffiaPublishSubmit     = "https://api.weixin.qq.com/cgi-bin/freepublish/submit"
	OffiaPublishGet        = "https://api.weixin.qq.com/cgi-bin/freepublish/get"
	OffiaPublishDelete     = "https://api.weixin.qq.com/cgi-bin/freepublish/delete"
	OffiaPublishGetArticle = "https://api.weixin.qq.com/cgi-bin/freepublish/getarticle"
	OffiaPublishBatchGet   = "https://api.weixin.qq.com/cgi-bin/freepublish/batchget"
)

publish

View Source
const (
	// 获取令牌
	ComponentApiComponentTokenUrl = "https://api.weixin.qq.com/cgi-bin/component/api_component_token"
	// 获取预授权码
	ComponentApiCreatePreAuthCode = "https://api.weixin.qq.com/cgi-bin/component/api_create_preauthcode"
	// 使用授权码获取授权信息
	ComponentApiQueryAuthUrl = "https://api.weixin.qq.com/cgi-bin/component/api_query_auth"
	// 获取授权方的帐号基本信息
	ComponentApiGetAuthorizerInfoUrl = "https://api.weixin.qq.com/cgi-bin/component/api_get_authorizer_info"
	// 获取/刷新接口调用令牌
	ComponentApiGetAuthorizerTokenUrl = "https://api.weixin.qq.com/cgi-bin/component/api_authorizer_token"
)
View Source
const (
	//关联小程序
	WxopenWxamplinkUrl = "https://api.weixin.qq.com/cgi-bin/wxopen/wxamplink"
	//获取公众号关联的小程序
	WxopenWxamplinkGetUrl = "https://api.weixin.qq.com/cgi-bin/wxopen/wxamplinkget"
)
View Source
const (
	// 图文消息内的图片获取URL
	OaMediaUpload = "https://api.weixin.qq.com/cgi-bin/media/upload"
	// 图文永久素材
	OaAddMaterial = "https://api.weixin.qq.com/cgi-bin/media/add_material"
)
View Source
const (
	BaseUrl = "https://mp.weixin.qq.com"
)
View Source
const (
	MchMicroPay = "https://api.mch.weixin.qq.com/pay/micropay"
)

micro

View Source
const QRCodeAuthorize = "https://open.work.weixin.qq.com/wwopen/sso/qrConnect"

oauth

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL