|  | @ -478,10 +478,13 @@ public class PayService {
 | 
	
		
			
				|  |  |         // 此路径是微信服务器调用支付结果通知路径
 | 
	
		
			
				|  |  |         reqMap.put("notify_url", serverUrl+"pay/open/wxPayNotify");
 | 
	
		
			
				|  |  |         reqMap.put("out_trade_no", businessOrderDO.getOrderNo());
 | 
	
		
			
				|  |  |         reqMap.put("spbill_create_ip", IpUtil.getIpAddr(request));
 | 
	
		
			
				|  |  |         reqMap.put("spbill_create_ip", IpUtil.getOneIpAddress(request));
 | 
	
		
			
				|  |  |         reqMap.put("product_id", businessOrderDO.getOrderNo());
 | 
	
		
			
				|  |  |         // 订单总金额,单位为分
 | 
	
		
			
				|  |  |         Double payAmountIntValue = businessOrderDO.getPayPrice() * 100;
 | 
	
		
			
				|  |  |         if(payAmountIntValue.intValue()<=0){
 | 
	
		
			
				|  |  |             return ObjEnvelop.getError("支付金额必须大于0",-1);
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         reqMap.put("total_fee", String.valueOf(payAmountIntValue.intValue()));
 | 
	
		
			
				|  |  |         reqMap.put("trade_type", "NATIVE");
 | 
	
		
			
				|  |  |         // 创建第一次签名
 | 
	
	
		
			
				|  | @ -555,10 +558,13 @@ public class PayService {
 | 
	
		
			
				|  |  |         // 此路径是微信服务器调用支付结果通知路径
 | 
	
		
			
				|  |  |         reqMap.put("notify_url", serverUrl+"pay/open/wxPayNotify");
 | 
	
		
			
				|  |  |         reqMap.put("out_trade_no", businessOrderDO.getOrderNo());
 | 
	
		
			
				|  |  |         reqMap.put("spbill_create_ip", IpUtil.getIpAddr(request));
 | 
	
		
			
				|  |  |         reqMap.put("spbill_create_ip", IpUtil.getOneIpAddress(request));
 | 
	
		
			
				|  |  |         reqMap.put("product_id", businessOrderDO.getOrderNo());
 | 
	
		
			
				|  |  |         // 订单总金额,单位为分
 | 
	
		
			
				|  |  |         Double payAmountIntValue = businessOrderDO.getPayPrice() * 100;
 | 
	
		
			
				|  |  |         if(payAmountIntValue.intValue()<=0){
 | 
	
		
			
				|  |  |             return ObjEnvelop.getError("支付金额必须大于0",-1);
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         reqMap.put("total_fee", String.valueOf(payAmountIntValue.intValue()));
 | 
	
		
			
				|  |  |         reqMap.put("trade_type", "JSAPI");
 | 
	
		
			
				|  |  |         reqMap.put("openid", patientDO.getOpenid());
 |