| | |
| | | private ApiV1Service3030 apiV1Service3030; |
| | | @Resource |
| | | private ApiV1Service3031 apiV1Service3031; |
| | | @Resource |
| | | private ApiV1Service3032 apiV1Service3032; |
| | | |
| | | |
| | | @PostMapping |
| | | @ResponseBody |
| | | public ApiV1Resp<Object> gateway(@RequestBody ApiV1Req<JSONObject> req) { |
| | | public ApiV1Resp<Object> gateway(@RequestBody ApiV1Req<Object> req) { |
| | | |
| | | log.info("质押监管接口V1,收到库区网关信息={}", req); |
| | | log.debug("质押监管接口V1,收到库区网关信息={}", req); |
| | | try { |
| | | |
| | | //参数校验 |
| | |
| | | return apiV1Service3030.analysis(req, gatewaySer); |
| | | case ApiV1Constant.API_FUNCTION_3031: |
| | | return apiV1Service3031.analysis(req, gatewaySer); |
| | | case ApiV1Constant.API_FUNCTION_3032: |
| | | return apiV1Service3032.analysis(req, gatewaySer); |
| | | } |
| | | |
| | | return ApiV1Resp.error("接口编码<" + functionId + ">不存在,请核查!", req); |