assign("v",WSTConf('CONF.wstVersion')); } protected function fetch($template = '', $vars = [], $replace = [], $config = []) { $replace['__ADMIN__'] = str_replace('/index.php','',\think\Request::instance()->root()).'/hyhproject/admin/view'; return $this->view->fetch($template, $vars, $replace, $config); } public function getVerify(){ WSTVerify(); } public function uploadPic(){ return WSTUploadPic(1); } /** * 编辑器上传文件 */ public function editorUpload(){ return WSTEditUpload(1); } }