github.com/fastwego/offiaccount@v1.0.1/cmd/apiconfig.go (about)

     1  // Copyright 2020 FastWeGo
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //      http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  package main
    16  
    17  type Param struct {
    18  	Name string
    19  	Type string
    20  }
    21  
    22  type Api struct {
    23  	Name        string
    24  	Description string
    25  	Request     string
    26  	See         string
    27  	FuncName    string
    28  	GetParams   []Param
    29  }
    30  
    31  type ApiGroup struct {
    32  	Name    string
    33  	Apis    []Api
    34  	Package string
    35  }
    36  
    37  var apiConfig = []ApiGroup{
    38  	{
    39  		Name:    `开发辅助`,
    40  		Package: `util`,
    41  		Apis: []Api{
    42  			{
    43  				Name:        "获取微信服务器IP地址",
    44  				Description: "如果公众号基于安全等考虑,需要获知微信服务器的IP地址列表,以便进行相关限制,可以通过该接口获得微信服务器IP地址列表或者IP网段信息",
    45  				Request:     "GET https://api.weixin.qq.com/cgi-bin/getcallbackip?access_token=ACCESS_TOKEN",
    46  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Basic_Information/Get_the_WeChat_server_IP_address.html",
    47  				FuncName:    "GetCallbackIp",
    48  			},
    49  			{
    50  				Name:        "获取微信API接口 IP地址",
    51  				Description: "即api.weixin.qq.com的解析地址,由开发者调用微信侧的接入IP",
    52  				Request:     "GET https://api.weixin.qq.com/cgi-bin/get_api_domain_ip?access_token=ACCESS_TOKEN",
    53  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Basic_Information/Get_the_WeChat_server_IP_address.html",
    54  				FuncName:    "",
    55  			},
    56  			{
    57  				Name:        `网络检测`,
    58  				Description: `为了帮助开发者排查回调连接失败的问题,提供这个网络检测的API。它可以对开发者URL做域名解析,然后对所有IP进行一次ping操作,得到丢包率和耗时`,
    59  				Request:     `POST https://api.weixin.qq.com/cgi-bin/callback/check?access_token=ACCESS_TOKEN`,
    60  				See:         `https://developers.weixin.qq.com/doc/offiaccount/Basic_Information/Network_Detection.html`,
    61  				FuncName:    `CallbackCheck`,
    62  			},
    63  			{
    64  				Name:        `对公众号的所有api调用次数进行清零`,
    65  				Description: ``,
    66  				Request:     `POST https://api.weixin.qq.com/cgi-bin/clear_quota?access_token=ACCESS_TOKEN`,
    67  				See:         `https://developers.weixin.qq.com/doc/offiaccount/Message_Management/API_Call_Limits.html`,
    68  				FuncName:    `ClearQuota`,
    69  			},
    70  		},
    71  	},
    72  	{
    73  		Name:    `自定义菜单`,
    74  		Package: `menu`,
    75  		Apis: []Api{
    76  			{
    77  				Name:        "创建",
    78  				Description: "创建菜单",
    79  				Request:     "POST https://api.weixin.qq.com/cgi-bin/menu/create?access_token=ACCESS_TOKEN",
    80  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Custom_Menus/Creating_Custom-Defined_Menu.html",
    81  				FuncName:    "",
    82  			},
    83  			{
    84  				Name:        "查询",
    85  				Description: "本接口将会提供公众号当前使用的自定义菜单的配置,如果公众号是通过API调用设置的菜单,则返回菜单的开发配置,而如果公众号是在公众平台官网通过网站功能发布菜单,则本接口返回运营者设置的菜单配置",
    86  				Request:     "GET https://api.weixin.qq.com/cgi-bin/get_current_selfmenu_info?access_token=ACCESS_TOKEN",
    87  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Custom_Menus/Querying_Custom_Menus.html",
    88  				FuncName:    "",
    89  			},
    90  
    91  			{
    92  				Name:        "删除",
    93  				Description: "使用接口创建自定义菜单后,开发者还可使用接口删除当前使用的自定义菜单。另请注意,在个性化菜单时,调用此接口会删除默认菜单及全部个性化菜单",
    94  				Request:     "GET https://api.weixin.qq.com/cgi-bin/menu/delete?access_token=ACCESS_TOKEN",
    95  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Custom_Menus/Deleting_Custom-Defined_Menu.html",
    96  				FuncName:    "",
    97  			},
    98  
    99  			{
   100  				Name:        "创建个性化菜单",
   101  				Description: "",
   102  				Request:     "POST https://api.weixin.qq.com/cgi-bin/menu/addconditional?access_token=ACCESS_TOKEN",
   103  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Custom_Menus/Personalized_menu_interface.html",
   104  				FuncName:    "AddConditional",
   105  			},
   106  			{
   107  				Name:        "删除个性化菜单",
   108  				Description: "",
   109  				Request:     "POST https://api.weixin.qq.com/cgi-bin/menu/delconditional?access_token=ACCESS_TOKEN",
   110  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Custom_Menus/Personalized_menu_interface.html",
   111  				FuncName:    "DelConditional",
   112  			},
   113  			{
   114  				Name:        "测试个性化菜单匹配结果",
   115  				Description: "",
   116  				Request:     "POST https://api.weixin.qq.com/cgi-bin/menu/trymatch?access_token=ACCESS_TOKEN",
   117  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Custom_Menus/Personalized_menu_interface.html",
   118  				FuncName:    "TryMatch",
   119  			},
   120  			{
   121  				Name:        "获取自定义菜单配置",
   122  				Description: "使用接口创建自定义菜单后,开发者还可使用接口查询自定义菜单的结构。另外请注意,在设置了个性化菜单后,使用本自定义菜单查询接口可以获取默认菜单和全部个性化菜单信息",
   123  				Request:     "GET https://api.weixin.qq.com/cgi-bin/menu/get?access_token=ACCESS_TOKEN",
   124  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Custom_Menus/Getting_Custom_Menu_Configurations.html",
   125  				FuncName:    "",
   126  			},
   127  		},
   128  	},
   129  	{
   130  		Name:    `消息管理`,
   131  		Package: `message`,
   132  		Apis: []Api{
   133  			{
   134  				Name:        "获取公众号的自动回复规则",
   135  				Description: "开发者可以通过该接口,获取公众号当前使用的自动回复规则,包括关注后自动回复、消息自动回复(60分钟内触发一次)、关键词自动回复",
   136  				Request:     "GET https://api.weixin.qq.com/cgi-bin/get_current_autoreply_info?access_token=ACCESS_TOKEN",
   137  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Getting_Rules_for_Auto_Replies.html",
   138  				FuncName:    "",
   139  			},
   140  		},
   141  	},
   142  	{
   143  		Name:    `客服消息/功能`,
   144  		Package: `customservice`,
   145  		Apis: []Api{
   146  			//客服消息
   147  			{
   148  				Name:        "添加客服帐号",
   149  				Description: "开发者可以通过本接口为公众号添加客服账号,每个公众号最多添加100个客服账号",
   150  				Request:     "POST https://api.weixin.qq.com/customservice/kfaccount/add?access_token=ACCESS_TOKEN",
   151  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Service_Center_messages.html",
   152  				FuncName:    "KfaccountAdd",
   153  			},
   154  			{
   155  				Name:        "修改客服帐号",
   156  				Description: "开发者可以通过本接口为公众号修改客服账号",
   157  				Request:     "POST https://api.weixin.qq.com/customservice/kfaccount/update?access_token=ACCESS_TOKEN",
   158  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Service_Center_messages.html",
   159  				FuncName:    "KfaccountUpdate",
   160  			},
   161  			{
   162  				Name:        "删除客服帐号",
   163  				Description: "开发者可以通过该接口为公众号删除客服帐号",
   164  				Request:     "POST https://api.weixin.qq.com/customservice/kfaccount/del?access_token=ACCESS_TOKEN",
   165  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Service_Center_messages.html",
   166  				FuncName:    "KfaccountDel",
   167  			},
   168  			{
   169  				Name:        "设置客服帐号的头像",
   170  				Description: "开发者可调用本接口来上传图片作为客服人员的头像,头像图片文件必须是jpg格式,推荐使用640*640大小的图片以达到最佳效果",
   171  				Request:     "POST(@media) https://api.weixin.qq.com/customservice/kfaccount/uploadheadimg?access_token=ACCESS_TOKEN&kf_account=KFACCOUNT",
   172  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Service_Center_messages.html",
   173  				FuncName:    "UploadHeadImg",
   174  				GetParams:   []Param{{Name: `kf_account`, Type: `string`}},
   175  			},
   176  			{
   177  				Name:        "获取所有客服账号",
   178  				Description: "开发者通过本接口,获取公众号中所设置的客服基本信息,包括客服工号、客服昵称、客服登录账号",
   179  				Request:     "GET https://api.weixin.qq.com/cgi-bin/customservice/getkflist?access_token=ACCESS_TOKEN",
   180  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Service_Center_messages.html",
   181  				FuncName:    "GetKfList",
   182  			},
   183  			{
   184  				Name:        "发消息",
   185  				Description: "发送文本/图片/语言/语音/视频/音乐/图文/菜单/卡券... 消息",
   186  				Request:     "POST https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=ACCESS_TOKEN",
   187  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Service_Center_messages.html",
   188  				FuncName:    "SendMessage",
   189  			},
   190  			{
   191  				Name:        "客服输入状态",
   192  				Description: "开发者可通过调用“客服输入状态”接口,返回客服当前输入状态给用户",
   193  				Request:     "POST https://api.weixin.qq.com/cgi-bin/message/custom/typing?access_token=ACCESS_TOKEN",
   194  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Service_Center_messages.html",
   195  				FuncName:    "",
   196  			},
   197  			// 新版客服功能
   198  			{
   199  				Name:        "获取客服基本信息",
   200  				Description: "",
   201  				Request:     "GET https://api.weixin.qq.com/cgi-bin/customservice/getonlinekflist?access_token=ACCESS_TOKEN",
   202  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Customer_Service/Customer_Service_Management.html",
   203  				FuncName:    "GetOnlineKfList",
   204  			},
   205  			{
   206  				Name:        "邀请绑定客服帐号",
   207  				Description: "新添加的客服帐号是不能直接使用的,只有客服人员用微信号绑定了客服账号后,方可登录Web客服进行操作。此接口发起一个绑定邀请到客服人员微信号,客服人员需要在微信客户端上用该微信号确认后帐号才可用。尚未绑定微信号的帐号可以进行绑定邀请操作,邀请未失效时不能对该帐号进行再次绑定微信号邀请",
   208  				Request:     "POST https://api.weixin.qq.com/customservice/kfaccount/inviteworker?access_token=ACCESS_TOKEN",
   209  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Customer_Service/Customer_Service_Management.html",
   210  				FuncName:    "InviteWorker",
   211  			},
   212  			{
   213  				Name:        "创建会话",
   214  				Description: "此接口在客服和用户之间创建一个会话,如果该客服和用户会话已存在,则直接返回0。指定的客服帐号必须已经绑定微信号且在线",
   215  				Request:     "POST https://api.weixin.qq.com/customservice/kfsession/create?access_token=ACCESS_TOKEN",
   216  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Customer_Service/Session_control.html",
   217  				FuncName:    "KfSessionCreate",
   218  			},
   219  			{
   220  				Name:        "获取客户会话状态",
   221  				Description: "",
   222  				Request:     "GET https://api.weixin.qq.com/customservice/kfsession/getsession?access_token=ACCESS_TOKEN&openid=OPENID",
   223  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Customer_Service/Session_control.html",
   224  				FuncName:    "KfSessionGet",
   225  				GetParams:   []Param{{Name: `openid`, Type: `string`}},
   226  			},
   227  			{
   228  				Name:        "获取客服会话列表",
   229  				Description: "",
   230  				Request:     "GET https://api.weixin.qq.com/customservice/kfsession/getsessionlist?access_token=ACCESS_TOKEN&kf_account=KFACCOUNT",
   231  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Customer_Service/Session_control.html",
   232  				FuncName:    "KfSessionGetList",
   233  				GetParams:   []Param{{Name: `kf_account`, Type: `string`}},
   234  			},
   235  			{
   236  				Name:        "获取未接入会话列表",
   237  				Description: "",
   238  				Request:     "GET https://api.weixin.qq.com/customservice/kfsession/getwaitcase?access_token=ACCESS_TOKEN",
   239  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Customer_Service/Session_control.html",
   240  				FuncName:    "KfSessionGetWaitCase",
   241  			},
   242  			{
   243  				Name:        "获取聊天记录",
   244  				Description: "此接口返回的聊天记录中,对于图片、语音、视频,分别展示成文本格式的[image]、[voice]、[video]",
   245  				Request:     "POST https://api.weixin.qq.com/customservice/msgrecord/getmsglist",
   246  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Customer_Service/Obtain_chat_transcript.html",
   247  				FuncName:    "GetMsgList",
   248  			},
   249  		},
   250  	},
   251  	{
   252  		Name:    `群发消息`,
   253  		Package: `message/mass`,
   254  		Apis: []Api{
   255  
   256  			{
   257  				Name:        "上传图文消息素材",
   258  				Description: "",
   259  				Request:     "POST https://api.weixin.qq.com/cgi-bin/media/uploadnews?access_token=ACCESS_TOKEN",
   260  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Batch_Sends_and_Originality_Checks.html",
   261  				FuncName:    "MediaUploadNews",
   262  			},
   263  			{
   264  				Name:        "根据标签进行群发",
   265  				Description: "",
   266  				Request:     "POST https://api.weixin.qq.com/cgi-bin/message/mass/sendall?access_token=ACCESS_TOKEN",
   267  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Batch_Sends_and_Originality_Checks.html",
   268  				FuncName:    "SendAll",
   269  			},
   270  			{
   271  				Name:        "上传视频素材",
   272  				Description: "群发 视频 的 media_id 需通过此接口特别地得到",
   273  				Request:     "POST https://api.weixin.qq.com/cgi-bin/media/uploadvideo?access_token=ACCESS_TOKEN",
   274  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Batch_Sends_and_Originality_Checks.html",
   275  				FuncName:    "MediaUploadVideo",
   276  			},
   277  			{
   278  				Name:        "根据OpenID列表群发",
   279  				Description: "",
   280  				Request:     "POST https://api.weixin.qq.com/cgi-bin/message/mass/send?access_token=ACCESS_TOKEN",
   281  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Batch_Sends_and_Originality_Checks.html",
   282  				FuncName:    "",
   283  			},
   284  			{
   285  				Name:        "删除群发",
   286  				Description: "",
   287  				Request:     "POST https://api.weixin.qq.com/cgi-bin/message/mass/delete?access_token=ACCESS_TOKEN",
   288  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Batch_Sends_and_Originality_Checks.html",
   289  				FuncName:    "",
   290  			},
   291  			{
   292  				Name:        "预览",
   293  				Description: "开发者可通过该接口发送消息给指定用户,在手机端查看消息的样式和排版。为了满足第三方平台开发者的需求,在保留对openID预览能力的同时,增加了对指定微信号发送预览的能力,但该能力每日调用次数有限制(100次),请勿滥用",
   294  				Request:     "POST https://api.weixin.qq.com/cgi-bin/message/mass/preview?access_token=ACCESS_TOKEN",
   295  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Batch_Sends_and_Originality_Checks.html",
   296  				FuncName:    "",
   297  			},
   298  			{
   299  				Name:        "查询群发消息发送状态",
   300  				Description: "",
   301  				Request:     "POST https://api.weixin.qq.com/cgi-bin/message/mass/get?access_token=ACCESS_TOKEN",
   302  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Batch_Sends_and_Originality_Checks.html",
   303  				FuncName:    "",
   304  			},
   305  			{
   306  				Name:        "获取群发速度",
   307  				Description: "",
   308  				Request:     "POST https://api.weixin.qq.com/cgi-bin/message/mass/speed/get?access_token=ACCESS_TOKEN",
   309  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Batch_Sends_and_Originality_Checks.html",
   310  				FuncName:    "SpeedGet",
   311  			},
   312  			{
   313  				Name:        "设置群发速度",
   314  				Description: "",
   315  				Request:     "POST https://api.weixin.qq.com/cgi-bin/message/mass/speed/set?access_token=ACCESS_TOKEN",
   316  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Batch_Sends_and_Originality_Checks.html",
   317  				FuncName:    "SpeedSet",
   318  			},
   319  		},
   320  	},
   321  	{
   322  		Name:    `模板消息`,
   323  		Package: `message/template`,
   324  		Apis: []Api{
   325  
   326  			{
   327  				Name:        "设置所属行业",
   328  				Description: "设置行业可在微信公众平台后台完成,每月可修改行业1次,帐号仅可使用所属行业中相关的模板,为方便第三方开发者,提供通过接口调用的方式来修改账号所属行业",
   329  				Request:     "POST https://api.weixin.qq.com/cgi-bin/template/api_set_industry?access_token=ACCESS_TOKEN",
   330  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Template_Message_Interface.html",
   331  				FuncName:    "SetIndustry",
   332  			},
   333  			{
   334  				Name:        "获取设置的行业信息",
   335  				Description: "获取帐号设置的行业信息。可登录微信公众平台,在公众号后台中查看行业信息。为方便第三方开发者,提供通过接口调用的方式来获取帐号所设置的行业信息",
   336  				Request:     "GET https://api.weixin.qq.com/cgi-bin/template/get_industry?access_token=ACCESS_TOKEN",
   337  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Template_Message_Interface.html",
   338  				FuncName:    "GetIndustry",
   339  			},
   340  			{
   341  				Name:        "获得模板ID",
   342  				Description: "从行业模板库选择模板到帐号后台,获得模板ID的过程可在微信公众平台后台完成。为方便第三方开发者,提供通过接口调用的方式来获取模板ID",
   343  				Request:     "POST https://api.weixin.qq.com/cgi-bin/template/api_add_template?access_token=ACCESS_TOKEN",
   344  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Template_Message_Interface.html",
   345  				FuncName:    "AddTemplate",
   346  			},
   347  			{
   348  				Name:        "获取模板列表",
   349  				Description: "获取已添加至帐号下所有模板列表,可在微信公众平台后台中查看模板列表信息。为方便第三方开发者,提供通过接口调用的方式来获取帐号下所有模板信息",
   350  				Request:     "GET https://api.weixin.qq.com/cgi-bin/template/get_all_private_template?access_token=ACCESS_TOKEN",
   351  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Template_Message_Interface.html",
   352  				FuncName:    "",
   353  			},
   354  			{
   355  				Name:        "删除模板",
   356  				Description: "删除模板可在微信公众平台后台完成,为方便第三方开发者,提供通过接口调用的方式来删除某帐号下的模板",
   357  				Request:     "POST https://api.weixin.qq.com/cgi-bin/template/del_private_template?access_token=ACCESS_TOKEN",
   358  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Template_Message_Interface.html",
   359  				FuncName:    "",
   360  			},
   361  			{
   362  				Name:        "发送模板消息",
   363  				Description: "",
   364  				Request:     "POST https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=ACCESS_TOKEN",
   365  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Template_Message_Interface.html",
   366  				FuncName:    "",
   367  			},
   368  
   369  			{
   370  				Name:        "推送订阅模板消息给到授权微信用户",
   371  				Description: "",
   372  				Request:     "POST https://api.weixin.qq.com/cgi-bin/message/template/subscribe?access_token=ACCESS_TOKEN",
   373  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Message_Management/One-time_subscription_info.html",
   374  				FuncName:    "",
   375  			},
   376  		},
   377  	},
   378  	{
   379  		Name:    `微信网页开发`,
   380  		Package: `oauth`,
   381  		Apis: []Api{
   382  			{
   383  				Name:        "获取用户授权跳转链接",
   384  				Description: "在确保微信公众账号拥有授权作用域(scope参数)的权限的前提下(服务号获得高级接口后,默认拥有scope参数中的snsapi_base和snsapi_userinfo),引导关注者打开 授权链接",
   385  				Request:     "GET https://open.weixin.qq.com/connect/oauth2/authorize?appid=APPID&redirect_uri=REDIRECT_URI&response_type=code&scope=SCOPE&state=STATE#wechat_redirect",
   386  				See:         "https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/Wechat_webpage_authorization.html",
   387  				FuncName:    "",
   388  				GetParams: []Param{
   389  					{Name: `appid`, Type: `string`},
   390  					{Name: `redirect_uri`, Type: `string`},
   391  					{Name: `response_type`, Type: `string`},
   392  					{Name: `scope`, Type: `string`},
   393  					{Name: `state`, Type: `string`},
   394  				},
   395  			},
   396  			{
   397  				Name:        "通过code换取网页授权access_token",
   398  				Description: "注意:由于公众号的secret和获取到的access_token安全级别都非常高,必须只保存在服务器,不允许传给客户端",
   399  				Request:     "POST https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code",
   400  				See:         "https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/Wechat_webpage_authorization.html",
   401  				FuncName:    "",
   402  				GetParams: []Param{
   403  					{Name: `appid`, Type: `string`},
   404  					{Name: `secret`, Type: `string`},
   405  					{Name: `code`, Type: `string`},
   406  					{Name: `grant_type`, Type: `string`},
   407  				},
   408  			},
   409  			{
   410  				Name:        "刷新access_token",
   411  				Description: "由于access_token拥有较短的有效期,当access_token超时后,可以使用refresh_token进行刷新,refresh_token有效期为30天,当refresh_token失效之后,需要用户重新授权",
   412  				Request:     "POST https://api.weixin.qq.com/sns/oauth2/refresh_token?appid=APPID&grant_type=refresh_token&refresh_token=REFRESH_TOKEN",
   413  				See:         "https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/Wechat_webpage_authorization.html",
   414  				FuncName:    "",
   415  				GetParams: []Param{
   416  					{Name: `appid`, Type: `string`},
   417  					{Name: `refresh_token`, Type: `string`},
   418  					{Name: `grant_type`, Type: `string`},
   419  				},
   420  			},
   421  			{
   422  				Name:        "拉取用户信息",
   423  				Description: "如果网页授权作用域为snsapi_userinfo,则此时开发者可以通过access_token和openid拉取用户信息了",
   424  				Request:     "POST https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID&lang=zh_CN",
   425  				See:         "https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/Wechat_webpage_authorization.html",
   426  				FuncName:    "GetUserInfo",
   427  				GetParams: []Param{
   428  					{Name: `access_token`, Type: `string`},
   429  					{Name: `openid`, Type: `string`},
   430  					{Name: `lang`, Type: `string`},
   431  				},
   432  			},
   433  			{
   434  				Name:        "检验授权凭证(access_token)是否有效",
   435  				Description: "",
   436  				Request:     "GET https://api.weixin.qq.com/sns/auth?access_token=ACCESS_TOKEN&openid=OPENID",
   437  				See:         "https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/Wechat_webpage_authorization.html",
   438  				FuncName:    "",
   439  				GetParams: []Param{
   440  					{Name: `access_token`, Type: `string`},
   441  					{Name: `openid`, Type: `string`},
   442  				},
   443  			},
   444  			{
   445  				Name:        "获取 jsapi_ticket",
   446  				Description: "jsapi_ticket是公众号用于调用微信JS接口的临时票据。正常情况下,jsapi_ticket的有效期为7200秒,通过access_token来获取。由于获取jsapi_ticket的api调用次数非常有限,频繁刷新jsapi_ticket会导致api调用受限,影响自身业务,开发者必须在自己的服务全局缓存jsapi_ticket",
   447  				Request:     "GET https://api.weixin.qq.com/cgi-bin/ticket/getticket?access_token=ACCESS_TOKEN&type=jsapi",
   448  				See:         "https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/JS-SDK.html#62",
   449  				FuncName:    "GetJSApiTicket",
   450  				GetParams: []Param{
   451  					{Name: `type`, Type: `string`},
   452  				},
   453  			},
   454  		},
   455  	},
   456  	{
   457  		Name:    "素材管理",
   458  		Package: "material",
   459  		Apis: []Api{
   460  			{
   461  				Name:        "新增临时素材",
   462  				Description: "公众号经常有需要用到一些临时性的多媒体素材的场景,例如在使用接口特别是发送消息时,对多媒体文件、多媒体消息的获取和调用等操作,是通过media_id来进行的。素材管理接口对所有认证的订阅号和服务号开放。通过本接口,公众号可以新增临时素材(即上传临时多媒体文件)",
   463  				Request:     "POST(@media) https://api.weixin.qq.com/cgi-bin/media/upload?access_token=ACCESS_TOKEN&type=TYPE",
   464  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Asset_Management/New_temporary_materials.html",
   465  				FuncName:    `MediaUpload`,
   466  			},
   467  			{
   468  				Name:        "获取临时素材",
   469  				Description: "公众号可以使用本接口获取临时素材(即下载临时的多媒体文件)",
   470  				Request:     "GET https://api.weixin.qq.com/cgi-bin/media/get?access_token=ACCESS_TOKEN&media_id=MEDIA_ID",
   471  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Asset_Management/Get_temporary_materials.html",
   472  				FuncName:    `MediaGet`,
   473  			},
   474  			{
   475  				Name:        "高清语音素材获取接口",
   476  				Description: "公众号可以使用本接口获取从JSSDK的uploadVoice接口上传的临时语音素材,格式为speex,16K采样率。该音频比上文的临时素材获取接口(格式为amr,8K采样率)更加清晰,适合用作语音识别等对音质要求较高的业务",
   477  				Request:     "GET https://api.weixin.qq.com/cgi-bin/media/get/jssdk?access_token=ACCESS_TOKEN&media_id=MEDIA_ID",
   478  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Asset_Management/Get_temporary_materials.html",
   479  				FuncName:    `MediaGetJssdk`,
   480  				GetParams:   []Param{{Name: `media_id`, Type: `string`}},
   481  			},
   482  			{
   483  				Name:        "新增永久图文素材",
   484  				Description: "对于常用的素材,开发者可通过本接口上传到微信服务器,永久使用。新增的永久素材也可以在公众平台官网素材管理模块中查询管理",
   485  				Request:     "POST https://api.weixin.qq.com/cgi-bin/material/add_news?access_token=ACCESS_TOKEN",
   486  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Asset_Management/Adding_Permanent_Assets.html",
   487  			},
   488  			{
   489  				Name:        "上传图文消息内的图片获取URL",
   490  				Description: "本接口所上传的图片不占用公众号的素材库中图片数量的100000个的限制。图片仅支持jpg/png格式,大小必须在1MB以下",
   491  				Request:     "POST(@media) https://api.weixin.qq.com/cgi-bin/media/uploadimg?access_token=ACCESS_TOKEN",
   492  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Asset_Management/Adding_Permanent_Assets.html",
   493  				FuncName:    "MediaUploadImg",
   494  			},
   495  			{
   496  				Name:        "新增其他类型永久素材",
   497  				Description: "通过POST表单来调用接口,表单id为media,包含需要上传的素材内容,有filename、filelength、content-type等信息。请注意:图片素材将进入公众平台官网素材管理模块中的默认分组",
   498  				Request:     "POST(@media|field=description) https://api.weixin.qq.com/cgi-bin/material/add_material?access_token=ACCESS_TOKEN&type=TYPE",
   499  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Asset_Management/Adding_Permanent_Assets.html",
   500  			},
   501  			{
   502  				Name:        "获取永久素材",
   503  				Description: `在新增了永久素材后,开发者可以根据media_id通过本接口下载永久素材。公众号在公众平台官网素材管理模块中新建的永久素材,可通过"获取素材列表"获知素材的media_id。请注意:临时素材无法通过本接口获取`,
   504  				Request:     "POST https://api.weixin.qq.com/cgi-bin/material/get_material?access_token=ACCESS_TOKEN",
   505  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Asset_Management/Getting_Permanent_Assets.html",
   506  			},
   507  			{
   508  				Name:        "删除永久素材",
   509  				Description: `在新增了永久素材后,开发者可以根据本接口来删除不再需要的永久素材,节省空间`,
   510  				Request:     "POST https://api.weixin.qq.com/cgi-bin/material/del_material?access_token=ACCESS_TOKEN",
   511  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Asset_Management/Deleting_Permanent_Assets.html",
   512  			},
   513  			{
   514  				Name:        "修改永久图文素材",
   515  				Description: `开发者可以通过本接口对永久图文素材进行修改`,
   516  				Request:     `POST https://api.weixin.qq.com/cgi-bin/material/update_news?access_token=ACCESS_TOKEN`,
   517  				See:         `https://developers.weixin.qq.com/doc/offiaccount/Asset_Management/Editing_Permanent_Rich_Media_Assets.html`,
   518  			},
   519  			{
   520  				Name:        `获取素材总数`,
   521  				Description: `1.永久素材的总数,也会计算公众平台官网素材管理中的素材 2.图片和图文消息素材(包括单图文和多图文)的总数上限为5000,其他素材的总数上限为1000`,
   522  				Request:     `GET https://api.weixin.qq.com/cgi-bin/material/get_materialcount?access_token=ACCESS_TOKEN`,
   523  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Asset_Management/Get_the_total_of_all_materials.html",
   524  				FuncName:    `GetMaterialCount`,
   525  			},
   526  			{
   527  				Name:        `获取素材列表`,
   528  				Description: `在新增了永久素材后,开发者可以分类型获取永久素材的列表`,
   529  				Request:     `POST https://api.weixin.qq.com/cgi-bin/material/batchget_material?access_token=ACCESS_TOKEN`,
   530  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Asset_Management/Get_materials_list.html",
   531  			},
   532  		},
   533  	},
   534  	{
   535  		Name:    "图文消息留言管理",
   536  		Package: "comment",
   537  		Apis: []Api{
   538  			{
   539  				Name:        `打开已群发文章评论`,
   540  				Description: ``,
   541  				Request:     `POST https://api.weixin.qq.com/cgi-bin/comment/open?access_token=ACCESS_TOKEN`,
   542  				See:         `https://developers.weixin.qq.com/doc/offiaccount/Comments_management/Image_Comments_Management_Interface.html`,
   543  			},
   544  			{
   545  				Name:        `关闭已群发文章评论`,
   546  				Description: ``,
   547  				Request:     `POST https://api.weixin.qq.com/cgi-bin/comment/close?access_token=ACCESS_TOKEN`,
   548  				See:         `https://developers.weixin.qq.com/doc/offiaccount/Comments_management/Image_Comments_Management_Interface.html`,
   549  			},
   550  			{
   551  				Name:        `查看指定文章的评论数据`,
   552  				Description: ``,
   553  				Request:     `POST https://api.weixin.qq.com/cgi-bin/comment/list?access_token=ACCESS_TOKEN`,
   554  				See:         `https://developers.weixin.qq.com/doc/offiaccount/Comments_management/Image_Comments_Management_Interface.html`,
   555  			},
   556  			{
   557  				Name:        ` 将评论标记精选`,
   558  				Description: ``,
   559  				Request:     `POST https://api.weixin.qq.com/cgi-bin/comment/markelect?access_token=ACCESS_TOKEN`,
   560  				See:         `https://developers.weixin.qq.com/doc/offiaccount/Comments_management/Image_Comments_Management_Interface.html`,
   561  				FuncName:    `MarkElect`,
   562  			},
   563  			{
   564  				Name:        ` 将评论取消精选`,
   565  				Description: ``,
   566  				Request:     `POST https://api.weixin.qq.com/cgi-bin/comment/unmarkelect?access_token=ACCESS_TOKEN`,
   567  				See:         `https://developers.weixin.qq.com/doc/offiaccount/Comments_management/Image_Comments_Management_Interface.html`,
   568  				FuncName:    `UnMarkElect`,
   569  			},
   570  			{
   571  				Name:        ` 删除评论`,
   572  				Description: ``,
   573  				Request:     `POST https://api.weixin.qq.com/cgi-bin/comment/delete?access_token=ACCESS_TOKEN`,
   574  				See:         `https://developers.weixin.qq.com/doc/offiaccount/Comments_management/Image_Comments_Management_Interface.html`,
   575  			},
   576  			{
   577  				Name:        ` 回复评论`,
   578  				Description: ``,
   579  				Request:     `POST https://api.weixin.qq.com/cgi-bin/comment/reply/add?access_token=ACCESS_TOKEN`,
   580  				See:         `https://developers.weixin.qq.com/doc/offiaccount/Comments_management/Image_Comments_Management_Interface.html`,
   581  				FuncName:    "ReplyAdd",
   582  			},
   583  			{
   584  				Name:        ` 删除回复`,
   585  				Description: ``,
   586  				Request:     `POST https://api.weixin.qq.com/cgi-bin/comment/reply/delete?access_token=ACCESS_TOKEN`,
   587  				See:         `https://developers.weixin.qq.com/doc/offiaccount/Comments_management/Image_Comments_Management_Interface.html`,
   588  				FuncName:    "ReplyDelete",
   589  			},
   590  		},
   591  	},
   592  	{
   593  		Name:    "用户标签管理",
   594  		Package: "user/tags",
   595  		Apis: []Api{
   596  			{
   597  				Name:        `创建标签`,
   598  				Description: `一个公众号,最多可以创建100个标签`,
   599  				Request:     `POST https://api.weixin.qq.com/cgi-bin/tags/create?access_token=ACCESS_TOKEN`,
   600  				See:         `https://developers.weixin.qq.com/doc/offiaccount/User_Management/User_Tag_Management.html`,
   601  			},
   602  			{
   603  				Name:        `获取公众号已创建的标签`,
   604  				Description: ``,
   605  				Request:     `GET https://api.weixin.qq.com/cgi-bin/tags/get?access_token=ACCESS_TOKEN`,
   606  				See:         `https://developers.weixin.qq.com/doc/offiaccount/User_Management/User_Tag_Management.html`,
   607  			},
   608  			{
   609  				Name:        `编辑标签`,
   610  				Description: ``,
   611  				Request:     `POST https://api.weixin.qq.com/cgi-bin/tags/update?access_token=ACCESS_TOKEN`,
   612  				See:         `https://developers.weixin.qq.com/doc/offiaccount/User_Management/User_Tag_Management.html`,
   613  			},
   614  			{
   615  				Name:        `删除标签`,
   616  				Description: `请注意,当某个标签下的粉丝超过10w时,后台不可直接删除标签。此时,开发者可以对该标签下的openid列表,先进行取消标签的操作,直到粉丝数不超过10w后,才可直接删除该标签`,
   617  				Request:     `POST https://api.weixin.qq.com/cgi-bin/tags/delete?access_token=ACCESS_TOKEN`,
   618  				See:         `https://developers.weixin.qq.com/doc/offiaccount/User_Management/User_Tag_Management.html`,
   619  			},
   620  			{
   621  				Name:        `获取标签下粉丝列表`,
   622  				Description: ``,
   623  				Request:     `POST https://api.weixin.qq.com/cgi-bin/user/tag/get?access_token=ACCESS_TOKEN`,
   624  				See:         `https://developers.weixin.qq.com/doc/offiaccount/User_Management/User_Tag_Management.html`,
   625  				FuncName:    "GetUsersByTag",
   626  			},
   627  			{
   628  				Name:        `批量为用户打标签`,
   629  				Description: `标签功能目前支持公众号为用户打上最多20个标签`,
   630  				Request:     `POST https://api.weixin.qq.com/cgi-bin/tags/members/batchtagging?access_token=ACCESS_TOKEN`,
   631  				See:         `https://developers.weixin.qq.com/doc/offiaccount/User_Management/User_Tag_Management.html`,
   632  				FuncName:    "BatchTagging",
   633  			},
   634  			{
   635  				Name:        `批量为用户取消标签`,
   636  				Description: `标签功能目前支持公众号为用户打上最多20个标签`,
   637  				Request:     `POST https://api.weixin.qq.com/cgi-bin/tags/members/batchuntagging?access_token=ACCESS_TOKEN`,
   638  				See:         `https://developers.weixin.qq.com/doc/offiaccount/User_Management/User_Tag_Management.html`,
   639  				FuncName:    "BatchUnTagging",
   640  			},
   641  			{
   642  				Name:        `获取用户身上的标签列表`,
   643  				Description: `标签功能目前支持公众号为用户打上最多20个标签`,
   644  				Request:     `POST https://api.weixin.qq.com/cgi-bin/tags/getidlist?access_token=ACCESS_TOKEN`,
   645  				See:         `https://developers.weixin.qq.com/doc/offiaccount/User_Management/User_Tag_Management.html`,
   646  				FuncName:    `GetTagIdList`,
   647  			},
   648  		},
   649  	},
   650  	{
   651  		Name:    `用户管理`,
   652  		Package: `user`,
   653  		Apis: []Api{
   654  			{
   655  				Name:        "设置用户备注名",
   656  				Description: `开发者可以通过该接口对指定用户设置备注名,该接口暂时开放给微信认证的服务号`,
   657  				Request:     `POST https://api.weixin.qq.com/cgi-bin/user/info/updateremark?access_token=ACCESS_TOKEN`,
   658  				See:         `https://developers.weixin.qq.com/doc/offiaccount/User_Management/Configuring_user_notes.html`,
   659  				FuncName:    `UpdateRemark`,
   660  			},
   661  			{
   662  				Name:        "获取用户基本信息",
   663  				Description: `在关注者与公众号产生消息交互后,公众号可获得关注者的OpenID(加密后的微信号,每个用户对每个公众号的OpenID是唯一的。对于不同公众号,同一用户的openid不同)。公众号可通过本接口来根据OpenID获取用户基本信息,包括昵称、头像、性别、所在城市、语言和关注时间`,
   664  				Request:     `GET https://api.weixin.qq.com/cgi-bin/user/info?access_token=ACCESS_TOKEN&openid=OPENID&lang=zh_CN`,
   665  				See:         `https://developers.weixin.qq.com/doc/offiaccount/User_Management/Get_users_basic_information_UnionID.html#UinonId`,
   666  				FuncName:    `GetUserInfo`,
   667  				GetParams: []Param{
   668  					{Name: `openid`, Type: `string`},
   669  					{Name: `lang`, Type: `string`},
   670  				},
   671  			},
   672  			{
   673  				Name:        `批量获取用户基本信息`,
   674  				Description: `开发者可通过该接口来批量获取用户基本信息。最多支持一次拉取100条`,
   675  				Request:     `POST https://api.weixin.qq.com/cgi-bin/user/info/batchget?access_token=ACCESS_TOKEN`,
   676  				See:         `https://developers.weixin.qq.com/doc/offiaccount/User_Management/Get_users_basic_information_UnionID.html#UinonId`,
   677  				FuncName:    `BatchGetUserInfo`,
   678  			},
   679  			{
   680  				Name:        `获取用户列表`,
   681  				Description: `公众号可通过本接口来获取帐号的关注者列表,关注者列表由一串OpenID(加密后的微信号,每个用户对每个公众号的OpenID是唯一的)组成。一次拉取调用最多拉取10000个关注者的OpenID,可以通过多次拉取的方式来满足需求`,
   682  				Request:     `GET https://api.weixin.qq.com/cgi-bin/user/get?access_token=ACCESS_TOKEN&next_openid=NEXT_OPENID`,
   683  				See:         `https://developers.weixin.qq.com/doc/offiaccount/User_Management/Getting_a_User_List.html`,
   684  				GetParams:   []Param{{Name: `next_openid`, Type: `string`}},
   685  			},
   686  			{
   687  				Name:        `获取公众号的黑名单列表`,
   688  				Description: `公众号可通过该接口来获取帐号的黑名单列表,黑名单列表由一串 OpenID(加密后的微信号,每个用户对每个公众号的OpenID是唯一的)组成`,
   689  				Request:     `POST https://api.weixin.qq.com/cgi-bin/tags/members/getblacklist?access_token=ACCESS_TOKEN`,
   690  				See:         `https://developers.weixin.qq.com/doc/offiaccount/User_Management/Manage_blacklist.html`,
   691  				FuncName:    `GetBlackList`,
   692  			},
   693  			{
   694  				Name:        `拉黑用户`,
   695  				Description: `公众号可通过该接口来拉黑一批用户,黑名单列表由一串 OpenID (加密后的微信号,每个用户对每个公众号的OpenID是唯一的)组成`,
   696  				Request:     `POST https://api.weixin.qq.com/cgi-bin/tags/members/batchblacklist?access_token=ACCESS_TOKEN`,
   697  				See:         `https://developers.weixin.qq.com/doc/offiaccount/User_Management/Manage_blacklist.html`,
   698  				FuncName:    `BatchBlackList`,
   699  			},
   700  			{
   701  				Name:        `取消拉黑用户`,
   702  				Description: `公众号可通过该接口来取消拉黑一批用户,黑名单列表由一串OpenID(加密后的微信号,每个用户对每个公众号的OpenID是唯一的)组成`,
   703  				Request:     `POST https://api.weixin.qq.com/cgi-bin/tags/members/batchunblacklist?access_token=ACCESS_TOKEN`,
   704  				See:         `https://developers.weixin.qq.com/doc/offiaccount/User_Management/Manage_blacklist.html`,
   705  				FuncName:    `BatchUnBlackList`,
   706  			},
   707  		},
   708  	},
   709  	{
   710  		Name:    `账号管理`,
   711  		Package: `account`,
   712  		Apis: []Api{
   713  
   714  			{
   715  				Name:        "创建二维码ticket",
   716  				Description: "每次创建二维码ticket需要提供一个开发者自行设定的参数",
   717  				Request:     "POST https://api.weixin.qq.com/cgi-bin/qrcode/create?access_token=TOKEN",
   718  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Account_Management/Generating_a_Parametric_QR_Code.html",
   719  				FuncName:    "CreateQRCode",
   720  			},
   721  
   722  			{
   723  				Name:        "长链接转短链接",
   724  				Description: "将一条长链接转成短链接。主要使用场景: 开发者用于生成二维码的原链接(商品、支付二维码等)太长导致扫码速度和成功率下降,将原长链接通过此接口转成短链接再生成二维码将大大提升扫码速度和成功率",
   725  				Request:     "POST https://api.weixin.qq.com/cgi-bin/shorturl?access_token=ACCESS_TOKEN",
   726  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Account_Management/URL_Shortener.html",
   727  				FuncName:    "ShortUrl",
   728  			},
   729  		},
   730  	},
   731  	{
   732  		Name:    `数据统计`,
   733  		Package: `datacube`,
   734  		Apis: []Api{
   735  
   736  			{
   737  				Name:        "获取用户增减数据",
   738  				Description: "",
   739  				Request:     "POST https://api.weixin.qq.com/datacube/getusersummary?access_token=ACCESS_TOKEN",
   740  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Analytics/User_Analysis_Data_Interface.html",
   741  				FuncName:    "GetUserSummary",
   742  			},
   743  			{
   744  				Name:        "获取累计用户数据",
   745  				Description: "",
   746  				Request:     "POST https://api.weixin.qq.com/datacube/getusercumulate?access_token=ACCESS_TOKEN",
   747  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Analytics/User_Analysis_Data_Interface.html",
   748  				FuncName:    "GetUserCumulate",
   749  			},
   750  
   751  			{
   752  				Name:        "获取图文群发每日数据",
   753  				Description: "",
   754  				Request:     "POST https://api.weixin.qq.com/datacube/getarticlesummary?access_token=ACCESS_TOKEN",
   755  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Analytics/Graphic_Analysis_Data_Interface.html",
   756  				FuncName:    "GetArticleSummary",
   757  			},
   758  			{
   759  				Name:        "获取图文群发总数据",
   760  				Description: "",
   761  				Request:     "POST https://api.weixin.qq.com/datacube/getarticletotal?access_token=ACCESS_TOKEN",
   762  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Analytics/Graphic_Analysis_Data_Interface.html",
   763  				FuncName:    "GetArticleTotal",
   764  			},
   765  			{
   766  				Name:        "获取图文统计数据",
   767  				Description: "",
   768  				Request:     "POST https://api.weixin.qq.com/datacube/getuserread?access_token=ACCESS_TOKEN",
   769  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Analytics/Graphic_Analysis_Data_Interface.html",
   770  				FuncName:    "GetUserRead",
   771  			},
   772  			{
   773  				Name:        "获取图文统计分时数据",
   774  				Description: "",
   775  				Request:     "POST https://api.weixin.qq.com/datacube/getuserreadhour?access_token=ACCESS_TOKEN",
   776  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Analytics/Graphic_Analysis_Data_Interface.html",
   777  				FuncName:    "GetUserReadHour",
   778  			},
   779  			{
   780  				Name:        "获取图文分享转发数据",
   781  				Description: "",
   782  				Request:     "POST https://api.weixin.qq.com/datacube/getusershare?access_token=ACCESS_TOKEN",
   783  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Analytics/Graphic_Analysis_Data_Interface.html",
   784  				FuncName:    "GetUserShare",
   785  			},
   786  			{
   787  				Name:        "获取图文分享转发分时数据",
   788  				Description: "",
   789  				Request:     "POST https://api.weixin.qq.com/datacube/getusersharehour?access_token=ACCESS_TOKEN",
   790  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Analytics/Graphic_Analysis_Data_Interface.html",
   791  				FuncName:    "GetUserShareHour",
   792  			},
   793  
   794  			{
   795  				Name:        "获取消息发送概况数据",
   796  				Description: "",
   797  				Request:     "POST https://api.weixin.qq.com/datacube/getupstreammsg?access_token=ACCESS_TOKEN",
   798  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Analytics/Message_analysis_data_interface.html",
   799  				FuncName:    "GetUpstreamMsg",
   800  			},
   801  			{
   802  				Name:        "获取消息分送分时数据",
   803  				Description: "",
   804  				Request:     "POST https://api.weixin.qq.com/datacube/getupstreammsghour?access_token=ACCESS_TOKEN",
   805  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Analytics/Message_analysis_data_interface.html",
   806  				FuncName:    "GetUpstreamMsgHour",
   807  			},
   808  			{
   809  				Name:        "获取消息发送周数据",
   810  				Description: "",
   811  				Request:     "POST https://api.weixin.qq.com/datacube/getupstreammsgweek?access_token=ACCESS_TOKEN",
   812  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Analytics/Message_analysis_data_interface.html",
   813  				FuncName:    "GetUpstreamMsgWeek",
   814  			},
   815  			{
   816  				Name:        "获取消息发送月数据",
   817  				Description: "",
   818  				Request:     "POST https://api.weixin.qq.com/datacube/getupstreammsgmonth?access_token=ACCESS_TOKEN",
   819  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Analytics/Message_analysis_data_interface.html",
   820  				FuncName:    "GetUpstreamMsgMonth",
   821  			},
   822  			{
   823  				Name:        "获取消息发送分布数据",
   824  				Description: "",
   825  				Request:     "POST https://api.weixin.qq.com/datacube/getupstreammsgdist?access_token=ACCESS_TOKEN",
   826  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Analytics/Message_analysis_data_interface.html",
   827  				FuncName:    "GetUpstreamMsgDist",
   828  			},
   829  			{
   830  				Name:        "获取消息发送分布周数据",
   831  				Description: "",
   832  				Request:     "POST https://api.weixin.qq.com/datacube/getupstreammsgdistweek?access_token=ACCESS_TOKEN",
   833  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Analytics/Message_analysis_data_interface.html",
   834  				FuncName:    "GetUpstreamMsgDistWeek",
   835  			},
   836  			{
   837  				Name:        "获取消息发送分布月数据",
   838  				Description: "",
   839  				Request:     "POST https://api.weixin.qq.com/datacube/getupstreammsgdistmonth?access_token=ACCESS_TOKEN",
   840  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Analytics/Message_analysis_data_interface.html",
   841  				FuncName:    "GetUpstreamMsgDistMonth",
   842  			},
   843  
   844  			{
   845  				Name:        "获取公众号分广告位数据/公众号返佣商品数据/公众号结算收入数据及结算主体信息",
   846  				Description: "",
   847  				Request:     "GET https://api.weixin.qq.com/publisher/stat?action=publisher_adpos_general&access_token=ACCESS_TOKEN",
   848  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Analytics/Ad_Analysis.html",
   849  				FuncName:    "PublisherStat",
   850  				GetParams: []Param{
   851  					{Name: `action`, Type: `string`},
   852  				},
   853  			},
   854  			{
   855  				Name:        "获取接口分析数据",
   856  				Description: "",
   857  				Request:     "POST https://api.weixin.qq.com/datacube/getinterfacesummary?access_token=ACCESS_TOKEN",
   858  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Analytics/Analytics_API.html",
   859  				FuncName:    "GetInterfaceSummary",
   860  			},
   861  			{
   862  				Name:        "获取接口分析分时数据",
   863  				Description: "",
   864  				Request:     "POST https://api.weixin.qq.com/datacube/getinterfacesummaryhour?access_token=ACCESS_TOKEN",
   865  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Analytics/Analytics_API.html",
   866  				FuncName:    "GetInterfaceSummaryHour",
   867  			},
   868  		},
   869  	},
   870  	{
   871  		Name:    `微信卡券`,
   872  		Package: `card`,
   873  		Apis: []Api{
   874  
   875  			{
   876  				Name:        "创建卡券",
   877  				Description: "创建卡券接口是微信卡券的基础接口,用于创建一类新的卡券,获取card_id,创建成功并通过审核后,商家可以通过文档提供的其他接口将卡券下发给用户,每次成功领取,库存数量相应扣除",
   878  				Request:     "POST https://api.weixin.qq.com/card/create?access_token=ACCESS_TOKEN",
   879  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Create_a_Coupon_Voucher_or_Card.html",
   880  				FuncName:    "",
   881  			},
   882  			{
   883  				Name:        "设置买单",
   884  				Description: "创建卡券之后,开发者可以通过设置微信买单接口设置该card_id支持微信买单功能。值得开发者注意的是,设置买单的card_id必须已经配置了门店,否则会报错",
   885  				Request:     "POST https://api.weixin.qq.com/card/paycell/set?access_token=TOKEN",
   886  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Create_a_Coupon_Voucher_or_Card.html",
   887  				FuncName:    "SetPayCell",
   888  			},
   889  			{
   890  				Name:        "设置自助核销",
   891  				Description: "",
   892  				Request:     "POST https://api.weixin.qq.com/card/selfconsumecell/set?access_token=TOKEN",
   893  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Create_a_Coupon_Voucher_or_Card.html",
   894  				FuncName:    "SetSelfConsumeCell",
   895  			},
   896  
   897  			{
   898  				Name:        "创建二维码",
   899  				Description: "开发者可调用该接口生成一张卡券二维码供用户扫码后添加卡券到卡包",
   900  				Request:     "POST https://api.weixin.qq.com/card/qrcode/create?access_token=TOKEN",
   901  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Distributing_Coupons_Vouchers_and_Cards.html",
   902  				FuncName:    "CreateQRCode",
   903  			},
   904  			{
   905  				Name:        "创建货架",
   906  				Description: "开发者需调用该接口创建货架链接,用于卡券投放。创建货架时需填写投放路径的场景字段",
   907  				Request:     "POST https://api.weixin.qq.com/card/landingpage/create?access_token=$TOKEN",
   908  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Distributing_Coupons_Vouchers_and_Cards.html",
   909  				FuncName:    "CreateLandingPage",
   910  			},
   911  			{
   912  				Name:        "图文消息群发卡券",
   913  				Description: "支持开发者调用该接口获取卡券嵌入图文消息的标准格式代码,将返回代码填入 新增临时素材中content字段,即可获取嵌入卡券的图文消息素材",
   914  				Request:     "POST https://api.weixin.qq.com/card/mpnews/gethtml?access_token=TOKEN",
   915  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Distributing_Coupons_Vouchers_and_Cards.html",
   916  				FuncName:    "MpnewsGetHtml",
   917  			},
   918  			{
   919  				Name:        "设置测试白名单",
   920  				Description: "由于卡券有审核要求,为方便公众号调试,可以设置一些测试帐号,这些帐号可领取未通过审核的卡券,体验整个流程",
   921  				Request:     "POST https://api.weixin.qq.com/card/testwhitelist/set?access_token=TOKEN",
   922  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Distributing_Coupons_Vouchers_and_Cards.html",
   923  				FuncName:    "SetTestWhitelist",
   924  			},
   925  
   926  			{
   927  				Name:        "线下核销-查询 Code",
   928  				Description: "我们强烈建议开发者在调用核销code接口之前调用查询code接口,并在核销之前对非法状态的code(如转赠中、已删除、已核销等)做出处理",
   929  				Request:     "POST https://api.weixin.qq.com/card/code/get?access_token=TOKEN",
   930  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Redeeming_a_coupon_voucher_or_card.html",
   931  				FuncName:    "GetCode",
   932  			},
   933  			{
   934  				Name:        "核销 Code",
   935  				Description: "消耗code接口是核销卡券的唯一接口,开发者可以调用当前接口将用户的优惠券进行核销,该过程不可逆",
   936  				Request:     "POST https://api.weixin.qq.com/card/code/consume?access_token=TOKEN",
   937  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Redeeming_a_coupon_voucher_or_card.html",
   938  				FuncName:    "ConsumeCode",
   939  			},
   940  			{
   941  				Name:        "线上核销 - Code解码",
   942  				Description: "",
   943  				Request:     "POST https://api.weixin.qq.com/card/code/decrypt?access_token=TOKEN",
   944  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Redeeming_a_coupon_voucher_or_card.html",
   945  				FuncName:    "DecryptCode",
   946  			},
   947  
   948  			{
   949  				Name:        "获取用户已领取卡券",
   950  				Description: "用于获取用户卡包里的,属于该appid下所有可用卡券,包括正常状态和异常状态",
   951  				Request:     "POST https://api.weixin.qq.com/card/user/getcardlist?access_token=TOKEN",
   952  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Managing_Coupons_Vouchers_and_Cards.html",
   953  				FuncName:    "GetUserCardList",
   954  			},
   955  			{
   956  				Name:        "查看卡券详情",
   957  				Description: "开发者可以调用该接口查询某个card_id的创建信息、审核状态以及库存数量",
   958  				Request:     "POST https://api.weixin.qq.com/card/get?access_token=TOKEN",
   959  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Managing_Coupons_Vouchers_and_Cards.html",
   960  				FuncName:    "",
   961  			},
   962  			{
   963  				Name:        "批量查询卡券列表",
   964  				Description: "",
   965  				Request:     "POST https://api.weixin.qq.com/card/batchget?access_token=TOKEN",
   966  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Managing_Coupons_Vouchers_and_Cards.html",
   967  				FuncName:    "BatchGet",
   968  			},
   969  			{
   970  				Name:        "更改卡券信息",
   971  				Description: "支持更新所有卡券类型的部分通用字段及特殊卡券(会员卡、飞机票、电影票、会议门票)中特定字段的信息",
   972  				Request:     "POST https://api.weixin.qq.com/card/update?access_token=TOKEN",
   973  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Managing_Coupons_Vouchers_and_Cards.html",
   974  				FuncName:    "",
   975  			},
   976  			{
   977  				Name:        "修改库存",
   978  				Description: "调用修改库存接口增减某张卡券的库存",
   979  				Request:     "POST https://api.weixin.qq.com/card/modifystock?access_token=TOKEN",
   980  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Managing_Coupons_Vouchers_and_Cards.html",
   981  				FuncName:    "ModifyStock",
   982  			},
   983  			{
   984  				Name:        "更改Code",
   985  				Description: "为确保转赠后的安全性,微信允许自定义Code的商户对已下发的code进行更改。 注:为避免用户疑惑,建议仅在发生转赠行为后(发生转赠后,微信会通过事件推送的方式告知商户被转赠的卡券Code)对用户的Code进行更改",
   986  				Request:     "POST https://api.weixin.qq.com/card/code/update?access_token=TOKEN",
   987  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Managing_Coupons_Vouchers_and_Cards.html",
   988  				FuncName:    "UpdateCode",
   989  			},
   990  			{
   991  				Name:        "删除卡券",
   992  				Description: "删除卡券接口允许商户删除任意一类卡券。删除卡券后,该卡券对应已生成的领取用二维码、添加到卡包JS API均会失效。 注意:如用户在商家删除卡券前已领取一张或多张该卡券依旧有效。即删除卡券不能删除已被用户领取,保存在微信客户端中的卡券",
   993  				Request:     "POST https://api.weixin.qq.com/card/delete?access_token=TOKEN",
   994  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Managing_Coupons_Vouchers_and_Cards.html",
   995  				FuncName:    "",
   996  			},
   997  			{
   998  				Name:        "设置卡券失效",
   999  				Description: "为满足改票、退款等异常情况,可调用卡券失效接口将用户的卡券设置为失效状态",
  1000  				Request:     "POST https://api.weixin.qq.com/card/code/unavailable?access_token=TOKEN",
  1001  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Managing_Coupons_Vouchers_and_Cards.html",
  1002  				FuncName:    "UnavailableCoed",
  1003  			},
  1004  			{
  1005  				Name:        "拉取卡券概况数据",
  1006  				Description: "支持调用该接口拉取本商户的总体数据情况,包括时间区间内的各指标总量",
  1007  				Request:     "POST https://api.weixin.qq.com/datacube/getcardbizuininfo?access_token=ACCESS_TOKEN",
  1008  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Managing_Coupons_Vouchers_and_Cards.html",
  1009  				FuncName:    "GetCardBizUinInfo",
  1010  			},
  1011  			{
  1012  				Name:        "获取免费券数据",
  1013  				Description: "支持开发者调用该接口拉取免费券(优惠券、团购券、折扣券、礼品券)在固定时间区间内的相关数据",
  1014  				Request:     "POST https://api.weixin.qq.com/datacube/getcardcardinfo?access_token=ACCESS_TOKEN",
  1015  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Managing_Coupons_Vouchers_and_Cards.html",
  1016  				FuncName:    "GetCardInfo",
  1017  			},
  1018  			{
  1019  				Name:        "拉取会员卡概况数据",
  1020  				Description: "支持开发者调用该接口拉取公众平台创建的会员卡相关数据",
  1021  				Request:     "POST https://api.weixin.qq.com/datacube/getcardmembercardinfo?access_token=ACCESS_TOKEN",
  1022  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Managing_Coupons_Vouchers_and_Cards.html",
  1023  				FuncName:    "GetMemberCardInfo",
  1024  			},
  1025  			{
  1026  				Name:        "拉取单张会员卡数据",
  1027  				Description: "支持开发者调用该接口拉取API创建的会员卡数据情况",
  1028  				Request:     "POST https://api.weixin.qq.com/datacube/getcardmembercarddetail?access_token=ACCESS_TOKEN",
  1029  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Managing_Coupons_Vouchers_and_Cards.html",
  1030  				FuncName:    "GetMemberCardDetail",
  1031  			},
  1032  		},
  1033  	},
  1034  	{
  1035  		Name:    `微信礼品卡`,
  1036  		Package: `card/giftcard`,
  1037  		Apis: []Api{
  1038  
  1039  			{
  1040  				Name:        "创建-礼品卡货架",
  1041  				Description: "开发者可以通过该接口创建一个礼品卡货架并且用于公众号、门店的礼品卡售卖",
  1042  				Request:     "POST https://api.weixin.qq.com/card/giftcard/page/add?access_token=ACCESS_TOKEN",
  1043  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/gift_card.html",
  1044  				FuncName:    "PageAdd",
  1045  			},
  1046  			{
  1047  				Name:        "查询-礼品卡货架信息",
  1048  				Description: "开发者可以查询某个礼品卡货架信息",
  1049  				Request:     "POST https://api.weixin.qq.com/card/giftcard/page/get?access_token=ACCESS_TOKEN",
  1050  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/gift_card.html",
  1051  				FuncName:    "PageGet",
  1052  			},
  1053  			{
  1054  				Name:        "修改-礼品卡货架信息",
  1055  				Description: "开发者可以通过该接口更新礼品卡货架信息",
  1056  				Request:     "POST https://api.weixin.qq.com/card/giftcard/page/update?access_token=ACCESS_TOKEN",
  1057  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/gift_card.html",
  1058  				FuncName:    "PageUpdate",
  1059  			},
  1060  			{
  1061  				Name:        "查询-礼品卡货架列表",
  1062  				Description: "开发者可以通过该接口查询当前商户下所有的礼品卡货架id",
  1063  				Request:     "POST https://api.weixin.qq.com/card/giftcard/page/batchget?access_token=ACCESS_TOKEN",
  1064  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/gift_card.html",
  1065  				FuncName:    "PageBatchGet",
  1066  			},
  1067  			{
  1068  				Name:        "下架-礼品卡货架",
  1069  				Description: "开发者可以通过该接口查询当前商户下所有的礼品卡货架id",
  1070  				Request:     "POST https://api.weixin.qq.com/card/giftcard/maintain/set?access_token=ACCESS_TOKEN",
  1071  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/gift_card.html",
  1072  				FuncName:    "MaintainSet",
  1073  			},
  1074  			{
  1075  				Name:        "申请微信支付礼品卡权限",
  1076  				Description: "",
  1077  				Request:     "POST https://api.weixin.qq.com/card/giftcard/pay/whitelist/add?access_token=TOKEN",
  1078  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/gift_card.html",
  1079  				FuncName:    "PayWhitelistAdd",
  1080  			},
  1081  			{
  1082  				Name:        "绑定商户号到礼品卡小程序",
  1083  				Description: "",
  1084  				Request:     "POST https://api.weixin.qq.com/card/giftcard/pay/submch/bind?access_token=TOKEN",
  1085  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/gift_card.html",
  1086  				FuncName:    "PaySubmchBind",
  1087  			},
  1088  			{
  1089  				Name:        "上传小程序代码",
  1090  				Description: "",
  1091  				Request:     "POST https://api.weixin.qq.com/card/giftcard/wxa/set",
  1092  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/gift_card.html",
  1093  				FuncName:    "WxaSet",
  1094  			},
  1095  			{
  1096  				Name:        "查询-单个礼品卡订单信息",
  1097  				Description: "开发者可以通过该接口查询某个订单号对应的订单详情",
  1098  				Request:     "POST https://api.weixin.qq.com/card/giftcard/order/get?access_token=ACCESS_TOKEN",
  1099  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/gift_card.html",
  1100  				FuncName:    "OrderGet",
  1101  			},
  1102  			{
  1103  				Name:        "批量查询礼品卡订单信息",
  1104  				Description: "开发者可以通过该接口查询该商户某个时间段内创建的所有订单详情",
  1105  				Request:     "POST https://api.weixin.qq.com/card/giftcard/order/batchget?access_token=ACCESS_TOKEN",
  1106  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/gift_card.html",
  1107  				FuncName:    "OrderBatchGet",
  1108  			},
  1109  			{
  1110  				Name:        "更新用户礼品卡信息",
  1111  				Description: "当礼品卡被使用后,开发者可以通过该接口变更某个礼品卡的余额信息",
  1112  				Request:     "POST https://api.weixin.qq.com/card/generalcard/updateuser?access_token=TOKEN",
  1113  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/gift_card.html",
  1114  				FuncName:    "GeneralCardUpdateUser",
  1115  			},
  1116  			{
  1117  				Name:        "退款",
  1118  				Description: "开发者可以通过该接口对某一笔订单操作退款,注意该接口比较隐私,请开发者提高操作该功能的权限等级",
  1119  				Request:     "POST https://api.weixin.qq.com/card/giftcard/order/refund?access_token=ACCESS_TOKEN",
  1120  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/gift_card.html",
  1121  				FuncName:    "OrderRefund",
  1122  			},
  1123  			{
  1124  				Name:        "设置支付后开票信息",
  1125  				Description: "商户可以通过该接口设置某个商户号发生收款后在支付消息上出现开票授权按钮",
  1126  				Request:     "POST https://api.weixin.qq.com/card/invoice/setbizattr?action=set_pay_mch&access_token={access_token}",
  1127  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/gift_card.html",
  1128  				FuncName:    "InvoiceSetBizAttr",
  1129  			},
  1130  			{
  1131  				Name:        "查询开票信息",
  1132  				Description: "用户完成授权后,商户可以调用该接口查询某一个订单",
  1133  				Request:     "POST https://api.weixin.qq.com/card/invoice/getauthdata",
  1134  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/gift_card.html",
  1135  				FuncName:    "InvoiceGetAuthData",
  1136  			},
  1137  		},
  1138  	},
  1139  	{
  1140  		Name:    `会员卡专区`,
  1141  		Package: `card/membercard`,
  1142  		Apis: []Api{
  1143  
  1144  			{
  1145  				Name:        "获取开卡插件参数",
  1146  				Description: "开发者可以通过该接口获取到调用开卡插件所需的参数",
  1147  				Request:     "POST https://api.weixin.qq.com/card/membercard/activate/geturl?access_token=",
  1148  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Coupons-Mini_Program_Start_Up.html",
  1149  				FuncName:    "ActivateGetUrl",
  1150  			},
  1151  			{
  1152  				Name:        "获取用户开卡时提交的信息(跳转型开卡组件)",
  1153  				Description: "开发者可以通过该接口获取到用户开卡时填写的字段值",
  1154  				Request:     "POST https://api.weixin.qq.com/card/membercard/activatetempinfo/get?access_token=TOKEN",
  1155  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Coupons-Mini_Program_Start_Up.html",
  1156  				FuncName:    "ActivateTempInfoGet",
  1157  			},
  1158  			{
  1159  				Name:        "激活用户领取的会员卡(跳转型开卡组件)",
  1160  				Description: "开发者可以通过该接口获取到用户开卡时填写的字段值",
  1161  				Request:     "POST https://api.weixin.qq.com/card/membercard/activate?access_token=TOKEN",
  1162  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Coupons-Mini_Program_Start_Up.html",
  1163  				FuncName:    "Activate",
  1164  			},
  1165  
  1166  			{
  1167  				Name:        "设置开卡字段",
  1168  				Description: "开发者在创建时填入wx_activate字段后,需要调用该接口设置用户激活时需要填写的选项,否则一键开卡设置不生效",
  1169  				Request:     "POST https://api.weixin.qq.com/card/membercard/activateuserform/set?access_token=TOKEN",
  1170  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Membership_Cards/Create_a_membership_card.html",
  1171  				FuncName:    "ActivateUserFormSet",
  1172  			},
  1173  			{
  1174  				Name:        "拉取会员信息",
  1175  				Description: "支持开发者根据CardID和Code查询会员信息",
  1176  				Request:     "POST https://api.weixin.qq.com/card/membercard/userinfo/get?access_token=TOKEN",
  1177  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Membership_Cards/Create_a_membership_card.html",
  1178  				FuncName:    "UserinfoGet",
  1179  			},
  1180  			{
  1181  				Name:        "更新会员信息",
  1182  				Description: "当会员持卡消费后,支持开发者调用该接口更新会员信息。会员卡交易后的每次信息变更需通过该接口通知微信,便于后续消息通知及其他扩展功能",
  1183  				Request:     "POST https://api.weixin.qq.com/card/membercard/updateuser?access_token=TOKEN",
  1184  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Membership_Cards/Create_a_membership_card.html",
  1185  				FuncName:    "UpdateUser",
  1186  			},
  1187  
  1188  			{
  1189  				Name:        "设置支付后投放卡券",
  1190  				Description: "支持商户设置支付后投放卡券规则,可以区分时间段和金额区间发会员卡",
  1191  				Request:     "POST https://api.weixin.qq.com/card/paygiftcard/add?access_token=TOKEN",
  1192  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Membership_Cards/Manage_Member_Card.html",
  1193  				FuncName:    "PayGiftcardAdd",
  1194  			},
  1195  			{
  1196  				Name:        "删除支付后投放卡券规则",
  1197  				Description: "支持商户删除之前设置的规则id",
  1198  				Request:     "POST https://api.weixin.qq.com/card/paygiftcard/delete?access_token=TOKEN",
  1199  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Membership_Cards/Manage_Member_Card.html",
  1200  				FuncName:    "PayGiftcardDelete",
  1201  			},
  1202  			{
  1203  				Name:        "查询支付后投放卡券规则详情",
  1204  				Description: "可以查询某个支付即会员规则内容",
  1205  				Request:     "POST https://api.weixin.qq.com/card/paygiftcard/getbyid?access_token=TOKEN",
  1206  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Membership_Cards/Manage_Member_Card.html",
  1207  				FuncName:    "PayGiftcardGetById",
  1208  			},
  1209  			{
  1210  				Name:        "批量查询支付后投放卡券规则",
  1211  				Description: "可以批量查询某个商户支付即会员规则内容",
  1212  				Request:     "POST https://api.weixin.qq.com/card/paygiftcard/batchget?access_token=TOKEN",
  1213  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Membership_Cards/Manage_Member_Card.html",
  1214  				FuncName:    "PayGiftcardBatchGet",
  1215  			},
  1216  		},
  1217  	},
  1218  	{
  1219  		Name:    `特殊票券`,
  1220  		Package: `card/ticket`,
  1221  		Apis: []Api{
  1222  
  1223  			{
  1224  				Name:        "更新会议门票",
  1225  				Description: "持调用“更新会议门票”接口update 入场时间、区域、座位等信息",
  1226  				Request:     "POST https://api.weixin.qq.com/card/meetingticket/updateuser?access_token=TOKEN",
  1227  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Special_ticket.html",
  1228  				FuncName:    "MeetingTicketUpdateUser",
  1229  			},
  1230  			{
  1231  				Name:        "更新电影票",
  1232  				Description: "领取电影票后通过调用“更新电影票”接口update电影信息及用户选座信息",
  1233  				Request:     "POST https://api.weixin.qq.com/card/movieticket/updateuser?access_token=TOKEN",
  1234  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Special_ticket.html",
  1235  				FuncName:    "MovieTicketUpdateUser",
  1236  			},
  1237  			{
  1238  				Name:        "更新飞机票信息",
  1239  				Description: "",
  1240  				Request:     "POST https://api.weixin.qq.com/card/boardingpass/checkin?access_token=TOKEN",
  1241  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Special_ticket.html",
  1242  				FuncName:    "BoardingPassCheckin",
  1243  			},
  1244  		},
  1245  	},
  1246  	{
  1247  		Name:    `票券-第三方开发者模式`,
  1248  		Package: `card/submerchant`,
  1249  		Apis: []Api{
  1250  
  1251  			{
  1252  				Name:        "创建子商户",
  1253  				Description: "支持母商户调用该接口传入子商户的相关资料,并获取子商户ID,用于子商户的卡券功能管理。 子商户的资质包括:商户名称、商户logo(图片)、卡券类目、授权函(扫描件或彩照)、授权函有效期截止时间",
  1254  				Request:     "POST https://api.weixin.qq.com/card/submerchant/submit?access_token=TOKEN",
  1255  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Third-party_developer_mode.html",
  1256  				FuncName:    "Submit",
  1257  			},
  1258  			{
  1259  				Name:        "卡券开放类目查询",
  1260  				Description: "通过调用该接口查询卡券开放的类目ID,类目会随业务发展变更,请每次用接口去查询获取实时卡券类目",
  1261  				Request:     "POST https://api.weixin.qq.com/card/getapplyprotocol?access_token=TOKEN",
  1262  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Third-party_developer_mode.html",
  1263  				FuncName:    "GetApplyProtocol",
  1264  			},
  1265  			{
  1266  				Name:        "更新子商户",
  1267  				Description: "支持调用该接口更新子商户信息",
  1268  				Request:     "POST https://api.weixin.qq.com/card/submerchant/update?access_token=TOKEN",
  1269  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Third-party_developer_mode.html",
  1270  				FuncName:    "Update",
  1271  			},
  1272  			{
  1273  				Name:        "拉取单个子商户信息",
  1274  				Description: "通过指定的子商户appid,拉取该子商户的基础信息。 注意,用母商户去调用接口,但接口内传入的是子商户的appid",
  1275  				Request:     "POST https://api.weixin.qq.com/card/submerchant/get?access_token=TOKEN",
  1276  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Third-party_developer_mode.html",
  1277  				FuncName:    "Get",
  1278  			},
  1279  			{
  1280  				Name:        "批量拉取子商户信息",
  1281  				Description: "母商户可以通过该接口批量拉取子商户的相关信息,一次调用最多拉取100个子商户的信息,可以通过多次拉去满足不同的查询需求",
  1282  				Request:     "POST https://api.weixin.qq.com/card/submerchant/batchget?access_token=TOKEN",
  1283  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Third-party_developer_mode.html",
  1284  				FuncName:    "BatchGet",
  1285  			},
  1286  		},
  1287  	},
  1288  	{
  1289  		Name:    `微信门店`,
  1290  		Package: `poi`,
  1291  		Apis: []Api{
  1292  
  1293  			{
  1294  				Name:        "创建门店",
  1295  				Description: "创建门店接口是为商户提供创建自己门店数据的接口,门店数据字段越完整,商户页面展示越丰富,越能够吸引更多用户,并提高曝光度",
  1296  				Request:     "POST https://api.weixin.qq.com/cgi-bin/poi/addpoi?access_token=TOKEN",
  1297  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Store_Interface.html",
  1298  				FuncName:    "",
  1299  			},
  1300  			{
  1301  				Name:        "查询门店信息",
  1302  				Description: "创建门店后获取poi_id 后,商户可以利用poi_id,查询具体某条门店的信息。 若在查询时,update_status 字段为1,表明在5 个工作日内曾用update 接口修改过门店扩展字段,该扩展字段为最新的修改字段,尚未经过审核采纳,因此不是最终结果。最终结果会在5 个工作日内,最终确认是否采纳,并前端生效(但该扩展字段的采纳过程不影响门店的可用性,即available_state仍为审核通过状态)",
  1303  				Request:     "POST https://api.weixin.qq.com/cgi-bin/poi/getpoi?access_token=TOKEN",
  1304  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Store_Interface.html",
  1305  				FuncName:    "",
  1306  			},
  1307  			{
  1308  				Name:        "查询门店列表",
  1309  				Description: "商户可以通过该接口,批量查询自己名下的门店list,并获取已审核通过的poiid、商户自身sid 用于对应、商户名、分店名、地址字段",
  1310  				Request:     "POST https://api.weixin.qq.com/cgi-bin/poi/getpoilist?access_token=TOKEN",
  1311  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Store_Interface.html",
  1312  				FuncName:    "GetPoiList",
  1313  			},
  1314  			{
  1315  				Name:        "修改门店服务信息",
  1316  				Description: "商户可以通过该接口,修改门店的服务信息,包括:sid、图片列表、营业时间、推荐、特色服务、简介、人均价格、电话8个字段(名称、坐标、地址等不可修改)修改后需要人工审核",
  1317  				Request:     "POST https://api.weixin.qq.com/cgi-bin/poi/updatepoi?access_token=TOKEN",
  1318  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Store_Interface.html",
  1319  				FuncName:    "",
  1320  			},
  1321  			{
  1322  				Name:        "删除门店",
  1323  				Description: "商户可以通过该接口,删除已经成功创建的门店。请商户慎重调用该接口",
  1324  				Request:     "POST https://api.weixin.qq.com/cgi-bin/poi/delpoi?access_token=TOKEN",
  1325  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Store_Interface.html",
  1326  				FuncName:    "",
  1327  			},
  1328  			{
  1329  				Name:        "门店类目表",
  1330  				Description: "类目名称接口是为商户提供自己门店类型信息的接口。门店类目定位的越规范,能够精准的吸引更多用户,提高曝光率",
  1331  				Request:     "POST https://api.weixin.qq.com/cgi-bin/poi/getwxcategory?access_token=TOKEN",
  1332  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Store_Interface.html",
  1333  				FuncName:    "GetWXCategory",
  1334  			},
  1335  		},
  1336  	},
  1337  	{
  1338  		Name:    `微信门店小程序`,
  1339  		Package: `poi/miniprogram`,
  1340  		Apis: []Api{
  1341  			{
  1342  				Name:        "拉取门店小程序类目",
  1343  				Description: "",
  1344  				Request:     "GET https://api.weixin.qq.com/wxa/get_merchant_category?access_token=TOKEN",
  1345  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Shop_Miniprogram_Interface.html",
  1346  				FuncName:    "",
  1347  			},
  1348  			{
  1349  				Name:        "创建门店小程序",
  1350  				Description: "",
  1351  				Request:     "POST https://api.weixin.qq.com/wxa/apply_merchant?access_token=TOKEN",
  1352  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Shop_Miniprogram_Interface.html",
  1353  				FuncName:    "",
  1354  			},
  1355  			{
  1356  				Name:        "查询门店小程序审核结果",
  1357  				Description: "",
  1358  				Request:     "GET https://api.weixin.qq.com/wxa/get_merchant_audit_info?access_token=TOKEN",
  1359  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Shop_Miniprogram_Interface.html",
  1360  				FuncName:    "",
  1361  			},
  1362  			{
  1363  				Name:        "修改门店小程序信息",
  1364  				Description: "",
  1365  				Request:     "POST https://api.weixin.qq.com/wxa/modify_merchant?access_token=TOKEN",
  1366  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Shop_Miniprogram_Interface.html",
  1367  				FuncName:    "",
  1368  			},
  1369  			{
  1370  				Name:        "从腾讯地图拉取省市区信息",
  1371  				Description: "",
  1372  				Request:     "GET https://api.weixin.qq.com/wxa/get_district?access_token=TOKEN",
  1373  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Shop_Miniprogram_Interface.html",
  1374  				FuncName:    "",
  1375  			},
  1376  			{
  1377  				Name:        "在腾讯地图中搜索门店",
  1378  				Description: "",
  1379  				Request:     "POST https://api.weixin.qq.com/wxa/search_map_poi?access_token=TOKEN",
  1380  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Shop_Miniprogram_Interface.html",
  1381  				FuncName:    "",
  1382  			},
  1383  			{
  1384  				Name:        "在腾讯地图中创建门店",
  1385  				Description: "",
  1386  				Request:     "POST https://api.weixin.qq.com/wxa/create_map_poi?access_token=TOKEN",
  1387  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Shop_Miniprogram_Interface.html",
  1388  				FuncName:    "",
  1389  			},
  1390  			{
  1391  				Name:        "添加门店",
  1392  				Description: "",
  1393  				Request:     "POST https://api.weixin.qq.com/wxa/add_store?access_token=TOKEN",
  1394  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Shop_Miniprogram_Interface.html",
  1395  				FuncName:    "",
  1396  			},
  1397  			{
  1398  				Name:        "更新门店信息",
  1399  				Description: "",
  1400  				Request:     "POST https://api.weixin.qq.com/wxa/update_store?access_token=TOKEN",
  1401  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Shop_Miniprogram_Interface.html",
  1402  				FuncName:    "",
  1403  			},
  1404  			{
  1405  				Name:        "获取门店小程序配置的卡券",
  1406  				Description: "",
  1407  				Request:     "POST https://api.weixin.qq.com/card/storewxa/get?access_token=ACCESS_TOKEN",
  1408  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Shop_Miniprogram_Interface.html",
  1409  				FuncName:    "CardStorewxaGet",
  1410  			},
  1411  			{
  1412  				Name:        "获取单个门店信息",
  1413  				Description: "",
  1414  				Request:     "POST https://api.weixin.qq.com/wxa/get_store_info?access_token=TOKEN",
  1415  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Shop_Miniprogram_Interface.html",
  1416  				FuncName:    "",
  1417  			},
  1418  			{
  1419  				Name:        "获取门店信息列表",
  1420  				Description: "",
  1421  				Request:     "POST https://api.weixin.qq.com/wxa/get_store_list?access_token=TOKEN",
  1422  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Shop_Miniprogram_Interface.html",
  1423  				FuncName:    "",
  1424  			},
  1425  			{
  1426  				Name:        "删除门店",
  1427  				Description: "",
  1428  				Request:     "POST https://api.weixin.qq.com/wxa/del_store?access_token=TOKEN",
  1429  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Stores/WeChat_Shop_Miniprogram_Interface.html",
  1430  				FuncName:    "",
  1431  			},
  1432  		},
  1433  	},
  1434  	{
  1435  		Name:    `微信小店/商品管理`,
  1436  		Package: `store/product`,
  1437  		Apis: []Api{
  1438  			{
  1439  				Name:        "增加商品",
  1440  				Description: "",
  1441  				Request:     "POST https://api.weixin.qq.com/merchant/create?access_token=ACCESS_TOKEN",
  1442  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html",
  1443  				FuncName:    "",
  1444  			},
  1445  			{
  1446  				Name:        "删除商品",
  1447  				Description: "",
  1448  				Request:     "POST https://api.weixin.qq.com/merchant/del?access_token=ACCESS_TOKEN",
  1449  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html",
  1450  				FuncName:    "",
  1451  			},
  1452  			{
  1453  				Name:        "修改商品",
  1454  				Description: "",
  1455  				Request:     "POST https://api.weixin.qq.com/merchant/update?access_token=ACCESS_TOKEN",
  1456  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html",
  1457  				FuncName:    "",
  1458  			},
  1459  			{
  1460  				Name:        "查询商品",
  1461  				Description: "",
  1462  				Request:     "POST https://api.weixin.qq.com/merchant/get?access_token=ACCESS_TOKEN",
  1463  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html",
  1464  				FuncName:    "",
  1465  			},
  1466  			{
  1467  				Name:        "获取指定状态的所有商品",
  1468  				Description: "",
  1469  				Request:     "POST https://api.weixin.qq.com/merchant/getbystatus?access_token=ACCESS_TOKEN",
  1470  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html",
  1471  				FuncName:    "GetByStatus",
  1472  			},
  1473  			{
  1474  				Name:        "商品上下架",
  1475  				Description: "",
  1476  				Request:     "POST https://api.weixin.qq.com/merchant/modproductstatus?access_token=ACCESS_TOKEN",
  1477  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html",
  1478  				FuncName:    "ModProductStatus",
  1479  			},
  1480  			{
  1481  				Name:        "获取指定分类的所有子分类",
  1482  				Description: "",
  1483  				Request:     "POST https://api.weixin.qq.com/merchant/category/getsub?access_token=ACCESS_TOKEN",
  1484  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html",
  1485  				FuncName:    "GetSub",
  1486  			},
  1487  			{
  1488  				Name:        "获取指定子分类的所有SKU",
  1489  				Description: "",
  1490  				Request:     "POST https://api.weixin.qq.com/merchant/category/getsku?access_token=ACCESS_TOKEN",
  1491  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html",
  1492  				FuncName:    "GetSku",
  1493  			},
  1494  			{
  1495  				Name:        "获取指定分类的所有属性",
  1496  				Description: "",
  1497  				Request:     "POST https://api.weixin.qq.com/merchant/category/getproperty?access_token=ACCESS_TOKEN",
  1498  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html",
  1499  				FuncName:    "GetProperty",
  1500  			},
  1501  		},
  1502  	},
  1503  	{
  1504  		Name:    `微信小店/库存管理`,
  1505  		Package: `store/stock`,
  1506  		Apis: []Api{
  1507  
  1508  			{
  1509  				Name:        "增加库存",
  1510  				Description: "",
  1511  				Request:     "POST https://api.weixin.qq.com/merchant/stock/add?access_token=ACCESS_TOKEN",
  1512  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html",
  1513  				FuncName:    "",
  1514  			},
  1515  			{
  1516  				Name:        "减少库存",
  1517  				Description: "",
  1518  				Request:     "POST https://api.weixin.qq.com/merchant/stock/reduce?access_token=ACCESS_TOKEN",
  1519  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html",
  1520  				FuncName:    "",
  1521  			},
  1522  		},
  1523  	},
  1524  	{
  1525  		Name:    `微信小店/邮费模板管理管理`,
  1526  		Package: `store/express`,
  1527  		Apis: []Api{
  1528  
  1529  			{
  1530  				Name:        "增加邮费模板",
  1531  				Description: "",
  1532  				Request:     "POST https://api.weixin.qq.com/merchant/express/add?access_token=ACCESS_TOKEN",
  1533  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html",
  1534  				FuncName:    "",
  1535  			},
  1536  			{
  1537  				Name:        "删除邮费模板",
  1538  				Description: "",
  1539  				Request:     "POST https://api.weixin.qq.com/merchant/express/del?access_token=ACCESS_TOKEN",
  1540  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html",
  1541  				FuncName:    "",
  1542  			},
  1543  			{
  1544  				Name:        "修改邮费模板",
  1545  				Description: "",
  1546  				Request:     "POST https://api.weixin.qq.com/merchant/express/update?access_token=ACCESS_TOKEN",
  1547  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html",
  1548  				FuncName:    "",
  1549  			},
  1550  			{
  1551  				Name:        "获取指定ID的邮费模板",
  1552  				Description: "",
  1553  				Request:     "POST https://api.weixin.qq.com/merchant/express/getbyid?access_token=ACCESS_TOKEN",
  1554  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html",
  1555  				FuncName:    "GetById",
  1556  			},
  1557  			{
  1558  				Name:        "获取所有邮费模板",
  1559  				Description: "",
  1560  				Request:     "GET https://api.weixin.qq.com/merchant/express/getall?access_token=ACCESS_TOKEN",
  1561  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html",
  1562  				FuncName:    "GetAll",
  1563  			},
  1564  		},
  1565  	},
  1566  	{
  1567  		Name:    `微信小店/分组管理`,
  1568  		Package: `store/group`,
  1569  		Apis: []Api{
  1570  
  1571  			{
  1572  				Name:        "增加分组",
  1573  				Description: "",
  1574  				Request:     "POST https://api.weixin.qq.com/merchant/group/add?access_token=ACCESS_TOKEN",
  1575  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html",
  1576  				FuncName:    "",
  1577  			},
  1578  			{
  1579  				Name:        "删除分组",
  1580  				Description: "",
  1581  				Request:     "POST https://api.weixin.qq.com/merchant/group/del?access_token=ACCESS_TOKEN",
  1582  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html",
  1583  				FuncName:    "",
  1584  			},
  1585  			{
  1586  				Name:        "修改分组属性",
  1587  				Description: "",
  1588  				Request:     "POST https://api.weixin.qq.com/merchant/group/propertymod?access_token=ACCESS_TOKEN",
  1589  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html",
  1590  				FuncName:    "PropertyMod",
  1591  			},
  1592  			{
  1593  				Name:        "修改分组商品",
  1594  				Description: "",
  1595  				Request:     "POST https://api.weixin.qq.com/merchant/group/productmod?access_token=ACCESS_TOKEN",
  1596  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html",
  1597  				FuncName:    "ProductMod",
  1598  			},
  1599  			{
  1600  				Name:        "获取所有分组",
  1601  				Description: "",
  1602  				Request:     "GET https://api.weixin.qq.com/merchant/group/getall?access_token=ACCESS_TOKEN",
  1603  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html",
  1604  				FuncName:    "GetAll",
  1605  			},
  1606  			{
  1607  				Name:        "根据分组ID获取分组信息",
  1608  				Description: "",
  1609  				Request:     "POST https://api.weixin.qq.com/merchant/group/getbyid?access_token=ACCESS_TOKEN",
  1610  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html",
  1611  				FuncName:    "GetById",
  1612  			},
  1613  		},
  1614  	},
  1615  	{
  1616  		Name:    `微信小店/货架管理`,
  1617  		Package: `store/shelf`,
  1618  		Apis: []Api{
  1619  
  1620  			{
  1621  				Name:        "增加货架",
  1622  				Description: "",
  1623  				Request:     "POST https://api.weixin.qq.com/merchant/shelf/add?access_token=ACCESS_TOKEN",
  1624  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html",
  1625  				FuncName:    "",
  1626  			},
  1627  			{
  1628  				Name:        "删除货架",
  1629  				Description: "",
  1630  				Request:     "POST https://api.weixin.qq.com/merchant/shelf/del?access_token=ACCESS_TOKEN",
  1631  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html",
  1632  				FuncName:    "",
  1633  			},
  1634  			{
  1635  				Name:        "修改货架",
  1636  				Description: "",
  1637  				Request:     "POST https://api.weixin.qq.com/merchant/shelf/mod?access_token=ACCESS_TOKEN",
  1638  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html",
  1639  				FuncName:    "",
  1640  			},
  1641  			{
  1642  				Name:        "获取所有货架",
  1643  				Description: "",
  1644  				Request:     "GET https://api.weixin.qq.com/merchant/shelf/getall?access_token=ACCESS_TOKEN",
  1645  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html",
  1646  				FuncName:    "GetAll",
  1647  			},
  1648  			{
  1649  				Name:        "根据货架ID获取货架信息",
  1650  				Description: "",
  1651  				Request:     "POST https://api.weixin.qq.com/merchant/shelf/getbyid?access_token=ACCESS_TOKEN",
  1652  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html",
  1653  				FuncName:    "GetById",
  1654  			},
  1655  		},
  1656  	},
  1657  	{
  1658  		Name:    `微信小店/订单管理`,
  1659  		Package: `store/order`,
  1660  		Apis: []Api{
  1661  
  1662  			{
  1663  				Name:        "根据订单ID获取订单详情",
  1664  				Description: "",
  1665  				Request:     "POST https://api.weixin.qq.com/merchant/order/getbyid?access_token=ACCESS_TOKEN",
  1666  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html",
  1667  				FuncName:    "GetById",
  1668  			},
  1669  			{
  1670  				Name:        "根据订单状态/创建时间获取订单详情",
  1671  				Description: "",
  1672  				Request:     "POST https://api.weixin.qq.com/merchant/order/getbyfilter?access_token=ACCESS_TOKEN",
  1673  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html",
  1674  				FuncName:    "GetByFilter",
  1675  			},
  1676  			{
  1677  				Name:        "设置订单发货信息",
  1678  				Description: "",
  1679  				Request:     "POST https://api.weixin.qq.com/merchant/order/setdelivery?access_token=ACCESS_TOKEN",
  1680  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html",
  1681  				FuncName:    "SetDelivery",
  1682  			},
  1683  			{
  1684  				Name:        "关闭订单",
  1685  				Description: "",
  1686  				Request:     "POST https://api.weixin.qq.com/merchant/order/close?access_token=ACCESS_TOKEN",
  1687  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html",
  1688  				FuncName:    "",
  1689  			},
  1690  		},
  1691  	},
  1692  	{
  1693  		Name:    `微信小店/功能接口`,
  1694  		Package: `store`,
  1695  		Apis: []Api{
  1696  
  1697  			{
  1698  				Name:        "上传图片",
  1699  				Description: "",
  1700  				Request:     "POST https://api.weixin.qq.com/merchant/common/upload_img?access_token=ACCESS_TOKEN&filename=test.png",
  1701  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Instant_Stores/WeChat_Store_Interface.html",
  1702  				FuncName:    "",
  1703  			},
  1704  		},
  1705  	},
  1706  	{
  1707  		Name:    `智能接口`,
  1708  		Package: `ai`,
  1709  		Apis: []Api{
  1710  
  1711  			{
  1712  				Name:        "语义理解",
  1713  				Description: "",
  1714  				Request:     "POST https://api.weixin.qq.com/semantic/semproxy/search?access_token=YOUR_ACCESS_TOKEN",
  1715  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Intelligent_Interface/Natural_Language_Processing.html",
  1716  				FuncName:    "Semantic",
  1717  			},
  1718  
  1719  			{
  1720  				Name:        "提交语音",
  1721  				Description: "",
  1722  				Request:     "POST(@media) https://api.weixin.qq.com/cgi-bin/media/voice/addvoicetorecofortext?access_token=ACCESS_TOKEN&format=&voice_id=xxxxxx&lang=zh_CN",
  1723  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Intelligent_Interface/AI_Open_API.html",
  1724  				FuncName:    "AddVoiceToRecoForText",
  1725  				GetParams: []Param{
  1726  					{Name: "format", Type: "string"},
  1727  					{Name: "voice_id", Type: "string"},
  1728  					{Name: "lang", Type: "string"},
  1729  				},
  1730  			},
  1731  			{
  1732  				Name:        "获取语音识别结果",
  1733  				Description: "",
  1734  				Request:     "POST https://api.weixin.qq.com/cgi-bin/media/voice/queryrecoresultfortext?access_token=ACCESS_TOKEN&voice_id=xxxxxx&lang=zh_CN",
  1735  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Intelligent_Interface/AI_Open_API.html",
  1736  				FuncName:    "QueryRecoResultForText",
  1737  				GetParams: []Param{
  1738  					{Name: "voice_id", Type: "string"},
  1739  					{Name: "lang", Type: "string"},
  1740  				},
  1741  			},
  1742  			{
  1743  				Name:        "微信翻译",
  1744  				Description: "",
  1745  				Request:     "POST https://api.weixin.qq.com/cgi-bin/media/voice/translatecontent?access_token=ACCESS_TOKEN&lfrom=xxx&lto=xxx",
  1746  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Intelligent_Interface/AI_Open_API.html",
  1747  				FuncName:    "TranslateContent",
  1748  				GetParams: []Param{
  1749  					{Name: "lfrom", Type: "string"},
  1750  					{Name: "lto", Type: "string"},
  1751  				},
  1752  			},
  1753  
  1754  			{
  1755  				Name:        "身份证OCR识别",
  1756  				Description: "",
  1757  				Request:     "POST https://api.weixin.qq.com/cv/ocr/idcard?img_url=ENCODE_URL&access_token=ACCESS_TOCKEN",
  1758  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Intelligent_Interface/OCR.html",
  1759  				FuncName:    "OCRIDCard",
  1760  			},
  1761  			{
  1762  				Name:        "银行卡OCR识别",
  1763  				Description: "",
  1764  				Request:     "POST https://api.weixin.qq.com/cv/ocr/bankcard",
  1765  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Intelligent_Interface/OCR.html",
  1766  				FuncName:    "OCRBankcard",
  1767  			},
  1768  			{
  1769  				Name:        "行驶证/驾驶证 OCR识别",
  1770  				Description: "",
  1771  				Request:     "POST https://api.weixin.qq.com/cv/ocr/drivinglicense?img_url=ENCODE_URL&access_token=ACCESS_TOCKEN",
  1772  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Intelligent_Interface/OCR.html",
  1773  				FuncName:    "OCRDrivingLicense",
  1774  			},
  1775  			{
  1776  				Name:        "营业执照OCR识别",
  1777  				Description: "",
  1778  				Request:     "POST https://api.weixin.qq.com/cv/ocr/bizlicense?img_url=ENCODE_URL&access_token=ACCESS_TOCKEN",
  1779  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Intelligent_Interface/OCR.html",
  1780  				FuncName:    "OCRBizLicense",
  1781  			},
  1782  			{
  1783  				Name:        "通用印刷体OCR识别",
  1784  				Description: "",
  1785  				Request:     "POST https://api.weixin.qq.com/cv/ocr/comm?img_url=ENCODE_URL&access_token=ACCESS_TOCKEN",
  1786  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Intelligent_Interface/OCR.html",
  1787  				FuncName:    "OCRCommon",
  1788  			},
  1789  
  1790  			{
  1791  				Name:        "二维码/条码识别",
  1792  				Description: "",
  1793  				Request:     "POST https://api.weixin.qq.com/cv/img/qrcode?img_url=ENCODE_URL&access_token=ACCESS_TOCKEN",
  1794  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Intelligent_Interface/Img_Proc.html",
  1795  				FuncName:    "QRCode",
  1796  			},
  1797  			{
  1798  				Name:        "图片高清化",
  1799  				Description: "",
  1800  				Request:     "POST https://api.weixin.qq.com/cv/img/superresolution?img_url=ENCODE_URL&access_token=ACCESS_TOCKEN",
  1801  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Intelligent_Interface/Img_Proc.html",
  1802  				FuncName:    "SuperResolution",
  1803  			},
  1804  			{
  1805  				Name:        "图片智能裁剪",
  1806  				Description: "",
  1807  				Request:     "POST https://api.weixin.qq.com/cv/img/aicrop?img_url=ENCODE_URL&access_token=ACCESS_TOCKEN",
  1808  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Intelligent_Interface/Img_Proc.html",
  1809  				FuncName:    "AICrop",
  1810  			},
  1811  		},
  1812  	},
  1813  	{
  1814  		Name:    `服务号对话能力(原微信导购助手)/顾问管理`,
  1815  		Package: `guide/guide`,
  1816  		Apis: []Api{
  1817  
  1818  			{
  1819  				Name:        "获取顾问信息",
  1820  				Description: "",
  1821  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/getguideacct?access_token=ACCESS_TOKEN",
  1822  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.getGuideAcct.html",
  1823  				FuncName:    "GetGuideAcct",
  1824  			},
  1825  
  1826  			{
  1827  				Name:        "为服务号添加顾问",
  1828  				Description: "",
  1829  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/addguideacct?access_token=ACCESS_TOKEN",
  1830  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.addGuideAcct.html",
  1831  				FuncName:    "AddGuideAcct",
  1832  			},
  1833  
  1834  			{
  1835  				Name:        "修改顾问的昵称或头像",
  1836  				Description: "",
  1837  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/updateguideacct?access_token=ACCESS_TOKEN",
  1838  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.updateGuideAcct.html",
  1839  				FuncName:    "UpdateGuideAcct",
  1840  			},
  1841  
  1842  			{
  1843  				Name:        "删除顾问",
  1844  				Description: "",
  1845  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/delguideacct?access_token=ACCESS_TOKEN",
  1846  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.delGuideAcct.html",
  1847  				FuncName:    "DelGuideAcct",
  1848  			},
  1849  
  1850  			{
  1851  				Name:        "获取服务号顾问列表",
  1852  				Description: "",
  1853  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/getguideacctlist?access_token=ACCESS_TOKEN",
  1854  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.getGuideAcctList.html",
  1855  				FuncName:    "GetGuideAcctList",
  1856  			},
  1857  
  1858  			{
  1859  				Name:        "生成顾问二维码",
  1860  				Description: "",
  1861  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/guidecreateqrcode?access_token=ACCESS_TOKEN",
  1862  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.guideCreateQrCode.html",
  1863  				FuncName:    "GuideCreateQrCode",
  1864  			},
  1865  
  1866  			{
  1867  				Name:        "获取顾问聊天记录",
  1868  				Description: "",
  1869  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/getguidebuyerchatrecord?access_token=ACCESS_TOKEN",
  1870  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.getGuideBuyerChatRecord.html",
  1871  				FuncName:    "GetGuideBuyerChatRecord",
  1872  			},
  1873  
  1874  			{
  1875  				Name:        "设置快捷回复与关注自动回复",
  1876  				Description: "",
  1877  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/setguideconfig?access_token=ACCESS_TOKEN",
  1878  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.setGuideConfig.html",
  1879  				FuncName:    "SetGuideConfig",
  1880  			},
  1881  
  1882  			{
  1883  				Name:        "获取快捷回复与关注自动回复",
  1884  				Description: "",
  1885  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/getguideconfig?access_token=ACCESS_TOKEN",
  1886  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.getGuideConfig.html",
  1887  				FuncName:    "GetGuideConfig",
  1888  			},
  1889  
  1890  			{
  1891  				Name:        "为服务号设置敏感词与离线自动回复",
  1892  				Description: "",
  1893  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/setguideacctconfig?access_token=ACCESS_TOKEN",
  1894  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.setGuideAcctConfig.html",
  1895  				FuncName:    "SetGuideAcctConfig",
  1896  			},
  1897  
  1898  			{
  1899  				Name:        "获取离线自动回复与敏感词",
  1900  				Description: "",
  1901  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/getguideacctconfig?access_token=ACCESS_TOKEN",
  1902  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.getGuideAcctConfig.html",
  1903  				FuncName:    "GetGuideAcctConfig",
  1904  			},
  1905  
  1906  			{
  1907  				Name:        "允许微信用户复制小程序页面路径",
  1908  				Description: "",
  1909  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/pushshowwxapathmenu?access_token=ACCESS_TOKEN",
  1910  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.pushShowWxaPathMenu.html",
  1911  				FuncName:    "PushShowWxaPathMenu",
  1912  			},
  1913  
  1914  			{
  1915  				Name:        "新建顾问分组",
  1916  				Description: "",
  1917  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/newguidegroup?access_token=ACCESS_TOKEN",
  1918  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.newGuideGroup.html",
  1919  				FuncName:    "NewGuideGroup",
  1920  			},
  1921  
  1922  			{
  1923  				Name:        "获取服务号下所有顾问分组的列表",
  1924  				Description: "",
  1925  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/getguidegrouplist?access_token=ACCESS_TOKEN",
  1926  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.getGuideGroupList.html",
  1927  				FuncName:    "GetGuideGroupList",
  1928  			},
  1929  
  1930  			{
  1931  				Name:        "获取指定顾问分组信息,以及分组内顾问信息",
  1932  				Description: "",
  1933  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/getgroupinfo?access_token=ACCESS_TOKEN",
  1934  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.getGroupInfo.html",
  1935  				FuncName:    "GetGroupInfo",
  1936  			},
  1937  
  1938  			{
  1939  				Name:        "分组内添加顾问",
  1940  				Description: "",
  1941  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/addguide2guidegroup?access_token=ACCESS_TOKEN",
  1942  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.addGuide2GuideGroup.html",
  1943  				FuncName:    "AddGuide2GuideGroup",
  1944  			},
  1945  
  1946  			{
  1947  				Name:        "分组内删除顾问",
  1948  				Description: "",
  1949  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/delguide2guidegroup?access_token=ACCESS_TOKEN",
  1950  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.delGuide2GuideGroup.html",
  1951  				FuncName:    "DelGuide2GuideGroup",
  1952  			},
  1953  
  1954  			{
  1955  				Name:        "获取顾问所在分组",
  1956  				Description: "",
  1957  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/getgroupbyguide?access_token=ACCESS_TOKEN",
  1958  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.getGroupByGuide.html",
  1959  				FuncName:    "GetGroupByGuide",
  1960  			},
  1961  
  1962  			{
  1963  				Name:        "删除指定顾问分组",
  1964  				Description: "",
  1965  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/delguidegroup?access_token=ACCESS_TOKEN",
  1966  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/guide-account/shopping-guide.delGuideGroup.html",
  1967  				FuncName:    "DelGuideGroup",
  1968  			},
  1969  
  1970  			{
  1971  				Name:        "获取顾问的客户列表",
  1972  				Description: "",
  1973  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/getguidebuyerrelationlist?access_token=ACCESS_TOKEN",
  1974  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/buyer-account/shopping-guide.getGuideBuyerRelationList.html",
  1975  				FuncName:    "GetGuideBuyerRelationList",
  1976  			},
  1977  		},
  1978  	},
  1979  	{
  1980  		Name:    `服务号对话能力(原微信导购助手)/客户管理`,
  1981  		Package: `guide/buyer`,
  1982  		Apis: []Api{
  1983  
  1984  			{
  1985  				Name:        "为顾问分配客户",
  1986  				Description: "",
  1987  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/addguidebuyerrelation?access_token=ACCESS_TOKEN",
  1988  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/buyer-account/shopping-guide.addGuideBuyerRelation.html",
  1989  				FuncName:    "AddGuideBuyerRelation",
  1990  			},
  1991  
  1992  			{
  1993  				Name:        "为顾问移除客户",
  1994  				Description: "",
  1995  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/delguidebuyerrelation?access_token=ACCESS_TOKEN",
  1996  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/buyer-account/shopping-guide.delGuideBuyerRelation.html",
  1997  				FuncName:    "DelGuideBuyerRelation",
  1998  			},
  1999  
  2000  			{
  2001  				Name:        "为客户更换顾问",
  2002  				Description: "",
  2003  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/rebindguideacctforbuyer?access_token=ACCESS_TOKEN",
  2004  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/buyer-account/shopping-guide.rebindGuideAcctForBuyer.html",
  2005  				FuncName:    "RebindGuideAcctForBuyer",
  2006  			},
  2007  
  2008  			{
  2009  				Name:        "修改客户昵称",
  2010  				Description: "",
  2011  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/updateguidebuyerrelation?access_token=ACCESS_TOKEN",
  2012  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/buyer-account/shopping-guide.updateGuideBuyerRelation.html",
  2013  				FuncName:    "UpdateGuideBuyerRelation",
  2014  			},
  2015  
  2016  			{
  2017  				Name:        "查询客户所属顾问",
  2018  				Description: "",
  2019  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/getguidebuyerrelationbybuyer?access_token=ACCESS_TOKEN",
  2020  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/buyer-account/shopping-guide.getGuideBuyerRelationByBuyer.html",
  2021  				FuncName:    "GetGuideBuyerRelationByBuyer",
  2022  			},
  2023  
  2024  			{
  2025  				Name:        "查询指定顾问和客户的关系",
  2026  				Description: "",
  2027  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/getguidebuyerrelation?access_token=ACCESS_TOKEN",
  2028  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/buyer-account/shopping-guide.getGuideBuyerRelation.html",
  2029  				FuncName:    "GetGuideBuyerRelation",
  2030  			},
  2031  		},
  2032  	},
  2033  	{
  2034  		Name:    `服务号对话能力(原微信导购助手)/标签管理`,
  2035  		Package: `guide/tag`,
  2036  		Apis: []Api{
  2037  
  2038  			{
  2039  				Name:        "/cgi-bin/guide/newguidetagoption",
  2040  				Description: "",
  2041  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/newguidetagoption?access_token=ACCESS_TOKEN",
  2042  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/tag-account/shopping-guide.newGuideTagOption.html",
  2043  				FuncName:    "NewGuideTagOption",
  2044  			},
  2045  
  2046  			{
  2047  				Name:        "删除指定标签类型",
  2048  				Description: "",
  2049  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/delguidetagoption?access_token=ACCESS_TOKEN",
  2050  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/tag-account/shopping-guide.delguidetagoption.html",
  2051  				FuncName:    "Delguidetagoption",
  2052  			},
  2053  
  2054  			{
  2055  				Name:        "为标签添加可选值",
  2056  				Description: "",
  2057  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/addguidetagoption?access_token=ACCESS_TOKEN",
  2058  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/tag-account/shopping-guide.addGuideTagOption.html",
  2059  				FuncName:    "AddGuideTagOption",
  2060  			},
  2061  
  2062  			{
  2063  				Name:        "获取标签和可选值",
  2064  				Description: "",
  2065  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/getguidetagoption?access_token=ACCESS_TOKEN",
  2066  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/tag-account/shopping-guide.getGuideTagOption.html",
  2067  				FuncName:    "GetGuideTagOption",
  2068  			},
  2069  
  2070  			{
  2071  				Name:        "为客户设置标签",
  2072  				Description: "",
  2073  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/addguidebuyertag?access_token=ACCESS_TOKEN",
  2074  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/tag-account/shopping-guide.addGuideBuyerTag.html",
  2075  				FuncName:    "AddGuideBuyerTag",
  2076  			},
  2077  
  2078  			{
  2079  				Name:        "查询客户标签",
  2080  				Description: "",
  2081  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/getguidebuyertag?access_token=ACCESS_TOKEN",
  2082  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/tag-account/shopping-guide.getGuideBuyerTag.html",
  2083  				FuncName:    "GetGuideBuyerTag",
  2084  			},
  2085  
  2086  			{
  2087  				Name:        "根据标签值筛选客户",
  2088  				Description: "",
  2089  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/queryguidebuyerbytag?access_token=ACCESS_TOKEN",
  2090  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/tag-account/shopping-guide.queryGuideBuyerByTag.html",
  2091  				FuncName:    "QueryGuideBuyerByTag",
  2092  			},
  2093  
  2094  			{
  2095  				Name:        "删除客户标签",
  2096  				Description: "",
  2097  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/delguidebuyertag?access_token=ACCESS_TOKEN",
  2098  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/tag-account/shopping-guide.delGuideBuyerTag.html",
  2099  				FuncName:    "DelGuideBuyerTag",
  2100  			},
  2101  
  2102  			{
  2103  				Name:        "设置自定义客户信息",
  2104  				Description: "",
  2105  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/addguidebuyerdisplaytag?access_token=ACCESS_TOKEN",
  2106  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/tag-account/shopping-guide.addGuideBuyerDisplayTag.html",
  2107  				FuncName:    "AddGuideBuyerDisplayTag",
  2108  			},
  2109  
  2110  			{
  2111  				Name:        "获取自定义客户信息",
  2112  				Description: "",
  2113  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/getguidebuyerdisplaytag?access_token=ACCESS_TOKEN",
  2114  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/tag-account/shopping-guide.getGuideBuyerDisplayTag.html",
  2115  				FuncName:    "GetGuideBuyerDisplayTag",
  2116  			},
  2117  		},
  2118  	},
  2119  	{
  2120  		Name:    `服务号对话能力(原微信导购助手)/素材管理`,
  2121  		Package: `guide/material`,
  2122  		Apis: []Api{
  2123  
  2124  			{
  2125  				Name:        "添加小程序卡片素材",
  2126  				Description: "",
  2127  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/setguidecardmaterial?access_token=ACCESS_TOKEN",
  2128  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/model-account/shopping-guide.setGuideCardMaterial.html",
  2129  				FuncName:    "SetGuideCardMaterial",
  2130  			},
  2131  
  2132  			{
  2133  				Name:        "查询小程序卡片素材",
  2134  				Description: "",
  2135  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/getguidecardmaterial?access_token=ACCESS_TOKEN",
  2136  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/model-account/shopping-guide.getGuideCardMaterial.html",
  2137  				FuncName:    "GetGuideCardMaterial",
  2138  			},
  2139  
  2140  			{
  2141  				Name:        "删除小程序卡片素材",
  2142  				Description: "",
  2143  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/delguidecardmaterial?access_token=ACCESS_TOKEN",
  2144  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/model-account/shopping-guide.delGuideCardMaterial.html",
  2145  				FuncName:    "DelGuideCardMaterial",
  2146  			},
  2147  
  2148  			{
  2149  				Name:        "添加图片素材",
  2150  				Description: "",
  2151  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/setguideimagematerial?access_token=ACCESS_TOKEN",
  2152  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/model-account/shopping-guide.setGuideImageMaterial.html",
  2153  				FuncName:    "SetGuideImageMaterial",
  2154  			},
  2155  
  2156  			{
  2157  				Name:        "查询图片素材",
  2158  				Description: "",
  2159  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/getguideimagematerial?access_token=ACCESS_TOKEN",
  2160  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/model-account/shopping-guide.getGuideImageMaterial.html",
  2161  				FuncName:    "GetGuideImageMaterial",
  2162  			},
  2163  
  2164  			{
  2165  				Name:        "删除图片素材",
  2166  				Description: "",
  2167  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/delguideimagematerial?access_token=ACCESS_TOKEN",
  2168  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/model-account/shopping-guide.delGuideImageMaterial.html",
  2169  				FuncName:    "DelGuideImageMaterial",
  2170  			},
  2171  
  2172  			{
  2173  				Name:        "添加文字素材",
  2174  				Description: "",
  2175  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/setguidewordmaterial?access_token=ACCESS_TOKEN",
  2176  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/model-account/shopping-guide.setGuideWordMaterial.html",
  2177  				FuncName:    "SetGuideWordMaterial",
  2178  			},
  2179  
  2180  			{
  2181  				Name:        "查询文字素材",
  2182  				Description: "",
  2183  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/getguidewordmaterial?access_token=ACCESS_TOKEN",
  2184  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/model-account/shopping-guide.getGuideWordMaterial.html",
  2185  				FuncName:    "GetGuideWordMaterial",
  2186  			},
  2187  
  2188  			{
  2189  				Name:        "删除文字素材",
  2190  				Description: "",
  2191  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/delguidewordmaterial?access_token=ACCESS_TOKEN",
  2192  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/model-account/shopping-guide.delGuideWordMaterial.html",
  2193  				FuncName:    "DelGuideWordMaterial",
  2194  			},
  2195  		},
  2196  	},
  2197  	{
  2198  		Name:    `服务号对话能力(原微信导购助手)/群发任务`,
  2199  		Package: `guide/job`,
  2200  		Apis: []Api{
  2201  
  2202  			{
  2203  				Name:        "添加群发任务",
  2204  				Description: "",
  2205  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/addguidemassendjob?access_token=ACCESS_TOKEN",
  2206  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/task-account/shopping-guide.addGuideMassendJob.html",
  2207  				FuncName:    "AddGuideMassendJob",
  2208  			},
  2209  
  2210  			{
  2211  				Name:        "获取群发任务列表",
  2212  				Description: "",
  2213  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/getguidemassendjoblist?access_token=ACCESS_TOKEN",
  2214  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/task-account/shopping-guide.getGuideMassendJobList.html",
  2215  				FuncName:    "GetGuideMassendJobList",
  2216  			},
  2217  
  2218  			{
  2219  				Name:        "获取指定群发任务信息",
  2220  				Description: "",
  2221  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/getguidemassendjob?access_token=ACCESS_TOKEN",
  2222  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/task-account/shopping-guide.getGuideMassendJob.html",
  2223  				FuncName:    "GetGuideMassendJob",
  2224  			},
  2225  
  2226  			{
  2227  				Name:        "修改群发任务",
  2228  				Description: "",
  2229  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/updateguidemassendjob?access_token=ACCESS_TOKEN",
  2230  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/task-account/shopping-guide.updateGuideMassendJob.html",
  2231  				FuncName:    "UpdateGuideMassendJob",
  2232  			},
  2233  
  2234  			{
  2235  				Name:        "取消群发任务",
  2236  				Description: "",
  2237  				Request:     "POST https://api.weixin.qq.com/cgi-bin/guide/cancelguidemassendjob?access_token=ACCESS_TOKEN",
  2238  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Shopping_Guide/task-account/shopping-guide.cancelGuideMassendJob.html",
  2239  				FuncName:    "CancelGuideMassendJob",
  2240  			},
  2241  		},
  2242  	},
  2243  	{
  2244  		Name:    `一物一码`,
  2245  		Package: `marketcode`,
  2246  		Apis: []Api{
  2247  
  2248  			{
  2249  				Name:        "申请二维码",
  2250  				Description: "",
  2251  				Request:     "POST https://api.weixin.qq.com/intp/marketcode/applycode?access_token=ACCESSTOKEN",
  2252  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Unique_Item_Code/Unique_Item_Code_API_Documentation.html",
  2253  				FuncName:    "ApplyCode",
  2254  			},
  2255  			{
  2256  				Name:        "查询二维码申请单",
  2257  				Description: "",
  2258  				Request:     "POST https://api.weixin.qq.com/intp/marketcode/applycodequery?access_token=ACCESSTOKEN",
  2259  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Unique_Item_Code/Unique_Item_Code_API_Documentation.html",
  2260  				FuncName:    "ApplyCodeQuery",
  2261  			},
  2262  			{
  2263  				Name:        "下载二维码包",
  2264  				Description: "",
  2265  				Request:     "POST https://api.weixin.qq.com/intp/marketcode/applycodedownload?access_token=ACCESSTOKE",
  2266  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Unique_Item_Code/Unique_Item_Code_API_Documentation.html",
  2267  				FuncName:    "ApplyCodeDownload",
  2268  			},
  2269  			{
  2270  				Name:        "激活二维码",
  2271  				Description: "",
  2272  				Request:     "POST https://api.weixin.qq.com/intp/marketcode/codeactive?access_token=ACCESSTOKEN",
  2273  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Unique_Item_Code/Unique_Item_Code_API_Documentation.html",
  2274  				FuncName:    "CodeActive",
  2275  			},
  2276  			{
  2277  				Name:        "查询二维码激活状态",
  2278  				Description: "",
  2279  				Request:     "POST https://api.weixin.qq.com/intp/marketcode/codeactivequery?access_token=ACCESSTOKEN",
  2280  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Unique_Item_Code/Unique_Item_Code_API_Documentation.html",
  2281  				FuncName:    "CodeActiveQuery",
  2282  			},
  2283  			{
  2284  				Name:        "code_ticket换code",
  2285  				Description: "",
  2286  				Request:     "POST https://api.weixin.qq.com/intp/marketcode/tickettocode?access_token=ACCESSTOKEN",
  2287  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Unique_Item_Code/Unique_Item_Code_API_Documentation.html",
  2288  				FuncName:    "TicketToCode",
  2289  			},
  2290  		},
  2291  	},
  2292  	{
  2293  		Name:    `微信发票`,
  2294  		Package: `invoice`,
  2295  		Apis: []Api{
  2296  
  2297  			{
  2298  				Name:        "获取授权页链接",
  2299  				Description: "本接口供商户调用。商户通过本接口传入订单号、开票平台标识等参数,获取授权页的链接。在微信中向用户展示授权页,当用户点击了授权页上的“领取发票”/“申请开票”按钮后,即完成了订单号与该用户的授权关系绑定,后续开票平台可凭此订单号发起将发票卡券插入用户卡包的请求,微信也将据此授权关系校验是否放行插卡请求",
  2300  				Request:     "POST https://api.weixin.qq.com/card/invoice/getauthurl?access_token={access_token}",
  2301  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Invoice/E_Invoice/Vendor_API_List.html",
  2302  				FuncName:    "GetAuthUrl",
  2303  			},
  2304  			{
  2305  				Name:        "查询授权完成状态",
  2306  				Description: "",
  2307  				Request:     "POST https://api.weixin.qq.com/card/invoice/getauthdata?access_token={access_token}",
  2308  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Invoice/E_Invoice/Vendor_API_List.html",
  2309  				FuncName:    "GetAuthData",
  2310  			},
  2311  			{
  2312  				Name:        "拒绝开票",
  2313  				Description: "户完成授权后,商户若发现用户提交信息错误、或者发生了退款时,可以调用该接口拒绝开票并告知用户。拒绝开票后,该订单无法向用户再次开票。已经拒绝开票的订单,无法再次使用,如果要重新开票,需使用新的order_id,获取授权链接,让用户再次授权",
  2314  				Request:     "POST https://api.weixin.qq.com/card/invoice/rejectinsert?access_token={access_token}",
  2315  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Invoice/E_Invoice/Vendor_API_List.html",
  2316  				FuncName:    "RejectInsert",
  2317  			},
  2318  			{
  2319  				Name:        "统一开票接口-开具蓝票",
  2320  				Description: "对于使用微信电子发票开票接入能力的商户,在公众号后台选择任何一家开票平台的套餐,都可以使用本接口实现电子发票的开具",
  2321  				Request:     "POST https://api.weixin.qq.com/card/invoice/makeoutinvoice?access_token={access_token}",
  2322  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Invoice/E_Invoice/Vendor_API_List.html",
  2323  				FuncName:    "MakeOutInvoice",
  2324  			},
  2325  			{
  2326  				Name:        "统一开票接口-发票冲红",
  2327  				Description: "对于使用微信电子发票开票接入能力的商户,在公众号后台选择任何一家开票平台的套餐,都可以使用本接口实现电子发票的冲红",
  2328  				Request:     "POST https://api.weixin.qq.com/card/invoice/clearoutinvoice?access_token={access_token}",
  2329  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Invoice/E_Invoice/Vendor_API_List.html",
  2330  				FuncName:    "ClearOutInvoice",
  2331  			},
  2332  			{
  2333  				Name:        "统一开票接口-查询已开发票",
  2334  				Description: "对于使用微信电子发票开票接入能力的商户,在公众号后台选择任何一家开票平台的套餐,都可以使用本接口实现已开具电子发票的查询",
  2335  				Request:     "POST https://api.weixin.qq.com/card/invoice/queryinvoceinfo?access_token={access_token}",
  2336  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Invoice/E_Invoice/Vendor_API_List.html",
  2337  				FuncName:    "QueryInvoceInfo",
  2338  			},
  2339  
  2340  			{
  2341  				Name:        "获取自身的开票平台识别码",
  2342  				Description: "开票平台可以通过此接口获得本开票平台的预开票url,进而获取s_pappid。开票平台将该s_pappid并透传给商户,商户可以通过该s_pappid参数在微信电子发票方案中标识出为自身提供开票服务的开票平台",
  2343  				Request:     "POST https://api.weixin.qq.com/card/invoice/seturl?access_token={access_token}",
  2344  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Invoice/E_Invoice/Invoicing_Platform_API_List.html",
  2345  				FuncName:    "SetUrl",
  2346  			},
  2347  			{
  2348  				Name:        "创建发票卡券模板",
  2349  				Description: "通过本接口可以为创建一个商户的发票卡券模板,为该商户配置发票卡券模板上的自定义栏位。创建发票卡券模板生成的card_id将在创建发票卡券时被引用,故创建发票卡券模板是创建发票卡券的基础",
  2350  				Request:     "POST https://api.weixin.qq.com/card/invoice/platform/createcard?access_token={access_token}",
  2351  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Invoice/E_Invoice/Invoicing_Platform_API_List.html",
  2352  				FuncName:    "PlatformCreateCard",
  2353  			},
  2354  			{
  2355  				Name:        "上传PDF",
  2356  				Description: "商户或开票平台可以通过该接口上传PDF。PDF上传成功后将获得发票文件的标识,后续可以通过插卡接口将PDF关联到用户的发票卡券上,一并插入到收票用户的卡包中",
  2357  				Request:     "POST https://api.weixin.qq.com/card/invoice/platform/setpdf?access_token={access_token}",
  2358  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Invoice/E_Invoice/Invoicing_Platform_API_List.html",
  2359  				FuncName:    "PlatformSetpdf",
  2360  			},
  2361  			{
  2362  				Name:        "查询已上传的PDF文件",
  2363  				Description: "用于供发票PDF的上传方查询已经上传的发票或消费凭证PDF",
  2364  				Request:     "POST https://api.weixin.qq.com/card/invoice/platform/getpdf?action=get_url&access_token={access_token}",
  2365  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Invoice/E_Invoice/Invoicing_Platform_API_List.html",
  2366  				FuncName:    "PlatformGetpdf",
  2367  			},
  2368  			{
  2369  				Name:        "将电子发票卡券插入用户卡包",
  2370  				Description: "本接口由开票平台或自建平台商户调用。对用户已经授权过的开票请求,开票平台可以使用本接口将发票制成发票卡券放入用户的微信卡包中",
  2371  				Request:     "POST https://api.weixin.qq.com/card/invoice/insert?access_token={access_token}",
  2372  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Invoice/E_Invoice/Invoicing_Platform_API_List.html",
  2373  				FuncName:    "",
  2374  			},
  2375  			{
  2376  				Name:        "更新发票卡券状态",
  2377  				Description: "",
  2378  				Request:     "POST https://api.weixin.qq.com/card/invoice/platform/updatestatus?access_token={access_token}",
  2379  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Invoice/E_Invoice/Invoicing_Platform_API_List.html",
  2380  				FuncName:    "PlatformUpdateStatus",
  2381  			},
  2382  
  2383  			{
  2384  				Name:        "查询报销发票信息",
  2385  				Description: "通过该接口查询电子发票的结构化信息,并获取发票PDF文件",
  2386  				Request:     "POST https://api.weixin.qq.com/card/invoice/reimburse/getinvoiceinfo?access_token={access_token}",
  2387  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Invoice/E_Invoice/Reimburser_API_List.html",
  2388  				FuncName:    "ReimburseGetInvoiceInfo",
  2389  			},
  2390  			{
  2391  				Name:        "批量查询报销发票信息",
  2392  				Description: "",
  2393  				Request:     "POST https://api.weixin.qq.com/card/invoice/reimburse/getinvoicebatch?access_token={access_token}",
  2394  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Invoice/E_Invoice/Reimburser_API_List.html",
  2395  				FuncName:    "ReimburseGetInvoiceBatch",
  2396  			},
  2397  			{
  2398  				Name:        "报销方更新发票状态",
  2399  				Description: "",
  2400  				Request:     "POST https://api.weixin.qq.com/card/invoice/reimburse/updateinvoicestatus?access_token={access_token}",
  2401  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Invoice/E_Invoice/Reimburser_API_List.html",
  2402  				FuncName:    "ReimburseUpdateInvoiceStatus",
  2403  			},
  2404  			{
  2405  				Name:        "报销方批量更新发票状态",
  2406  				Description: "",
  2407  				Request:     "POST https://api.weixin.qq.com/card/invoice/reimburse/updatestatusbatch?access_token={access_token}",
  2408  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Invoice/E_Invoice/Reimburser_API_List.html",
  2409  				FuncName:    "ReimburseUpdateStatusBatch",
  2410  			},
  2411  
  2412  			{
  2413  				Name:        "将发票抬头信息录入到用户微信中",
  2414  				Description: "调用接口,获取添加存储发票抬头信息的链接,将链接发给微信用户,用户确认后将保存该信息",
  2415  				Request:     "POST https://api.weixin.qq.com/card/invoice/biz/getusertitleurl?access_token={access_token",
  2416  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Invoice/Quick_issuing/Interface_Instructions.html",
  2417  				FuncName:    "GetUserTitleUrl",
  2418  			},
  2419  			{
  2420  				Name:        "获取用户抬头(方式一):获取商户专属二维码,立在收银台",
  2421  				Description: "商户调用接口,获取链接,将链接转成二维码,用户扫码,可以选择抬头发给商户",
  2422  				Request:     "POST https://api.weixin.qq.com/card/invoice/biz/getselecttitleurl?access_token={access_token}",
  2423  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Invoice/Quick_issuing/Interface_Instructions.html",
  2424  				FuncName:    "GetSelectTitleUrl",
  2425  			},
  2426  			{
  2427  				Name:        "获取用户抬头(方式二):商户扫描用户的发票抬头二维码",
  2428  				Description: "商户扫用户“我的—个人信息—我的发票抬头”里面的抬头二维码后,通过调用本接口,可以获取用户抬头信息",
  2429  				Request:     "POST https://api.weixin.qq.com/card/invoice/scantitle?access_token={access_token}",
  2430  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Invoice/Quick_issuing/Interface_Instructions.html",
  2431  				FuncName:    "ScanTitle",
  2432  			},
  2433  		},
  2434  	},
  2435  	{
  2436  		Name:    `非税票据/缴费`,
  2437  		Package: `nontax`,
  2438  		Apis: []Api{
  2439  
  2440  			{
  2441  				Name:        "获取授权页链接",
  2442  				Description: "通过此接口,获取授权页链接,让用户跳转到授权页",
  2443  				Request:     "POST https://api.weixin.qq.com/nontax/getbillauthurl?access_token={access_token}",
  2444  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Invoice/Nontax_Bill/API_list.html",
  2445  				FuncName:    "GetBillAuthUrl",
  2446  			},
  2447  			{
  2448  				Name:        "创建财政电子票据接口",
  2449  				Description: "财政局可以通过这个接口帮助执收单位创建一张财政电子票据模板。同一个财政局可以对应多个执收单位,同一个执收单位,使用同一个card_id,不同的执收单位,使用不同的card_id",
  2450  				Request:     "POST https://api.weixin.qq.com/nontax/createbillcard?access_token={access_token}",
  2451  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Invoice/Nontax_Bill/API_list.html",
  2452  				FuncName:    "CreateBillCard",
  2453  			},
  2454  			{
  2455  				Name:        "将财政电子票据添加到用户微信卡包",
  2456  				Description: "执收单位完成用户插卡授权后,向财政局请求给某一个订单号进行领取财政电子票据,财政局须调用该接口对用户进行开票",
  2457  				Request:     "POST https://api.weixin.qq.com/nontax/insertbill?access_token={access_token}",
  2458  				See:         "https://developers.weixin.qq.com/doc/offiaccount/WeChat_Invoice/Nontax_Bill/API_list.html",
  2459  				FuncName:    "InsertBill",
  2460  			},
  2461  
  2462  			{
  2463  				Name:        "查询应收信息(提供给委办局)",
  2464  				Description: "",
  2465  				Request:     "POST https://api.weixin.qq.com/nontax/queryfee?access_token=$AccessToken",
  2466  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Non_tax_pay/API_document.html",
  2467  				FuncName:    "QueryFee",
  2468  			},
  2469  			{
  2470  				Name:        "支付下单(提供给委办局)",
  2471  				Description: "",
  2472  				Request:     "POST https://api.weixin.qq.com/nontax/unifiedorder?access_token=$AccessToken",
  2473  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Non_tax_pay/API_document.html",
  2474  				FuncName:    "UnifiedOrder",
  2475  			},
  2476  			{
  2477  				Name:        "查询订单(提供给委办局、银行、财政)",
  2478  				Description: "",
  2479  				Request:     "POST https://api.weixin.qq.com/nontax/getorder?access_token=$AccessToken",
  2480  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Non_tax_pay/API_document.html",
  2481  				FuncName:    "GetOrder",
  2482  			},
  2483  			{
  2484  				Name:        "申请退款(提供给银行)",
  2485  				Description: "",
  2486  				Request:     "POST https://api.weixin.qq.com/nontax/refund?access_token=$AccessToken",
  2487  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Non_tax_pay/API_document.html",
  2488  				FuncName:    "",
  2489  			},
  2490  			{
  2491  				Name:        "下载对帐单(提供给银行)",
  2492  				Description: "",
  2493  				Request:     "POST https://api.weixin.qq.com/nontax/downloadbill?access_token=$AccessToken",
  2494  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Non_tax_pay/API_document.html",
  2495  				FuncName:    "DownloadBill",
  2496  			},
  2497  			{
  2498  				Name:        "通知不一致订单(提供给财政)",
  2499  				Description: "",
  2500  				Request:     "POST https://api.weixin.qq.com/nontax/notifyinconsistentorder?access_token=$AccessToken",
  2501  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Non_tax_pay/API_document.html",
  2502  				FuncName:    "NotifyInconsistentOrder",
  2503  			},
  2504  			{
  2505  				Name:        "测试支付结果通知",
  2506  				Description: "接口提供给接入方在联调前自己调试支付通知接口的加解密和其它基本逻辑。 若version为1,会通知两次,分别测试加解密是否正确和是否有验签。 调用此接口会触发微信后台向 url 发送支付结果通知的测试数据",
  2507  				Request:     "POST https://api.weixin.qq.com/nontax/mocknotification?access_token=$AccessToken",
  2508  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Non_tax_pay/API_document.html",
  2509  				FuncName:    "MockNotification",
  2510  			},
  2511  			{
  2512  				Name:        "测试查询应收信息",
  2513  				Description: "此接口提供给接入方在联调前自己调试查询应收信息接口的加解密和其它基本逻辑。 若version为1,会通知两次,分别测试加解密是否正确和是否有验签。 调用此接口会触发微信后台向 url 发送查询应收信息的测试数据",
  2514  				Request:     "POST https://api.weixin.qq.com/nontax/mockqueryfee?access_token=$AccessToken",
  2515  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Non_tax_pay/API_document.html",
  2516  				FuncName:    "MockQueryFee",
  2517  			},
  2518  			{
  2519  				Name:        "提交刷卡支付",
  2520  				Description: "提交支付请求后微信会同步返回支付结果。 接口返回系统失败时,等待5秒重新调用看返回码。 当结果返回用户支付中需要输入密码时,可每间隔一段时间(建议10秒)重新调用该接口,直到有明确成功、失败,或者超时(建议30秒)",
  2521  				Request:     "POST https://api.weixin.qq.com/nontax/micropay?access_token=$AccessToken",
  2522  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Non_tax_pay/API_document.html",
  2523  				FuncName:    "MicroPay",
  2524  			},
  2525  			{
  2526  				Name:        "查询订单列表",
  2527  				Description: "",
  2528  				Request:     "POST https://api.weixin.qq.com/nontax/getorderlist?access_token=$AccessToken",
  2529  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Non_tax_pay/API_document.html",
  2530  				FuncName:    "GetOrderList",
  2531  			},
  2532  			{
  2533  				Name:        "获取用户实名信息-获取授权链接",
  2534  				Description: "",
  2535  				Request:     "POST https://api.weixin.qq.com/intp/realname/getauthurl?access_token=ACCESS_TOKEN",
  2536  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Non_tax_pay/API_document.html",
  2537  				FuncName:    "RealNameGetAuthUrl",
  2538  			},
  2539  			{
  2540  				Name:        "获取实名信息",
  2541  				Description: "",
  2542  				Request:     "POST https://api.weixin.qq.com/nontax/getrealname?access_token=ACCESS_TOKEN",
  2543  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Non_tax_pay/API_document.html",
  2544  				FuncName:    "GetRealName",
  2545  			},
  2546  		},
  2547  	},
  2548  	{
  2549  		Name:    `非税车主平台`,
  2550  		Package: `nontax/vehicle`,
  2551  		Apis: []Api{
  2552  			{
  2553  				Name:        "用户状态查询",
  2554  				Description: "在停车场、高速、加油等场景下,商户需获取用户车主服务状态/需要关联车主服务。本接口,会查询用户是否开通、授权、有欠费或黑名单用户情况,并将对应的用户状态进行返回",
  2555  				Request:     "POST https://api.weixin.qq.com/nontax/vehicle/querystate?access_token=$AccessToken",
  2556  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Non_tax_pay/Non-tax_driver_platform.html",
  2557  				FuncName:    "QueryState",
  2558  			},
  2559  			{
  2560  				Name:        "用户入场通知",
  2561  				Description: "在停车场场景下,如用户已加入车主平台,则进行入场通知;如用户已经欠费,会发送用户欠费入场通知。本接口,会查询用户是否有欠费或黑名单用户情况,并将对应的用户状态进行返回",
  2562  				Request:     "POST https://api.weixin.qq.com/nontax/vehicle/entrancenotify?access_token=$AccessToken",
  2563  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Non_tax_pay/Non-tax_driver_platform.html",
  2564  				FuncName:    "EntranceNotify",
  2565  			},
  2566  			{
  2567  				Name:        "申请扣款",
  2568  				Description: "委托代扣可应用于定期扣款或需事后扣款以期提高效率的场景。例如高速,停车场等通过用户授权给商户,进行委托扣款的场景",
  2569  				Request:     "POST https://api.weixin.qq.com/nontax/vehicle/payapply?access_token=$AccessToken",
  2570  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Non_tax_pay/Non-tax_driver_platform.html",
  2571  				FuncName:    "PayApply",
  2572  			},
  2573  		},
  2574  	},
  2575  	{
  2576  		Name:    `返佣商品`,
  2577  		Package: `cps`,
  2578  		Apis: []Api{
  2579  
  2580  			{
  2581  				Name:        "导入/更新商品",
  2582  				Description: "每次调用支持批量导入不超过1000条的商品信息。每分钟单个商户全局调用次数不得超过200次。每天调用次数不得超过100万次。每次请求包大小不超过2M",
  2583  				Request:     "POST https://api.weixin.qq.com/scan/product/v2/add?access_token=ACCESS_TOKEN",
  2584  				See:         "https://mp.weixin.qq.com/cgi-bin/announce?action=getannouncement&key=11533749572M9ODP&version=1&lang=zh_CN&platform=2",
  2585  				FuncName:    "ProductAdd",
  2586  			},
  2587  			{
  2588  				Name:        "导入或更新结果查询",
  2589  				Description: "用于查询导入或更新商品的结果,当导入或更新商品失败时,若为系统错误可进行重试;若为其他错误,请排查解决后进行重试",
  2590  				Request:     "POST https://api.weixin.qq.com/scan/product/v2/status?access_token=ACCESS_TOKEN",
  2591  				See:         "https://mp.weixin.qq.com/cgi-bin/announce?action=getannouncement&key=11533749572M9ODP&version=1&lang=zh_CN&platform=2",
  2592  				FuncName:    "ProductStatus",
  2593  			},
  2594  			{
  2595  				Name:        "单个商品信息查询",
  2596  				Description: "使用该接口,商户可获取已导入的商品信息,供验证信息及抽查导入情况使用",
  2597  				Request:     "POST https://api.weixin.qq.com/scan/product/v2/getinfo?access_token=ACCESS_TOKEN",
  2598  				See:         "https://mp.weixin.qq.com/cgi-bin/announce?action=getannouncement&key=11533749572M9ODP&version=1&lang=zh_CN&platform=2",
  2599  				FuncName:    "ProductGetInfo",
  2600  			},
  2601  			{
  2602  				Name:        "全量商品信息查询",
  2603  				Description: "使用该接口,商户可获取已导入的全量商品信息,供全量验证信息使用",
  2604  				Request:     "POST https://api.weixin.qq.com/scan/product/v2/getinfobypage?access_token=ACCESS_TOKEN",
  2605  				See:         "https://mp.weixin.qq.com/cgi-bin/announce?action=getannouncement&key=11533749572M9ODP&version=1&lang=zh_CN&platform=2",
  2606  				FuncName:    "ProductGetInfoByPage",
  2607  			},
  2608  		},
  2609  	},
  2610  	{
  2611  		Name:    `草稿箱`,
  2612  		Package: `draft`,
  2613  		Apis: []Api{
  2614  			{
  2615  				Name:        "新建草稿",
  2616  				Description: "开发者可新增常用的素材到草稿箱中进行使用。上传到草稿箱中的素材被群发或发布后,该素材将从草稿箱中移除。新增草稿可在公众平台官网-草稿箱中查看和管理。",
  2617  				Request:     "POST https://api.weixin.qq.com/cgi-bin/draft/add?access_token=ACCESS_TOKEN",
  2618  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Draft_Box/Add_draft.html",
  2619  				FuncName:    "AddDraft",
  2620  			},
  2621  			{
  2622  				Name:        "获取草稿",
  2623  				Description: "新增草稿后,开发者可以根据草稿指定的字段来下载草稿。",
  2624  				Request:     "POST https://api.weixin.qq.com/cgi-bin/draft/get?access_token=ACCESS_TOKEN",
  2625  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Draft_Box/Get_draft.html",
  2626  				FuncName:    "GetDraft",
  2627  			},
  2628  			{
  2629  				Name:        "删除草稿",
  2630  				Description: "新增草稿后,开发者可以根据本接口来删除不再需要的草稿,节省空间。此操作无法撤销,请谨慎操作。",
  2631  				Request:     "POST https://api.weixin.qq.com/cgi-bin/draft/delete?access_token=ACCESS_TOKEN",
  2632  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Draft_Box/Delete_draft.html",
  2633  				FuncName:    "DeleteDraft",
  2634  			},
  2635  			{
  2636  				Name:        "修改草稿",
  2637  				Description: "开发者可通过本接口对草稿进行修改。",
  2638  				Request:     "POST https://api.weixin.qq.com/cgi-bin/draft/update?access_token=ACCESS_TOKEN",
  2639  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Draft_Box/Update_draft.html",
  2640  				FuncName:    "UpdateDraft",
  2641  			},
  2642  			{
  2643  				Name:        "获取草稿总次数",
  2644  				Description: "开发者可以根据本接口来获取草稿的总数。此接口只统计数量,不返回草稿的具体内容。",
  2645  				Request:     "GET https://api.weixin.qq.com/cgi-bin/draft/count?access_token=ACCESS_TOKEN",
  2646  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Draft_Box/Count_drafts.html",
  2647  				FuncName:    "CountDrafts",
  2648  			},
  2649  			{
  2650  				Name:        "获取草稿列表",
  2651  				Description: "新增草稿之后,开发者可以获取草稿的列表。",
  2652  				Request:     "POST https://api.weixin.qq.com/cgi-bin/draft/batchget?access_token=ACCESS_TOKEN",
  2653  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Draft_Box/Get_draft_list.html",
  2654  				FuncName:    "GetDraftList",
  2655  			},
  2656  			{
  2657  				Name:        "MP端开关(仅内测期间使用)",
  2658  				Description: "由于草稿箱和发布功能仍处于内测阶段,若公众号没有被灰度覆盖,可能无法体验草稿箱和发布功能。为了解决这个问题,我们在上述API接口的基础上,设了这样一个开关:当一个公众号选择开启后,该帐号在微信公众平台后台(mp.weixin.qq.com)上的图文素材库将升级为草稿箱,并可以在微信公众平台后台使用发布功能。",
  2659  				Request:     "POST https://api.weixin.qq.com/cgi-bin/draft/switch?access_token=ACCESS_TOKEN",
  2660  				See:         "https://developers.weixin.qq.com/doc/offiaccount/Draft_Box/Temporary_MP_Switch.html",
  2661  				FuncName:    "TemporaryMPSwitch",
  2662  			},
  2663  		},
  2664  	},
  2665  }