|
@@ -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")
|