瀏覽代碼

佣金逻辑修改

Kirin 3 年之前
父節點
當前提交
36139f67ea
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      app/api/controller/PublicController.php

+ 4 - 4
app/api/controller/PublicController.php

@@ -53,11 +53,11 @@ class PublicController
     {
 
 //        var_dump(get_fil_price());
-        if(!UserMiningMachine::sendGroupAward(10114, 7, 'FIL',0.28076800)){
-          var_dump(UserMiningMachine::getErrorInfo());
-        }
+//        if(!UserMiningMachine::sendGroupAward(10114, 7, 'FIL',0.28076800)){
+//          var_dump(UserMiningMachine::getErrorInfo());
+//        }
 //        SystemUserTask::SmallGroupHashRate(1, 1);
-//        UserMiningMachine::dayMining();
+        UserMiningMachine::dayMining();
 //        $money_types = MiningMachine::group('get_money_type')->field('COUNT(id),get_money_type')->select();
 //        $day_gets = [];
 //        foreach ($money_types as $v) {