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) {