Browse Source

修改bug

eosgetdice12 5 years ago
parent
commit
8058479d80
1 changed files with 1 additions and 1 deletions
  1. 1 1
      protected/models/Account.php

+ 1 - 1
protected/models/Account.php

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