Authored by whb

PC的authcode

... ... @@ -376,4 +376,14 @@ class AuthCode
}
return true;
}
/**
* 对Str进行转码(主要防范+)
*
* @param String $input
* @return String
*/
public static function base64_str_encode($input)
{
return strtr($input, '+/=', '-_.');
}
}
\ No newline at end of file
... ...