浏览代码

修改bug

eosgetdice12 5 年之前
父节点
当前提交
8058479d80
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);
         }