eosgetdice12 5 tahun lalu
induk
melakukan
8058479d80
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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);
         }