<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>

                在基礎功能的開發中,編輯功能是最復雜的一樣。它需要先獲取要編輯對象的當前數據,然后再使用用戶輸入的新數據更新數據表。 ## 預期效果 ![](https://img.kancloud.cn/49/30/49304ac5ccdf5216419acf5b7334270e_516x382.gif) ## 接口規范 ### 獲取某個班級接口 數據更新前,需要根據ID信息來獲取對象的當前數據: ``` GET /Klass/{id} ``` #### 參數 Parameters | type | name | Description | Schema | | --- | --- | --- | --- | | **param** | **id** <br> *requried* | 班級ID | Long #### 響應(返回值)Responses | HTTP Code | Description | Schema | | --- | --- | --- | | **200** | OK | | ### 修改某個班級接口 數據被用戶修改后,我們需要一個更新當前ID對應的數據: ``` PUT /Klass/{id} ``` #### 參數 Parameters | type | name | Description | Schema | | --- | --- | --- | --- | | **param** | **id** <br> *requried* | 班級ID | Long | | **Body** | **班級** <br> *requried* | 班級信息 | Klass | ##### 班級信息 | name | type | description | |--- | --- | --- | | name | string | 班級名稱 | | teacher | {id: Long} | 教師 | #### 響應(返回值)Responses | HTTP Code | Description | Schema | | --- | --- | --- | | **204** | No Content | |
                  <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>

                              哎呀哎呀视频在线观看