wugg 2 years ago
parent
commit
2481c7c517
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/controller/Reorder.php

+ 1 - 1
app/admin/controller/Reorder.php

@@ -726,7 +726,7 @@ class Reorder extends Base
 
                         if ($info['is_th'] == 1) {
                             $orderinfo['th_num'] += $info['num'];
-                            $orderinfo['th_fee'] += round($info['return_num'] * $orderinfo['sale_price'], 2);
+                            $orderinfo['th_fee'] += round($info['num'] * $orderinfo['sale_price'], 2);
                             $orderinfo['updatetime'] = date("Y-m-d H:i:s");
                             $uap = Db::name("sale")->save($orderinfo);
                             if ($uap == false) {