小程序授权
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>小程序授权</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://localhost:30001/GetAppAccessInfo</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">appid</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>小程序appid</td>
</tr>
</tbody>
</table>
<h5>发送示例</h5>
<pre><code>{
&quot;appid&quot;:&quot;wx32540bd863b27570&quot;
}</code></pre>
<h5>返回示例</h5>
<pre><code>{
&quot;data&quot;: &quot;{\&quot;nickName\&quot;:\&quot;你好啊啊啊哦??\&quot;,\&quot;gender\&quot;:0,\&quot;language\&quot;:\&quot;zh_CN\&quot;,\&quot;city\&quot;:\&quot;\&quot;,\&quot;province\&quot;:\&quot;\&quot;,\&quot;country\&quot;:\&quot;\&quot;,\&quot;avatarUrl\&quot;:\&quot;https://thirdwx.qlogo.cn/mmopen/vi_32/8YYWOxF....&quot;}&quot;,
&quot;signature&quot;: &quot;6fab8092492a5a...&quot;,
&quot;encryptedData&quot;: &quot;OqW+eiAhjZsXH....&quot;,
&quot;iv&quot;: &quot;FHHYwptg9jpXNPbGd0k72w==&quot;,
&quot;err_no&quot;: 0
}
</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">avatarUrl</td>
<td style="text-align: left;">string</td>
<td>返回小程序 avatarUrl</td>
</tr>
<tr>
<td style="text-align: left;">signature</td>
<td style="text-align: left;">string</td>
<td>返回小程序 signature</td>
</tr>
<tr>
<td style="text-align: left;">encryptedData</td>
<td style="text-align: left;">string</td>
<td>返回小程序 encryptedData</td>
</tr>
<tr>
<td style="text-align: left;">iv</td>
<td style="text-align: left;">string</td>
<td>返回小程序 iv</td>
</tr>
<tr>
<td style="text-align: left;">cloud_id</td>
<td style="text-align: left;">string</td>
<td>返回小程序 cloud_id</td>
</tr>
</tbody>
</table>
<h5>调用示例</h5>