eosgetdice12 5 rokov pred
rodič
commit
8058479d80
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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);
         }