소스 검색

宝石构造函数参数=null

cyzhao 1 년 전
부모
커밋
b3af4c6e6a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);
         }