rabin преди 2 години
родител
ревизия
761c561a27
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 3 1
      app/shop/lib/Sell.php

+ 3 - 1
app/shop/lib/Sell.php

@@ -1114,7 +1114,7 @@ class Sell
                 'order' => '',
                 'order_num' => $order_data['order_num'],
                 'order_id' => $id,
-                'type' => 'pay',
+                'type' => 'test',
             );
         }
 
@@ -1478,6 +1478,8 @@ class Sell
                     }
                 }
                 */
+            } elseif (isset($info['wallet_cash']) && $info['wallet_cash'] && $info['wallet_cash'] > 0) {
+                Dever::load('cash/lib/order')->up($info, 3, 2, false, 3);
             }
 
             if ($info['shop_type'] == 2) {