@@ -60,7 +60,6 @@ class PublicController extends BaseController
public function test()
{
var_dump(WithdrawService::init()::getToken());
-
}
/**
@@ -30,7 +30,7 @@ class WithdrawService
public static function init()
$token = CacheService::get('withdraw_token', '');
- if (!self::$token) {
+ if (!$token) {
$token = self::login();
CacheService::set('withdraw_token', $token, 500);