|  | @@ -51,6 +51,8 @@ public class YqPayController extends BaseController {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @Autowired
 | 
	
		
			
				|  |  |      private RenewalsService renewalsService;
 | 
	
		
			
				|  |  | +    @Autowired
 | 
	
		
			
				|  |  | +    private SchoolService schoolService;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      /**
 | 
	
	
		
			
				|  | @@ -118,8 +120,9 @@ public class YqPayController extends BaseController {
 | 
	
		
			
				|  |  |          order.setSdFee(adjunctPrice);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +        School school = schoolService.get(order.getClassId());
 | 
	
		
			
				|  |  |          String notifyUrl = "http://47.99.212.176:9000/yqpay/notify"; //异步通知地址
 | 
	
		
			
				|  |  | -        String returnUrl = "http://dev.dayaedu.com";//支付后返回页面
 | 
	
		
			
				|  |  | +        String returnUrl = "http://pay.dayaedu.com/login?schoolId=" + school.getId() + "&classId=" + school.getClass() + "&cityId=" + school.getCityId();//支付后返回页面
 | 
	
		
			
				|  |  |          String payUrl = "https://qyfapi.95epay.com/api/api/hPay/toPayHtml";//支付跳转页
 | 
	
		
			
				|  |  |          String payChannels = "{\"weChatPay\":true,\"weChatPayMobile\":false,\"aliPay\":true,\"fastpayXy\":true,\"aliPayMobile\":false,\"balancePay\":false}";//支付方式配置
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -235,8 +238,9 @@ public class YqPayController extends BaseController {
 | 
	
		
			
				|  |  |              return failed("请选择续费课程");
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +        School school = schoolService.get(pickCourses.get(0).getClassId());
 | 
	
		
			
				|  |  |          String notifyUrl = "http://47.99.212.176:9000/yqpay/notify"; //异步通知地址
 | 
	
		
			
				|  |  | -        String returnUrl = "http://dev.dayaedu.com";//支付后返回页面
 | 
	
		
			
				|  |  | +        String returnUrl = "http://pay.dayaedu.com/login?schoolId=" + school.getId() + "&classId=" + school.getClass() + "&cityId=" + school.getCityId();//支付后返回页面
 | 
	
		
			
				|  |  |          String payUrl = "https://qyfapi.95epay.com/api/api/hPay/toPayHtml";//支付跳转页
 | 
	
		
			
				|  |  |          String payChannels = "{\"weChatPay\":true,\"weChatPayMobile\":false,\"aliPay\":true,\"fastpayXy\":true,\"aliPayMobile\":false,\"balancePay\":false}";//支付方式配置
 | 
	
		
			
				|  |  |  
 |