rabin há 3 anos atrás
pai
commit
20b7ddef48
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      service/agent/lib/Tool.php

+ 2 - 2
service/agent/lib/Tool.php

@@ -1034,9 +1034,9 @@ class Tool
                 $update['where_id'] = $v['mid'];
                 $num = $v['num'];
                 if ($v['type'] == 1) {
-                    $update['group_sell'] = $num;
-                } else {
                     $update['sell'] = $num;
+                } else {
+                    $update['group_sell'] = $num;
                 }
                 $update['clear'] = true;
                 Dever::db('agent/member')->upGroupSellOne($update);