家政

一家专注于服务的家政


文件上传,发送短信

<h5>1.简要描述</h5> <ul> <li>文件图片,视频上传</li> </ul> <h5>请求URL</h5> <ul> <li><code>域名+/addons/newbaby_parttime/public/index.php/parttime_api.common/upload</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>file</td> <td>是</td> <td>string</td> <td>文件上传的默认名称</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code> { &amp;quot;code&amp;quot;: 0, &amp;quot;msg&amp;quot;: &amp;quot;获取成功&amp;quot;, &amp;quot;time&amp;quot;: 1591149171, &amp;quot;data&amp;quot;: { }</code></pre> <p>}</p> <h5>返回参数说明</h5> <h5>备注</h5> <h5>2.简要描述</h5> <ul> <li>绑卡短信</li> </ul> <h5>请求URL</h5> <ul> <li><code>域名+/addons/newbaby_parttime/public/index.php/parttime_api.common/sendMobileCode</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>mobile</td> <td>是</td> <td>string</td> <td>手机号</td> </tr> <tr> <td>event</td> <td>是</td> <td>string</td> <td>事件:绑卡传 bind, 注册传值 register</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code> { &amp;quot;code&amp;quot;: 0, &amp;quot;msg&amp;quot;: &amp;quot;获取成功&amp;quot;, &amp;quot;time&amp;quot;: 1591149171, &amp;quot;data&amp;quot;: { }</code></pre> <p>}</p> <h5>返回参数说明</h5> <h5>备注</h5>

页面列表

ITEM_HTML