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

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                [TOC] # **StrutsAction接口說明** ## **源代碼地址** ``` sohelp-web\sohelp-web-extjs\js-source\public\StrutsAction.js ``` ## **接口說明** | 名稱 | 參數 | 描述 | | --- | --- | --- | | post | post(url,param,callback,scope) | 1、url: springboot contorller地址 2、 param:{},3、callback :function() {}| | --- | --- | --- | | get | get(url,param,callback,scope) | 1、url: springboot contorller地址 2、 param:{},3、callback :function() {}| | --- | --- | --- | | request | request (url,param,callback,scope) | 1、url: springboot contorller地址 2、 param:{},3、callback :function() {}| | --- | --- | --- | | postNashorn | postNashorn (url,param,callback,scope) | 1、url: springboot contorller地址 2、 param:{},3、callback :function() {}| | --- | --- | --- | | getNashorn | getNashorn (url,param,callback,scope) | 1、url: springboot contorller地址 2、 param:{},3、callback :function() {}| | --- | --- | --- | | nashorn | nashorn (url,param,callback,scope) | 1、url: springboot contorller地址 2、 param:{},3、callback :function() {} | | --- | --- | --- | ## **SpringBoot Controller提交Get方式** 示例說明 ``` //合同刪除提交 var url="/yw/contract/delete"; //刪除ID為3的合同 var param = { id: 3 }; StrutsAction.post(url,param,function(res){ if(res.meta.success){ //todo }else{ alert(res.meta.message); } }); //或者采用StrutsAction.post與request同樣采用post提交方式 StrutsAction.request(url,param,function(res){ if(res.meta.success){ //todo }else{ alert(res.meta.message); } }); ``` ## **SpringBoot Controller提交Post方式** 示例說明 ``` //合同刪除提交 var url="/yw/contract/delete"; //刪除ID為3的合同 var param = { id: 3 }; StrutsAction.post(url,param,function(res){ if(res.meta.success){ //todo }else{ alert(res.meta.message); } }); //或者采用StrutsAction.post與request同樣采用post提交方式 StrutsAction.request(url,param,function(res){ if(res.meta.success){ //todo }else{ alert(res.meta.message); } }); ``` ## **Nahsorn提交Post方式** 示例說明 ``` //Nashorn 請求地址 var url="rh.kingbes.yw.contract!delete"; //Nashorn 請求參數 var param = { id: 3 }; StrutsAction.postNashorn(url,param,function(res){ if(res.meta.success){ //todo }else{ alert(res.meta.message); } }); //或者采用StrutsAction.nashorn與postNahsorn一樣 StrutsAction.rhino(url,param,function(res){ if(res.meta.success){ //todo }else{ alert(res.meta.message); } }); ``` ## **Nahsorn提交Get方式** 示例說明 ``` //Nashorn Get請求地址 var url="rh.kingbes.yw.contract!query"; //Nashorn 請求參數 var param = { id: 3 }; StrutsAction.getNashorn(url,param,function(res){ if(res.meta.success){ //todo console.log(res.data.results); }else{ alert(res.meta.message); } }) ```
                  <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>

                              哎呀哎呀视频在线观看