| 
					
				 | 
			
			
				@@ -441,8 +441,10 @@ class BetService extends BaseService 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         $keyboard = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        $total_amount = BalanceLogService::model()::where('member_id',$memberId)->where('change_type','中奖')->sum('amount'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        $total_amount = number_format($total_amount, 2); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         $text = "历史注单 \n"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        $text .="中奖总金额:{$total_amount} \n"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         foreach ($list as $k => $v) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if($v->status == self::model()::STATUS_SETTLED){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 $phase = $v->profit - $v->amount; 
			 |