Browse Source

支付通道路由

yubin 1 day ago
parent
commit
25853c3efb

+ 16 - 16
cif-service/src/main/java/com/txz/cif/web/mng/appcontroller/PaymentMethodAppController.java

@@ -124,22 +124,22 @@ public class PaymentMethodAppController {
 
 
 
-    @GetMapping("/getpaymentchannel")
-    @ApiOperation(value = "app端getpaymentchannel", httpMethod = "GET")
-    public Result getpaymentchannel(@RequestParam("id") Long id) {
-
-        if(ObjectUtils.isEmpty(id)){
-            return ResultGenerator.genFailResult(ResultCode.OBJECT_IS_NULL);
-        }
-        PaymentChannel paymentChannel;
-        try {
-             paymentChannel = paymentChannelService.paymentChannelReturnsByWeight(id);
-        } catch (Exception e) {
-            log.error("查询对象操作异常e:{}", e);
-            return ResultGenerator.genFailResult(ResultCode.INTERNAL_SERVER_ERROR);
-        }
-        return ResultGenerator.genSuccessResult(paymentChannel);
-    }
+//    @GetMapping("/getpaymentchannel")
+//    @ApiOperation(value = "app端getpaymentchannel", httpMethod = "GET")
+//    public Result getpaymentchannel(@RequestParam("id") Long id) {
+//
+//        if(ObjectUtils.isEmpty(id)){
+//            return ResultGenerator.genFailResult(ResultCode.OBJECT_IS_NULL);
+//        }
+//        PaymentChannel paymentChannel;
+//        try {
+//             paymentChannel = paymentChannelService.paymentChannelReturnsByWeight(id);
+//        } catch (Exception e) {
+//            log.error("查询对象操作异常e:{}", e);
+//            return ResultGenerator.genFailResult(ResultCode.INTERNAL_SERVER_ERROR);
+//        }
+//        return ResultGenerator.genSuccessResult(paymentChannel);
+//    }
 
     @PostMapping("/list")
     @ApiOperation(value = "app端paymentMethod获取列表", httpMethod = "POST")