完善打印相关功能
去掉无用的前端文件 修改版权描述
This commit is contained in:
@@ -30,8 +30,8 @@ class ApiController extends Controller
|
||||
$settings['public_url'] = URL::to('/');
|
||||
$settings['upload_file_type'] = $this->setting['upload_type'];
|
||||
$settings['upload_max_size'] = $this->setting['upload_max'];
|
||||
$settings['openSource'] = $this->openSource;
|
||||
|
||||
$settings['realtime'] = not_empty(env('REALTIME_KEY'));
|
||||
|
||||
header('Content-type: text/javascript');
|
||||
echo 'var settings = '. json_encode($settings, JSON_UNESCAPED_UNICODE);
|
||||
exit;
|
||||
|
||||
@@ -27,11 +27,6 @@ class Controller extends BaseController
|
||||
*/
|
||||
public $powered = 'Gdoo';
|
||||
|
||||
/**
|
||||
* @var 是否开源版
|
||||
*/
|
||||
public $openSource = false;
|
||||
|
||||
/**
|
||||
* @var 配置参数
|
||||
*/
|
||||
@@ -79,14 +74,14 @@ class Controller extends BaseController
|
||||
$this->ret = RetService::make();
|
||||
|
||||
View::share([
|
||||
'title' => 'GdooOA',
|
||||
'title' => 'Gdoo',
|
||||
'setting' => $this->setting,
|
||||
'public_url' => URL::to('/'),
|
||||
'upload_url' => URL::to('/uploads'),
|
||||
'static_url' => URL::to('/static'),
|
||||
'asset_url' => URL::to('/assets'),
|
||||
'version' => $this->version,
|
||||
'openSource' => $this->openSource,
|
||||
'licenseType' => env('LICENSE_TYPE'),
|
||||
'resVersion' => $this->resVersion,
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user