mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-11 18:42:54 +00:00
no msg
This commit is contained in:
parent
9ffc3520e7
commit
2ad5ccabec
@ -37,7 +37,18 @@ class IndexController extends InvokeController
|
|||||||
*/
|
*/
|
||||||
public function main()
|
public function main()
|
||||||
{
|
{
|
||||||
return view('main', ['version' => Base::getVersion()]);
|
$hash = 'no';
|
||||||
|
$path = public_path('js/hash');
|
||||||
|
if (file_exists($path)) {
|
||||||
|
$hash = trim(file_get_contents(public_path('js/hash')));
|
||||||
|
if (strlen($hash) > 16) {
|
||||||
|
$hash = 'long';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return view('main', [
|
||||||
|
'version' => Base::getVersion(),
|
||||||
|
'hash' => $hash
|
||||||
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -3,11 +3,12 @@
|
|||||||
|
|
||||||
namespace App\Tasks;
|
namespace App\Tasks;
|
||||||
|
|
||||||
|
|
||||||
use App\Models\ProjectTask;
|
use App\Models\ProjectTask;
|
||||||
use App\Module\Base;
|
use App\Module\Base;
|
||||||
use Carbon\Carbon;
|
use Carbon\Carbon;
|
||||||
|
|
||||||
|
@error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING);
|
||||||
|
|
||||||
class OverdueRemindEmailTask extends AbstractTask
|
class OverdueRemindEmailTask extends AbstractTask
|
||||||
{
|
{
|
||||||
public function __construct()
|
public function __construct()
|
||||||
|
|||||||
1
cmd
1
cmd
@ -96,6 +96,7 @@ run_compile() {
|
|||||||
if [ "$type" = "prod" ]; then
|
if [ "$type" = "prod" ]; then
|
||||||
rm -rf "./public/js/build"
|
rm -rf "./public/js/build"
|
||||||
npx mix --production
|
npx mix --production
|
||||||
|
echo "$(rand_string 16)" > ./public/js/hash
|
||||||
else
|
else
|
||||||
npx mix watch --hot
|
npx mix watch --hot
|
||||||
fi
|
fi
|
||||||
|
|||||||
2
public/js/app.js
vendored
2
public/js/app.js
vendored
File diff suppressed because one or more lines are too long
2
public/js/build/329.js
vendored
2
public/js/build/329.js
vendored
File diff suppressed because one or more lines are too long
@ -1,5 +1,5 @@
|
|||||||
/*!
|
/*!
|
||||||
* clipboard.js v2.0.8
|
* clipboard.js v2.0.10
|
||||||
* https://clipboardjs.com/
|
* https://clipboardjs.com/
|
||||||
*
|
*
|
||||||
* Licensed MIT © Zeno Rocha
|
* Licensed MIT © Zeno Rocha
|
||||||
|
|||||||
2
public/js/build/408.js
vendored
2
public/js/build/408.js
vendored
File diff suppressed because one or more lines are too long
@ -257,7 +257,7 @@
|
|||||||
/** @license
|
/** @license
|
||||||
*
|
*
|
||||||
* jsPDF - PDF Document creation from JavaScript
|
* jsPDF - PDF Document creation from JavaScript
|
||||||
* Version 2.5.0 Built on 2021-12-21T09:44:51.866Z
|
* Version 2.5.1 Built on 2022-01-28T15:37:57.791Z
|
||||||
* CommitID 00000000
|
* CommitID 00000000
|
||||||
*
|
*
|
||||||
* Copyright (c) 2010-2021 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
|
* Copyright (c) 2010-2021 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
|
||||||
|
|||||||
2
public/js/build/494.js
vendored
2
public/js/build/494.js
vendored
File diff suppressed because one or more lines are too long
2
public/js/build/603.js
vendored
2
public/js/build/603.js
vendored
File diff suppressed because one or more lines are too long
@ -1,5 +1,5 @@
|
|||||||
/*!
|
/*!
|
||||||
* clipboard.js v2.0.8
|
* clipboard.js v2.0.10
|
||||||
* https://clipboardjs.com/
|
* https://clipboardjs.com/
|
||||||
*
|
*
|
||||||
* Licensed MIT © Zeno Rocha
|
* Licensed MIT © Zeno Rocha
|
||||||
|
|||||||
2
public/js/build/643.js
vendored
2
public/js/build/643.js
vendored
File diff suppressed because one or more lines are too long
@ -257,7 +257,7 @@
|
|||||||
/** @license
|
/** @license
|
||||||
*
|
*
|
||||||
* jsPDF - PDF Document creation from JavaScript
|
* jsPDF - PDF Document creation from JavaScript
|
||||||
* Version 2.5.0 Built on 2021-12-21T09:44:51.866Z
|
* Version 2.5.1 Built on 2022-01-28T15:37:57.791Z
|
||||||
* CommitID 00000000
|
* CommitID 00000000
|
||||||
*
|
*
|
||||||
* Copyright (c) 2010-2021 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
|
* Copyright (c) 2010-2021 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
|
||||||
|
|||||||
2
public/js/build/653.js
vendored
2
public/js/build/653.js
vendored
File diff suppressed because one or more lines are too long
@ -257,7 +257,7 @@
|
|||||||
/** @license
|
/** @license
|
||||||
*
|
*
|
||||||
* jsPDF - PDF Document creation from JavaScript
|
* jsPDF - PDF Document creation from JavaScript
|
||||||
* Version 2.5.0 Built on 2021-12-21T09:44:51.866Z
|
* Version 2.5.1 Built on 2022-01-28T15:37:57.791Z
|
||||||
* CommitID 00000000
|
* CommitID 00000000
|
||||||
*
|
*
|
||||||
* Copyright (c) 2010-2021 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
|
* Copyright (c) 2010-2021 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
|
||||||
|
|||||||
2
public/js/build/807.js
vendored
2
public/js/build/807.js
vendored
File diff suppressed because one or more lines are too long
@ -257,7 +257,7 @@
|
|||||||
/** @license
|
/** @license
|
||||||
*
|
*
|
||||||
* jsPDF - PDF Document creation from JavaScript
|
* jsPDF - PDF Document creation from JavaScript
|
||||||
* Version 2.5.0 Built on 2021-12-21T09:44:51.866Z
|
* Version 2.5.1 Built on 2022-01-28T15:37:57.791Z
|
||||||
* CommitID 00000000
|
* CommitID 00000000
|
||||||
*
|
*
|
||||||
* Copyright (c) 2010-2021 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
|
* Copyright (c) 2010-2021 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
|
||||||
|
|||||||
2
public/js/build/856.js
vendored
2
public/js/build/856.js
vendored
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
|||||||
/*! @license DOMPurify 2.3.4 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.3.4/LICENSE */
|
/*! @license DOMPurify 2.3.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.3.6/LICENSE */
|
||||||
|
|||||||
2
public/js/build/954.js
vendored
2
public/js/build/954.js
vendored
File diff suppressed because one or more lines are too long
@ -257,7 +257,7 @@
|
|||||||
/** @license
|
/** @license
|
||||||
*
|
*
|
||||||
* jsPDF - PDF Document creation from JavaScript
|
* jsPDF - PDF Document creation from JavaScript
|
||||||
* Version 2.5.0 Built on 2021-12-21T09:44:51.866Z
|
* Version 2.5.1 Built on 2022-01-28T15:37:57.791Z
|
||||||
* CommitID 00000000
|
* CommitID 00000000
|
||||||
*
|
*
|
||||||
* Copyright (c) 2010-2021 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
|
* Copyright (c) 2010-2021 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
|
||||||
|
|||||||
1
public/js/hash
Normal file
1
public/js/hash
Normal file
@ -0,0 +1 @@
|
|||||||
|
154e2ca9ec5f5f8f
|
||||||
@ -11,7 +11,7 @@
|
|||||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||||
<title>{{ config('app.name', 'WebPage') }}</title>
|
<title>{{ config('app.name', 'WebPage') }}</title>
|
||||||
<link rel="shortcut icon" href="{{ asset_main('favicon.ico') }}">
|
<link rel="shortcut icon" href="{{ asset_main('favicon.ico') }}">
|
||||||
<link rel="stylesheet" type="text/css" href="{{ mix('css/app.css') }}?v={{ $version }}">
|
<link rel="stylesheet" type="text/css" href="{{ mix('css/app.css') }}?v={{ $version }}-{{ $hash }}">
|
||||||
<link rel="stylesheet" type="text/css" href="{{ asset_main('css/iview.css') }}">
|
<link rel="stylesheet" type="text/css" href="{{ asset_main('css/iview.css') }}">
|
||||||
<script src="{{ asset_main('js/language.all.js') }}"></script>
|
<script src="{{ asset_main('js/language.all.js') }}"></script>
|
||||||
<script src="{{ asset_main('js/scroll-into-view.min.js') }}"></script>
|
<script src="{{ asset_main('js/scroll-into-view.min.js') }}"></script>
|
||||||
@ -38,7 +38,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="{{ mix('js/app.js') }}?v={{ $version }}"></script>
|
<script src="{{ mix('js/app.js') }}?v={{ $version }}-{{ $hash }}"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user