Эх сурвалжийг харах

宝石构造函数参数=null

cyzhao 1 жил өмнө
parent
commit
b3af4c6e6a

+ 1 - 1
Gameserver/App/model/User/Ins_Gem.php

@@ -48,7 +48,7 @@ class Ins_Gem extends Object_ext {
      * 构造函数
      * @param type $args
      */
-    public function __construct($args) {
+    public function __construct($args = null) {
         if($args !=null){
             parent::__construct($args);
         }