<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之旅 廣告
                # 組件源碼 /** * <b>方法描述:</b> 服務調用(rest服務名) <br/> * <b>創建者:</b> admin <br/> * <b>創建時間:</b> 2020-07-09 17:22:38 <br/> * * @param url 入參|第三方Rest接口地址|{@link java.lang.String} * @param inPara 入參|Rest接口請求參數|{@link java.lang.Object} * @param outPara 出參|Rest接口返回參數|{@link java.lang.Object} * @return 0 失敗<br/> * 1 成功<br/> */ @Component(label = "服務調用(rest服務名)", style = "判斷型", type = "同步組件", comment = "通過【服務名】調用注冊中心下其他服務的Rest接口,支持負載,單體應用不支持該組件。使用json格式,例如:'http://sca-microservice/doBusiness/demoAPP/T101'。限于同一個注冊中心下的服務", version = "1.0.0", deprecated = false, author = "admin", date = "2020-07-09 05:22:38") @InParams(param = { @Param(name = "url", comment = "第三方Rest接口地址", type = java.lang.String.class), @Param(name = "inPara", comment = "Rest接口請求參數", type = java.lang.Object.class) }) @OutParams(param = { @Param(name = "outPara", comment = "Rest接口返回參數", type = java.util.Map.class) }) @Returns(returns = { @Return(id = "0", desp = "失敗"), @Return(id = "1", desp = "成功") }) public static ResultBase P_callRestfull(String url, Map inPara) { try { Object result = null; if (DebugUtil.debug) { String requrl = DebugUtil.yfaServerAddress + "/" + url; result = HttpClientUtil.doPost(requrl, Map.class, inPara, null); } else { result = BundleUtil.invokeOuterBusiness(url, inPara); } return ResultBase.newSuccessResult(result); } catch (Exception e) { AppLog.error(e); return ResultBase.newFailureResult("TPTK0023", "調用第三方Rest接口:" + AppLog.errorMsg(e)); } } # 交易中組件使用方式 ![](https://img.kancloud.cn/4b/4a/4b4a0ee040e98f3ba3a4bcc571d42ca8_1771x750.jpg) # 參數說明及示例 ## 入口參數 第三方Rest接口地址:同一注冊中心下的其他服務的Rest接口地址,示例: `"http://sca-microservice/doBusiness/demoAPP/T101"` Rest接口請求參數:請求參數,根據接口實際情況設置正確類型的參數,示例: `{"sex":"男","add":"重慶"}` ## 出口參數 Rest接口返回參數:調用接口返回結果,示例: `__INNER__["result"]` > 通過【服務名】調用注冊中心下其他服務的Rest接口,支持負載,單體應用不支持該組件。使用json格式,例如:'http://sca-microservice/doBusiness/demoAPP/T101'。限于同一個注冊中心下的服務
                  <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>

                              哎呀哎呀视频在线观看