rabin %!s(int64=2) %!d(string=hai) anos
pai
achega
761c561a27
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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) {