<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                [TOC=2] ## 枚舉變量 ### banner的位置(position): | 可選值 | 說明 | | --- | --- | | top | 頂部 | | center | 中間 | ## banner列表 ~~~[api] get:/banner/list int:current_page=1#當前頁 int:page_number=10#頁碼 <<< success { "code": 0, "data": { "list": [ { "id": 1, "title": "標題",//標題 "img": "http://www.baidu.com",//圖片地址 "url": "http://www.baidu.com",//鏈接地址 "is_show": true,//是否顯示 "position": "top",//顯示位置 "create_time": "2018-03-12 17:14:47"//添加時間 } ], "count": 1,/中數 "current_page": 1,//當前頁 "page_number": 10//頁碼 } } ~~~ ## 新增 ~~~[api] post:/banner/create *string:title=標題#標題 *string:img=http://www.baidu.com#圖片地址 *string:url=http://www.baidu.com#鏈接地址 *boolean:is_show=true#是否顯示 *string:position=top#顯示位置 <<< success { "code": 0, "data": { "title": "123", "img": "http://www.baidu.com", "url": "http://www.baidu.com", "is_show": true, "position": "top", "id": "1" } } <<< error { "code": -1, "msg": "圖片必須" } ~~~ ## 修改查詢 ~~~[api] get:/banner/edit *int:id=0#id <<< success { "code": 0, "data": { "id": 2, "title": "123",//標題 "img": "http://www.baidu.com",//圖片地址 "url": "http://www.baidu.com",//鏈接地址 "is_show": true,//是否顯示 "position": "top",//顯示位置 見枚舉變量 "create_time": "2018-03-12 17:44:33"//添加時間 } } <<< error { "code": 0 } ~~~ ## 修改 ~~~[api] post:/banner/update *int:id=1#id *string:title=標題#標題 *string:img=http://www.baidu.com#圖片地址 *string:url=http://www.baidu.com#鏈接地址 *boolean:is_show=true#是否顯示 *string:position=top#顯示位置 <<< success { "code": 0, "data": { "id": 1, "title": "aaaaa", "img": "http://www.baidu.com", "url": "http://www.baidu.com", "is_show": true, "position": "top" } } <<< error { "code": -1, "msg": "圖片必須" } ~~~ ## 刪除 ~~~[api] post:/banner/delete *int:id=1#列表的id <<< success { "code": 0, "data": { "id": 1//被刪除的id } } ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看