Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
3ca6cea6ad | ||
![]() |
8f65a2bf99 | ||
![]() |
5ab1b77e0b | ||
![]() |
d787a6ad95 |
@@ -26,14 +26,6 @@
|
||||
|
||||
我深信,付费后台管理系统将为您带来更多的价值和便利,帮助您提升工作效率
|
||||
|
||||
## 桌面端(付费)
|
||||
如果需要桌面端后台,使用 `Electron` 技术栈。可以联系微信咨询
|
||||
|
||||
<img src="wechat.png" width="200"/>
|
||||
|
||||
## ⚠️Thinkphp 用户注意
|
||||
由于新版本使用 `Laravel` 开发,所以请使用 `thinkphp` 分支或者 tag2.6.2,thinkphp 版本已经非常稳定了。
|
||||
|
||||
## 功能
|
||||
- [x] 用户管理 后台用户管理
|
||||
- [x] 部门管理 配置公司的部门结构,支持树形结构
|
||||
|
@@ -14,15 +14,14 @@
|
||||
"php": "^8.2",
|
||||
"ext-pdo": "*",
|
||||
"ext-zip": "*",
|
||||
"guzzlehttp/guzzle": "^7.8.1",
|
||||
"laravel/framework": "^v11.36.1",
|
||||
"laravel/tinker": "^v2.9.0",
|
||||
"catchadmin/core": "^0.4.2"
|
||||
"laravel/framework": "^v12.8.1",
|
||||
"laravel/tinker": "^v2.10.1",
|
||||
"catchadmin/core": "^0.4.5"
|
||||
},
|
||||
"require-dev": {
|
||||
"fakerphp/faker": "^v1.23.1",
|
||||
"mockery/mockery": "^1.6.9",
|
||||
"pestphp/pest": "^v2.34.2"
|
||||
"fakerphp/faker": "^v1.24.1",
|
||||
"mockery/mockery": "^1.6.12",
|
||||
"pestphp/pest": "^v3.7.2"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
@@ -53,6 +52,10 @@
|
||||
"post-create-project-cmd": [
|
||||
"@php artisan key:generate --ansi"
|
||||
],
|
||||
"dev": [
|
||||
"Composer\\Config::disableProcessTimeout",
|
||||
"npx concurrently -c \"#93c5fd,#c4b5fd\" \"cd web && yarn dev\" \"php artisan serve\" --names='vite,server'"
|
||||
],
|
||||
"cs-diff": "./fixer/vendor/bin/php-cs-fixer fix --dry-run --diff",
|
||||
"cs": "./fixer/vendor/bin/php-cs-fixer fix"
|
||||
},
|
||||
@@ -71,4 +74,4 @@
|
||||
},
|
||||
"minimum-stability": "dev",
|
||||
"prefer-stable": true
|
||||
}
|
||||
}
|
@@ -12,10 +12,12 @@ class Schemas implements OptionInterface
|
||||
{
|
||||
$options = [];
|
||||
|
||||
$tablePrefix = DB::connection()->getTablePrefix();
|
||||
$connection = DB::connection();
|
||||
$databaseName = $connection->getDatabaseName();
|
||||
$tablePrefix = $connection->getTablePrefix();
|
||||
|
||||
foreach (Schema::getTables() as $table) {
|
||||
$tableName = Str::of($table['name'])->remove($tablePrefix);
|
||||
foreach (Schema::getTables($databaseName) as $table) {
|
||||
$tableName = Str::of($table['name'])->replaceStart($tablePrefix, '');
|
||||
|
||||
$options[] = [
|
||||
'label' => $tableName . "\t\t\t\t" . $table['comment'],
|
||||
|
Reference in New Issue
Block a user