Kirin 3 years ago
parent
commit
5b575e4178
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/api/controller/mining/MiningController.php

+ 1 - 1
app/api/controller/mining/MiningController.php

@@ -74,7 +74,7 @@ class MiningController
     public function mining_index(Request $request)
     {
         $all = UserMiningMachine::where('get_money_type', 'in', 'XCH')->where('uid', $request->uid())->sum('num');
-        $doing = UserMiningMachine::where('get_money_type', 'in', 'XCH')->where('uid', $request->uid())->where('status', 'in', [1, 2])->sum('num') + 500;
+        $doing = UserMiningMachine::where('get_money_type', 'in', 'XCH')->where('uid', $request->uid())->where('status', 'in', [1, 2])->sum('num');
         $stand = UserMiningMachine::where('get_money_type', 'in', 'XCH')->where('uid', $request->uid())->where('status', 0)->sum('num');
         $all_mining = UserMining::where('get_money_type', 'in', 'XCH')->where('uid', $request->uid())->sum('get_money');
         $all_lock = UserMining::where('get_money_type', 'in', 'XCH')->where('uid', $request->uid())->sum('lock_money');