|
@@ -199,7 +199,7 @@ class Account extends Model {
|
|
* @return array
|
|
* @return array
|
|
* @throws Exception
|
|
* @throws Exception
|
|
*/
|
|
*/
|
|
- public static function verifyPlayer($account, $random, $token, $netId) {
|
|
|
|
|
|
+ public static function verifyPlayer($account, $random, $token, $netId = self::TYPE_EOS) {
|
|
if (!$account) {
|
|
if (!$account) {
|
|
throw new Exception('参数错误', CODE_PARAM_ERROR);
|
|
throw new Exception('参数错误', CODE_PARAM_ERROR);
|
|
}
|
|
}
|