|  | @@ -1,6 +1,7 @@
 | 
	
		
			
				|  |  |  package com.ym.mec.web.controller;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  import com.ym.mec.biz.dal.entity.SysPaymentConfig;
 | 
	
		
			
				|  |  | +import com.ym.mec.biz.dal.enums.PaymentChannelEnum;
 | 
	
		
			
				|  |  |  import com.ym.mec.biz.service.SysPaymentConfigService;
 | 
	
		
			
				|  |  |  import com.ym.mec.common.controller.BaseController;
 | 
	
		
			
				|  |  |  import com.ym.mec.common.entity.HttpResponseResult;
 | 
	
	
		
			
				|  | @@ -71,4 +72,12 @@ public class SysPaymentConfigController extends BaseController {
 | 
	
		
			
				|  |  |      public Object queryPage(QueryInfo queryInfo) {
 | 
	
		
			
				|  |  |          return succeed(sysPaymentConfigService.queryPage(queryInfo));
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    @ApiOperation(value = "根据类型获取获取配置列表")
 | 
	
		
			
				|  |  | +    @GetMapping("/getPaymentConfigs")
 | 
	
		
			
				|  |  | +    @PreAuthorize("@pcs.hasPermissions('paymentConfig/getPaymentConfigs')")
 | 
	
		
			
				|  |  | +    public HttpResponseResult getPaymentConfigs(PaymentChannelEnum payType) {
 | 
	
		
			
				|  |  | +        return succeed(sysPaymentConfigService.getPaymentConfigs(payType));
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  }
 |