id) ->where('status', 2) ->sum('price'); // 待打款 $wait = UserWithdraw::where('user_id', \user()->id) ->where('status', 1) ->sum('price'); return $this->success([ 'been' =>$been, 'wait' =>$wait, ]); } public function tips() { $config = ShareConfig::first(); return $this->success($config->withdraw_desc); } public function setting() { $config = ShareConfig::first(); return $this->success($config); } }