Sfoglia il codice sorgente

更新文档 添加公众号菜单配置

liqiang 7 anni fa
parent
commit
bd46e2da21
1 ha cambiato i file con 11 aggiunte e 1 eliminazioni
  1. 11 1
      汽车人-服务器安装配置说明.md

+ 11 - 1
汽车人-服务器安装配置说明.md

@@ -282,4 +282,14 @@ AppID: wxd8d09d133cca46c9
 
 AppSecret:90063cb527176fd7cde1cb172a536ff2
 ~~~
-
+创建微信公众号菜单
+http://127.0.0.1:9988/mini/wechat/createMenu   Post请求
+{
+    "button": [
+      {
+            "type": "view",
+            "name": "绑定账户",
+            "url": "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxd8d09d133cca46c9&redirect_uri=https%3a%2f%2fdev-mini-api.vippeijian.com%2fmini%2fwechat%2foauthServlet&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect"
+        }
+    ]
+}