作者 燕梦迪

12333

... ... @@ -69,8 +69,7 @@ class BaseModel
* @return
*/
static public function getUid(){
$uid = Session::get('uid');
if(!$uid) $uid = Db::table('kt_base_agent')->where('isadmin',1)->value('id');
$uid = Db::table('kt_base_agent')->where('isadmin',1)->value('id');
return $uid;
}
/**
... ...