rabin 2 years ago
parent
commit
d43768aa22
1 changed files with 1 additions and 1 deletions
  1. 1 1
      service/agent/lib/Manage.php

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

@@ -594,7 +594,7 @@ class Manage
                     return false;
                 }
             } elseif ($card['create_type'] == 3) {
-                $cash = round($order['soft_cash']*($v['num']/100), 2);
+                $cash = round($order['agent_cash']*($v['num']/100), 2);
                 $price = $cash;
                 $v['num'] = 1;
                 $v['sku_id'] = Dever::load('card/lib/code')->create($card, 2, $order['mid'], $order['id'], $cash);