| 
					
				 | 
			
			
				@@ -336,15 +336,14 @@ class Buy 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         $order_data['order_num'] = $this->getOrderId(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         $order_data['refund_cash'] = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         $order_data['refund_p_cash'] = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-         
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        $order_data['cdate'] = time(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         $info = Dever::db('shop/buy_order')->find($order_data); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (!$info) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             $id = Dever::db('shop/buy_order')->insert($order_data); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             Dever::alert('支付成功,请不要重复点击'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-         
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if($id && isset($method) &&  $method && isset($method['method']) && $method['method'] == 1){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            if($method && isset($method['price']) && $method['price'] && $method['yue']>=0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 $shop = Dever::db('shop/info')->find($type_id); 
			 |