Procházet zdrojové kódy

宝石构造函数参数=null

cyzhao před 1 rokem
rodič
revize
b3af4c6e6a
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      Gameserver/App/model/User/Ins_Gem.php

+ 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);
         }