where(['site_id' =>\think\Session::get("user_site_id")]); } } public function setUploadtimeAttr($value) { return strtotime($value); } }