gong-project

系统生成的默认项目


List

<h5>简要描述</h5> <ul> <li>无</li> </ul> <h5>请求URL</h5> <ul> <li><code>{{server}}/activity/list</code> </li> </ul> <h5>请求方式</h5> <ul> <li>get</li> </ul> <h5>Header</h5> <table> <thead> <tr> <th style="text-align: left;">header</th> <th style="text-align: left;">必选</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">Authorization</td> <td style="text-align: left;">否</td> <td>string</td> <td>JWT token</td> </tr> </tbody> </table> <h5>请求Query参数</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">page</td> <td style="text-align: left;">否</td> <td>string</td> <td>无</td> </tr> <tr> <td style="text-align: left;">size</td> <td style="text-align: left;">否</td> <td>string</td> <td>无</td> </tr> <tr> <td style="text-align: left;">key</td> <td style="text-align: left;">否</td> <td>string</td> <td>关键词</td> </tr> </tbody> </table> <h5>成功返回示例</h5> <pre><code>{ "code": 200, "message": "Success", "data": { "total": 10, "page": 1, "size": 10, "items": [ { "id": 10, "create_time": "2022-02-21T18:26:43", "update_time": "2022-03-14T13:27:51", "update_user": "gongtest", "title": "Group Picture 2017", "content": "Group Picture 2017", "date": "2017-02-03T16:00:00", "image": [ "http:\/\/106.54.189.213:6001\/static\/c75c7c10930011ec9595517d0b6f9701.jpg", "http:\/\/106.54.189.213:6001\/static\/c75c7c11930011ec9595517d0b6f9701.jpg", "http:\/\/106.54.189.213:6001\/static\/c75c7c12930011ec9595517d0b6f9701.jpg", "http:\/\/106.54.189.213:6001\/static\/c8bf2c4c930011ec9595517d0b6f9701.jpg" ] }, { "id": 9, "create_time": "2022-02-21T18:26:43", "update_time": "2022-03-14T13:27:51", "update_user": "gongtest", "title": "Group Picture 2016", "content": "Group Picture 2016", "date": "2016-02-02T16:00:00", "image": [ "http:\/\/106.54.189.213:6001\/static\/c8bf2c4d930011ec9595517d0b6f9701.jpg" ] }, { "id": 8, "create_time": "2022-02-21T18:26:43", "update_time": "2022-03-14T13:27:51", "update_user": "gongtest", "title": "Group Picture 2015", "content": "Group Picture 2015", "date": "2015-02-03T16:00:00", "image": [ "http:\/\/106.54.189.213:6001\/static\/c8bf2c4e930011ec9595517d0b6f9701.jpg", "http:\/\/106.54.189.213:6001\/static\/c9bf906e930011ec9595517d0b6f9701.jpg", "http:\/\/106.54.189.213:6001\/static\/c9bf906f930011ec9595517d0b6f9701.jpg", "http:\/\/106.54.189.213:6001\/static\/c9bf9070930011ec9595517d0b6f9701.jpg" ] }, { "id": 1, "create_time": "2022-02-21T18:26:43", "update_time": "2022-02-23T18:53:59", "update_user": "gongtest", "title": "Group Outing at Tongli", "content": "Group Outing at Tongli", "date": "2014-02-19T23:13:44", "image": [ "http:\/\/106.54.189.213:6001\/static\/d007e4a8930011ec9595517d0b6f9701.jpg", "http:\/\/106.54.189.213:6001\/static\/d007e4a9930011ec9595517d0b6f9701.jpg" ] }, { "id": 2, "create_time": "2022-02-21T18:26:43", "update_time": "2022-02-21T18:26:43", "update_user": "gongtest", "title": "Group Outing at Oriental Land", "content": "Group Outing at Tongli", "date": "2014-02-19T23:13:44", "image": [ "http:\/\/106.54.189.213:6001\/static\/ce31c13b930011ec9595517d0b6f9701.jpg", "http:\/\/106.54.189.213:6001\/static\/ce31c13c930011ec9595517d0b6f9701.jpg" ] }, { "id": 3, "create_time": "2022-02-21T18:26:43", "update_time": "2022-02-21T18:26:43", "update_user": "gongtest", "title": "Group &amp; Lab Set-up", "content": "Group &amp; Lab Set-up", "date": "2014-02-19T23:13:44", "image": [ "http:\/\/106.54.189.213:6001\/static\/cd0f2ad7930011ec9595517d0b6f9701.jpg", "http:\/\/106.54.189.213:6001\/static\/cd0f2ad8930011ec9595517d0b6f9701.jpg", "http:\/\/106.54.189.213:6001\/static\/cd0f2ad9930011ec9595517d0b6f9701.jpg", "http:\/\/106.54.189.213:6001\/static\/cd0f2ada930011ec9595517d0b6f9701.jpg", "http:\/\/106.54.189.213:6001\/static\/ce31c13a930011ec9595517d0b6f9701.jpg" ] }, { "id": 4, "create_time": "2022-02-21T18:26:43", "update_time": "2022-02-21T18:26:43", "update_user": "gongtest", "title": "Group Outing at CCJoy", "content": "Group Outing at CCJoy", "date": "2014-02-19T23:13:44", "image": [ "http:\/\/106.54.189.213:6001\/static\/cd0f2ad6930011ec9595517d0b6f9701.jpg" ] }, { "id": 6, "create_time": "2022-02-21T18:26:43", "update_time": "2022-02-21T18:26:43", "update_user": "gongtest", "title": "Spring outing at Gucun Park", "content": "Spring outing at Gucun Park", "date": "2014-02-19T23:13:44", "image": [ "http:\/\/106.54.189.213:6001\/static\/cb10c641930011ec9595517d0b6f9701.jpg", "http:\/\/106.54.189.213:6001\/static\/cb10c642930011ec9595517d0b6f9701.jpg", "http:\/\/106.54.189.213:6001\/static\/cc07f79e930011ec9595517d0b6f9701.jpg", "http:\/\/106.54.189.213:6001\/static\/cc07f79f930011ec9595517d0b6f9701.jpg", "http:\/\/106.54.189.213:6001\/static\/cc07f7a0930011ec9595517d0b6f9701.jpg" ] }, { "id": 7, "create_time": "2022-02-21T18:26:43", "update_time": "2022-02-21T18:26:43", "update_user": "gongtest", "title": "Group in fall 2014", "content": "Group in fall 2014", "date": "2014-02-19T23:13:44", "image": [ "http:\/\/106.54.189.213:6001\/static\/cb10c640930011ec9595517d0b6f9701.jpg" ] }, { "id": 5, "create_time": "2022-02-21T18:26:43", "update_time": "2022-03-14T13:27:51", "update_user": "gongtest", "title": "Group in 2013", "content": "Group in 2013", "date": "2013-02-15T16:00:00", "image": [ "http:\/\/106.54.189.213:6001\/static\/cc07f7a1930011ec9595517d0b6f9701.jpg" ] } ] } } </code></pre>

页面列表

ITEM_HTML