소스 검색

Update UserModel.class.php

star7th 5 년 전
부모
커밋
6af8986972
1개의 변경된 파일9개의 추가작업 그리고 0개의 파일을 삭제
  1. 9 0
      server/Application/Api/Model/UserModel.class.php

+ 9 - 0
server/Application/Api/Model/UserModel.class.php

@@ -103,4 +103,13 @@ class UserModel extends BaseModel {
 
     }
 
+    public function checkDbOk(){
+        $ret = $this->find() ;
+        if ($ret) {
+            return true; 
+        }else{
+            return false; 
+        }
+    }
+
 }