{"id":88200,"date":"2020-02-08T16:53:06","date_gmt":"2020-02-08T08:53:06","guid":{"rendered":"http:\/\/4563.org\/?p=88200"},"modified":"2020-02-08T16:53:06","modified_gmt":"2020-02-08T08:53:06","slug":"%e8%af%b7%e6%95%99%e4%b8%80%e4%b8%aa%e5%85%b3%e4%ba%8e%e5%a4%9a%e7%ba%bf%e7%a8%8b%e7%9a%84%e9%97%ae%e9%a2%98%ef%bc%8c%e6%88%91%e8%a7%89%e5%be%97%e8%bf%99%e4%b9%88%e5%86%99%e6%b2%a1%e6%9c%89%e7%94%a8","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=88200","title":{"rendered":"\u8bf7\u6559\u4e00\u4e2a\u5173\u4e8e\u591a\u7ebf\u7a0b\u7684\u95ee\u9898\uff0c\u6211\u89c9\u5f97\u8fd9\u4e48\u5199\u6ca1\u6709\u7528\u3002"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u8bf7\u6559\u4e00\u4e2a\u5173\u4e8e\u591a\u7ebf\u7a0b\u7684\u95ee\u9898\uff0c\u6211\u89c9\u5f97\u8fd9\u4e48\u5199\u6ca1\u6709\u7528\u3002               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : tghoul <\/span>  <span><i><\/i> 19<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u65b0\u63a5\u624b\u4e86\u4e00\u4e2a\u9879\u76ee\uff0c\u9886\u5bfc\u8ba9\u719f\u6089\u4e00\u4e0b\uff0c\u6211\u770b\u5230\u540c\u4e8b\u4ee5\u524d\u5199\u7684\u4ee3\u7801\uff0c\u6211\u770b\u4e0d\u61c2\u7ebf\u7a0b\u4e3a\u5565\u8981\u8fd9\u4e48\u7528\uff0c\u6211\u89c9\u5f97\u8fd9\u4e48\u505a\u5e76\u4e0d\u4f1a\u63d0\u5347\u6027\u80fd\u5427\uff0c\u8bf7\u5404\u4f4d\u5927\u4f6c\u5e2e\u5fd9\u89e3\u7b54\u4e00\u4e0b\uff0c\u8c22\u8c22\u3002<\/p>\n<pre><code>@RestController @RequestMapping(\"\/dq\") public class AccessController extends BaseController {   @Resource  private IAccService iAccService;    private ExecutorService pool = null;    @RequestMapping(value = \"\/access\")  @ResponseBody  public AccessDataRespDto qtApproveLoan(@RequestBody final AccessDataReqDto req) {      if (pool == null) {    pool = Executors.newFixedThreadPool(5);\/\/\u8bbe\u7f6e\u7ebf\u7a0b\u6c60   }      Future&lt;AccessDataRespDto&gt; f = pool.submit(new Callable&lt;AccessDataRespDto&gt;() {    @Override    public AccessDataRespDto call() {     log.info(\"\u6307\u6807\u8ba1\u7b97\u8bf7\u6c42\u53c2\u6570: [\" + JSON.toJSONString(req) + \"]\");     String inSerialNum = GlobalConstant.DQ.concat(DateTools.getCurrentDate(DateTools.DATE_FORMAT2_8)).concat(\"_\").concat(StringUtils.getUuid());     DqOutAccessDomain da = iAccService.installAccessInfo(req, null, \"\u6307\u6807\u5904\u7406\u4e2d\", inSerialNum);     AccessDataRespDto resp = iAccService.getAccessInfo(req, da, inSerialNum);     return resp;    }   });   try {    return f.get();   } catch (Exception e) {    log.error(\"\u6267\u884c\u51c6\u5165\u8bf7\u6c42\u53d1\u9001\u5f02\u5e38! MESSAGE:\" + e.getMessage());    return null;   }     } } <\/code><\/pre>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>17<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"1136095\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Resource <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5783\u573e\u4ee3\u7801                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1136096\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zzstar <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u662f\u5565\uff0c\u770b\u4e0d\u61c2\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1136097\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zzstar <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u96be\u9053\u662f\u4e3a\u4e86\u63a7\u5236\u5e76\u53d1\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1136098\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sqfphoenix <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u672c\u610f\u662f\u60f3\u505a\u5355\u4f8b\u7684\u7ebf\u7a0b\u6c60\u5427\uff0c\u7ed3\u679c\u5355\u4f8b\u7684\u5b9e\u73b0\u65b9\u5f0f\u662f\u9519\u8bef\u7684<br \/>\u8fd9\u4e48\u4e0a\u7ebf\u7a0b\u6c60\u53ea\u4f1a\u964d\u4f4e\u5e76\u53d1\u91cf                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1136099\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : tghoul <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @zzstar \u6211\u4e5f\u4e0d\u660e\u767d\u4e3a\u5565\u5728 controller \u91cc\u9762\u5f04\u7ebf\u7a0b\uff0c\u7ed9\u6211\u770b\u50bb\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1136100\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : shenjixiang <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6709\u7528\u7684\uff0c\u5206\u6279\u5904\u7406\u6570\u636e\u3002\u6ce8\u610f\u8fd9\u4e2a\u53c2\u6570\uff1ainSerialNum                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1136101\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : n770011 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f9d\u6211\u7684\u7406\u89e3\uff0c\u4ee3\u7801\u5e94\u8be5\u5c31\u662f\u4f9d\u4e0a\u6240\u8bf4\u63a7\u5236\u5e76\u53d1\u3002\u4f46\u5b9e\u9645\u5e94\u8be5\u6ca1\u7528\u3002\u56e0\u4e3a\u7ebf\u7a0b\u6c60\u662f\u7c7b\u7684\u6210\u5458\u53d8\u91cf\uff0c\u9664\u975e spring \u5bb9\u5668\u8bbe\u7f6e\u6210\u53ea\u6709\u4e00\u4e2a AccessController \u5b9e\u4f8b\uff08\u6211\u731c\u6d4b\u662f\u80fd\u8bbe\u7f6e\u7684\uff09\u3002private ExecutorService pool = null;\u6539\u6210 private static ExecutorService pool = null;\u5e94\u8be5\u5c31\u80fd\u8d77\u5230\u5e76\u53d1\u63a7\u5236\u4f5c\u7528\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1136102\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zzstar <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u9ed8\u8ba4 Bean \u662f\u5355\u4f8b\u6a21\u5f0f\uff0c\u8fd9\u4e48\u5199\u4e5f\u53ef\u4ee5\u63a7\u5236\u5e76\u53d1\u5427\u3002\u4e0d\u8fc7\u4e0d\u77e5\u9053\u4e3a\u4ec0\u4e48\u8fd9\u4e48\u5199                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1136103\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wysnylc <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5355\u4f8b\u521d\u59cb\u5316\u6ca1\u89e3\u51b3\u5e76\u53d1,\u7ebf\u7a0b\u6c60\u4efb\u52a1\u662f\u4e32\u884c<br \/>\u603b\u7ed3:\u5e76\u53d1\u4e2a\u9524\u5b50                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1136104\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : tghoul <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @n770011 \u540c\u4e8b\u8bf4\u7528\u7ebf\u7a0b\u6c60\u662f\u63d0\u9ad8\u5904\u7406\u6548\u7387                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1136105\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : iffi <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             LOL                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1136106\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : tghoul <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @shenjixiang \u8fd9\u4e2a\u53ea\u662f\u751f\u6210\u4e00\u4e2a\u6d41\u6c34\u53f7\u800c\u5df2                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1136107\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xhinliang <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5783\u573e\u4ee3\u7801                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1136108\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zhady009 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7ebf\u7a0b\u6c60\u521d\u59cb\u5316 bean \u9ed8\u8ba4\u662f\u5355\u4f8b\u6240\u4ee5\u8fd9\u4e2a\u4e00\u822c\u6ca1\u4ec0\u4e48\u95ee\u9898 \u4e0d\u8fc7\u4e5f\u4e0d\u592a\u4f18\u96c5<\/p>\n<p>\u4f46\u662f\u4ed6\u628a\u670d\u52a1\u5668\u7684\u8bf7\u6c42\u7ebf\u7a0b\u53c8\u6c47\u805a\u5728\u7ebf\u7a0b\u6c60\u7684\u961f\u5217\u91cc \u53c8\u5728\u91cc\u9762 get() \u5176\u5b9e\u662f\u66f4\u6162\u4e86                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1136109\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : changePro <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5783\u573e\u4ee3\u7801\uff01                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1136110\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ffw5b7 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u840c\u65b0\u60f3\u95ee\u4e00\u4e0b\uff0c\u4e3a\u4ec0\u4e48\u73b0\u5728\u4e0d\u7528 WebFlux \u7c7b\u4f3c\u7684\u5e76\u53d1\u6846\u67b6\uff0c\u800c\u662f\u52a0\u673a\u5668\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1136111\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zwx327634 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @ffw5b7 \u51e0\u5341\u4e0a\u767e\u751a\u81f3\u4e0a\u5343\u7684\u670d\u52a1\uff0c\u5347\u7ea7\u5230\u5f02\u6b65\u6846\u67b6\uff0c\u6210\u672c\u633a\u9ad8\u7684\u3002\u8c03\u7528\u65b9\u4f7f\u7528\u5f02\u6b65\u4e5f\u633a\u597d                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u8bf7\u6559\u4e00\u4e2a\u5173\u4e8e\u591a\u7ebf\u7a0b\u7684\u95ee\u9898\uff0c\u6211\u89c9\u5f97\u8fd9&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/88200"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=88200"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/88200\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=88200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=88200"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=88200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}