This commit is contained in:
2022-06-13 23:37:17 +08:00
parent d21608a860
commit 0230cb42a2
153 changed files with 62907 additions and 0 deletions

24
includes/user/total.php Normal file
View File

@@ -0,0 +1,24 @@
<?php
namespace user;
class total
{
/**
* 用来显示用户总数的
* @return false|int|mixed
*/
static public function user(){
global $medoo;
return $medoo->count('user_base');
}
/**
* 用来显示部门总数的
* @return false|int|mixed
*/
static public function dep(){
global $medoo;
return $medoo->count('dep_info');
}
}