This commit is contained in:
2023-02-15 14:40:27 +08:00
parent d02cf12370
commit 59cc869bb2
9 changed files with 122 additions and 510 deletions

View File

@@ -24,7 +24,6 @@ class Index extends Base{
if(request()->isAjax()){
return ['code' => 1, 'data' => 'SentOS'];
}else{
$area = \think\facade\Db::name('areas')->select();
return view('/index');
}
}

View File

@@ -13,6 +13,11 @@ use app\services\system\ConfigService;
class Index extends Base{
/**
* @title 系统版本
*
* @return void
*/
public function version(){
$system_info_mysql = \think\facade\Db::query("select version() as v;");
$this->data['data'] = [

View File

@@ -28,7 +28,7 @@
"xin/helper": "1.0",
"topthink/think-migration": "^3.0",
"thans/thinkphp-filesystem-cloud": "^1.0",
"yunwuxin/think-cron": "^3.0"
"yzh52521/schedule": "^1.0"
},
"require-dev": {
"symfony/var-dumper": "^4.2",

613
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -18,7 +18,5 @@ Route::group('/', function(){
Route::rule('auth/user/:action', 'auth.User/:action');
Route::rule('auth/department/:action', 'auth.Department/:action');
Route::rule('auth/role/:action', 'auth.Role/:action');
// Route::rule('tools/filter/:action', 'tools.Filter/:action');
// Route::rule('tools/inspect/:action', 'tools.Inspect/:action');
Route::rule('customer/company/:action', 'customer.Company/:action');
})->middleware([\app\middleware\Check::class], 'api');

View File

@@ -20,7 +20,7 @@ export default {
},
menu: {
myMenus: {
url: `${config.API_URL}system/menu/my/1.5.0`,
url: `${config.API_URL}system/menu/my`,
name: "获取我的菜单",
get: async function(){
return await http.get(this.url);

View File

@@ -12,7 +12,7 @@ const DEFAULT_CONFIG = {
CORE_VER: "1.6.6",
//接口地址
API_URL: "http://127.0.0.1:8000/",
API_URL: "http://127.0.0.1/",
// API_URL: "http://q.dxpd.cn/",
//请求超时
@@ -50,7 +50,7 @@ const DEFAULT_CONFIG = {
COLOR: '',
//是否加密localStorage, 为空不加密可填写AES(模式ECB,移位Pkcs7)加密
LS_ENCRYPTION: '',
LS_ENCRYPTION: 'AES',
//localStorageAES加密秘钥位数建议填写8的倍数
LS_ENCRYPTION_key: '2XNN4K8LC0ELVWN4',

View File

@@ -111,7 +111,7 @@
this.$store.commit("clearViewTags")
this.$store.commit("clearKeepLive")
this.$store.commit("clearIframeList")
console.log('%c SCUI %c Gitee: https://gitee.com/lolicode/scui', 'background:#666;color:#fff;border-radius:3px;', '')
// console.log('%c SCUI %c Gitee: https://gitee.com/lolicode/scui', 'background:#666;color:#fff;border-radius:3px;', '')
},
methods: {
configDark(){

View File

@@ -1,6 +1,7 @@
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
// outputDir: '../web',
//设置为空打包后不分更目录还是多级目录
publicPath:'',
//build编译后存放静态文件的目录