小程序码生成(new)
<p><strong>请求URI:</strong></p>
<ul>
<li><code>/build-mini-qrcode</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST <code>AUTH</code></li>
</ul>
<p><strong>参数:</strong></p>
<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;">scene</td>
<td style="text-align: left;"></td>
<td style="text-align: left;">string</td>
<td>场景变量(默认为当前用户uid)</td>
</tr>
<tr>
<td style="text-align: left;">page</td>
<td style="text-align: left;"></td>
<td style="text-align: left;">string</td>
<td>页面路径(默认为pages/index/redirect)</td>
</tr>
<tr>
<td style="text-align: left;">width</td>
<td style="text-align: left;"></td>
<td style="text-align: left;">string</td>
<td>图像宽度(默认为200)</td>
</tr>
</tbody>
</table>
<p><strong>返回示例:</strong></p>
<pre><code>{
&quot;msg&quot;: &quot;请求成功&quot;,
&quot;data&quot;: {
&quot;cache&quot;: 0,
&quot;path&quot;: &quot;https://devs.pinzhihealth.com/uploads/miniqrcode/minicode_05f2ffe675004fc7a79a5a8c6256039e@200.png&quot;,//图片地址
&quot;file_name&quot;: &quot;minicode_05f2ffe675004fc7a79a5a8c6256039e@200.png&quot;
},
&quot;code&quot;: 0
}</code></pre>