dever 4 anni fa
parent
commit
ed97b61043
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5 0
      lib/Pay.php

+ 5 - 0
lib/Pay.php

@@ -130,6 +130,11 @@ class Pay
                 } else {
                     $uid = $order['uid'];
                 }
+
+                # 榜单更新
+                if (Dever::project('collection')) {
+                    Dever::load('collection/lib/ranking')->up($order['uid'], $order['type_id'], 2, $order['num']);
+                }
                 Dever::score($uid, 'buy_my_goods', '购买自营商品', false, $order['reward'], false, $order['type'], $order['type_id']);
 
                 # 发消息