Kirin %!s(int64=4) %!d(string=hai) anos
pai
achega
5b575e4178
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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');