dever 3 years ago
parent
commit
8cf1c68c1a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      service/agent/lib/Member_set.php

+ 1 - 1
service/agent/lib/Member_set.php

@@ -80,7 +80,7 @@ class Member_set
                 }
             } else {
                 if ($info) {
-                    $w['total_num'] = $info['total_num'] - $info['sell_num'] + $v['total'];
+                    $w['total_num'] = $v['total'] - $info['total_num'] - $info['sell_num'];
                 } else {
                     $w['total_num'] = $v['total'];
                 }