旅游app后台

后台api接口


注册

<h5>简要描述</h5> <ul> <li>注册</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://api.9lele.com/public/index.php/api/user/register</code></li> </ul> <h5>请求方式</h5> <ul> <li>post</li> </ul> <h5>Header</h5> <table> <thead> <tr> <th>header</th> <th>示例值</th> <th>必选</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>Token</td> <td>be4c4de6-6ed4-4d79-9678-f75ac6c6c6af</td> <td>是</td> <td>string</td> <td>登录成功后获取的token</td> </tr> </tbody> </table> <h5>请求Body参数</h5> <table> <thead> <tr> <th>参数名</th> <th>示例值</th> <th>必选</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>username</td> <td>Khora</td> <td>是</td> <td>string</td> <td>用户名</td> </tr> <tr> <td>password</td> <td>Khora</td> <td>是</td> <td>string</td> <td>密码</td> </tr> <tr> <td>email</td> <td>2831399299@qq.com</td> <td>是</td> <td>string</td> <td>邮箱</td> </tr> <tr> <td>mobile</td> <td>13834291111</td> <td>是</td> <td>string</td> <td>电话号</td> </tr> </tbody> </table> <h5>成功返回示例</h5> <pre><code>{ &amp;quot;code&amp;quot;: 1, &amp;quot;msg&amp;quot;: &amp;quot;注册成功&amp;quot;, &amp;quot;time&amp;quot;: &amp;quot;1714176161&amp;quot;, &amp;quot;data&amp;quot;: { &amp;quot;userinfo&amp;quot;: { &amp;quot;id&amp;quot;: 38, &amp;quot;username&amp;quot;: &amp;quot;Khora&amp;quot;, &amp;quot;nickname&amp;quot;: &amp;quot;Khora&amp;quot;, &amp;quot;mobile&amp;quot;: &amp;quot;13834291111&amp;quot;, &amp;quot;avatar&amp;quot;: &amp;quot;data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgaGVpZ2h0PSIxMDAiIHdpZHRoPSIxMDAiPjxyZWN0IGZpbGw9InJnYigxODQsMTYwLDIyOSkiIHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIj48L3JlY3Q+PHRleHQgeD0iNTAiIHk9IjUwIiBmb250LXNpemU9IjUwIiB0ZXh0LWNvcHk9ImZhc3QiIGZpbGw9IiNmZmZmZmYiIHRleHQtYW5jaG9yPSJtaWRkbGUiIHRleHQtcmlnaHRzPSJhZG1pbiIgZG9taW5hbnQtYmFzZWxpbmU9ImNlbnRyYWwiPks8L3RleHQ+PC9zdmc+&amp;quot;, &amp;quot;score&amp;quot;: 0, &amp;quot;token&amp;quot;: &amp;quot;250dcc3b-3231-4570-846c-ccf2508a95c0&amp;quot;, &amp;quot;user_id&amp;quot;: 38, &amp;quot;createtime&amp;quot;: 1714176161, &amp;quot;expiretime&amp;quot;: 1716768161, &amp;quot;expires_in&amp;quot;: 2592000 } } }</code></pre>

页面列表

ITEM_HTML