Browse Source

收取茶矿

afa 7 months ago
parent
commit
f9328ab0dd
1 changed files with 4 additions and 3 deletions
  1. 4 3
      application/api/controller/Pledge.php

+ 4 - 3
application/api/controller/Pledge.php

@@ -124,9 +124,10 @@ class Pledge extends Api
 
             Db::startTrans();
             try {
-                  // 质抵押订单 
-                  $res = $pledgeLogic::getPledgeCollect(1275);
-      
+                  // 质抵押订单
+                  $res = $pledgeLogic::getPledgeCollect($this->auth->id);
+                  
+                  //cache('collect_time', time(), 300);
                  // 提交事务
                   Db::commit();
             } catch (Exception $e) {