Your Name 3 년 전
부모
커밋
a48820c7e2
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      service/agent/lib/Member.php

+ 1 - 2
service/agent/lib/Member.php

@@ -703,7 +703,7 @@ class Member
         $temp = array();
         $sell = 0;
         $max = count($info);
-        if ($max > 1) {
+        if ($max > 0) {
             foreach ($info as $key => $val) {
                 $temp[] = $val['total']; // 用一个空数组来承接字段
                 $sell += $val['total'];
@@ -720,7 +720,6 @@ class Member
             }
             $total = sprintf ('%01.2f',$total);
         }
-        
         return $total;
     }
     #新增正常业绩