Your Name 2 years ago
parent
commit
4fd1610ee6
1 changed files with 3 additions and 1 deletions
  1. 3 1
      tool/stats/lib/Manage.php

+ 3 - 1
tool/stats/lib/Manage.php

@@ -92,6 +92,7 @@ Class Manage
 		}
 		$where['state'] = 1;
 		$data = Dever::db('shop/sell_order')->getExcel($where);
+		// print_R($data);die;
 		if ($data) {
 			foreach ($data as $k => $v) {
 				$v['card'] = '';
@@ -325,8 +326,9 @@ Class Manage
 	                        
 	                    }
 	                }
+	                $body[] = $d;
 				}
-				$body[] = $d;
+				
 			}
 			
 		}