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