小程序授权
<h5>1.简要描述</h5>
<ul>
<li>小程序登录</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>https://jz.xiaoxiaoyanglao.com/addons/newbaby_parttime/public/index.php/parttime_api.wechat/miniappAuth</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST</li>
</ul>
<h5>参数</h5>
<table>
<thead>
<tr>
<th>参数名</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>uniacid</td>
<td>是</td>
<td>int</td>
<td>默认值 1</td>
</tr>
<tr>
<td>session_key</td>
<td>是</td>
<td>string</td>
<td>微信返回</td>
</tr>
<tr>
<td>iv</td>
<td>是</td>
<td>string</td>
<td>微信返回</td>
</tr>
<tr>
<td>encryptedData</td>
<td>是</td>
<td>string</td>
<td>微信返回</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<h5>返回参数说明</h5>
<h5>备注</h5>
<h5>2.简要描述</h5>
<ul>
<li>小程序静默登录</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>https://jz.xiaoxiaoyanglao.com/addons/newbaby_parttime/public/index.php/parttime_api.wechat/miniappSilenceAuth</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST</li>
</ul>
<h5>参数</h5>
<table>
<thead>
<tr>
<th>参数名</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>uniacid</td>
<td>是</td>
<td>int</td>
<td>默认值 1</td>
</tr>
<tr>
<td>code</td>
<td>是</td>
<td>string</td>
<td>微信返回</td>
</tr>
<tr>
<td>iv</td>
<td>是</td>
<td>string</td>
<td>微信返回</td>
</tr>
<tr>
<td>encryptedData</td>
<td>是</td>
<td>string</td>
<td>微信返回</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<h5>返回参数说明</h5>
<h5>备注</h5>
<h5>3.简要描述</h5>
<ul>
<li>授权获取小程序用户手机号直接绑定</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>https://jz.xiaoxiaoyanglao.com/addons/newbaby_parttime/public/index.php/parttime_api.wechat/authBindindPhone</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST</li>
</ul>
<h5>参数</h5>
<table>
<thead>
<tr>
<th>参数名</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>uniacid</td>
<td>是</td>
<td>int</td>
<td>默认值 1</td>
</tr>
<tr>
<td>session_key</td>
<td>是</td>
<td>string</td>
<td>微信返回</td>
</tr>
<tr>
<td>iv</td>
<td>是</td>
<td>string</td>
<td>微信返回</td>
</tr>
<tr>
<td>encryptedData</td>
<td>是</td>
<td>string</td>
<td>微信返回</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<h5>返回参数说明</h5>
<h5>备注</h5>
<h5>4.简要描述</h5>
<ul>
<li>保存小程序头像昵称</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>https://jz.xiaoxiaoyanglao.com/addons/newbaby_parttime/public/index.php/parttime_api.wechat/addWxInfo</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST</li>
</ul>
<h5>参数</h5>
<table>
<thead>
<tr>
<th>参数名</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>uniacid</td>
<td>是</td>
<td>int</td>
<td>默认值 1</td>
</tr>
<tr>
<td>uid</td>
<td>是</td>
<td>string</td>
<td>微信返回</td>
</tr>
<tr>
<td>avatar</td>
<td>是</td>
<td>string</td>
<td>微信返回</td>
</tr>
<tr>
<td>nickname</td>
<td>是</td>
<td>string</td>
<td>微信返回</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<h5>返回参数说明</h5>
<h5>备注</h5>