vue3+webman后台管理系统

旧城·离人·半城烟

感谢likeadmin作者,此项目基于likeadmin的thinkphp6版本修改而来
likeadmin文档地址:https://www.likeadmin.cn/
后端git地址:https://gitee.com/MuZJun/gather-admin.git
前端git地址:https://gitee.com/MuZJun/gather-vue.git
thinkphp6多应用请求接口/admin/auth.admin/myself,但是webman不是这样请求的,需要改成/admin/auth/admin/myself(其他接口也是这样)
前端配置复制.env.development.example成文件.env.development

NODE_ENV = 'development'

# Base API
VITE_APP_BASE_URL='http://127.0.0.1:8787'  //这里为你后端请求接口地址



特点

  • curd 一键生成正式支持...
  • 支持多种主题切换,界面美观
  • 前台基于vue3前端开发
  • 复用TP6框架ORM 以及其他功能
  • 使用require.js 自动加载
  • UI组件化,只需要写函数成就表单
  • 适用范围:可以开发OA、ERP、BPM、CRM、WMS、TMS、MIS、BI、电商平台后台、物流管理系统、快递管理系统、教务管理系统等各类管理软件。

更新

  • 生成密码改成哈希密码(md5带参数生成的密码易被破解)
  • 修改前端清除缓存放在header头部
9666 17 13
17个评论

runtom

棒!!!

  • 暂无评论
uspear

插个眼,等更新

  • 暂无评论
Pawan

该怎么运行该项目呢

liudada1204


登录的时候报错 http://127.0.0.1:8787/admin/auth.admin/mySelf 请求的这个地址有问题,是我哪儿没有配置对吗

chenzx023

6666

xfzhy

8 E:\MyProject\vue3+webman+likeadmin\adminPHP\vendor\workerman\workerman\Worker.php(2467): Workerman\Events\Select->loop()

9 E:\MyProject\vue3+webman+likeadmin\adminPHP\vendor\workerman\workerman\Worker.php(1453): Workerman\Worker->run()

10 E:\MyProject\vue3+webman+likeadmin\adminPHP\vendor\workerman\workerman\Worker.php(1396): Workerman\Worker::forkWorkersForWindows()

11 E:\MyProject\vue3+webman+likeadmin\adminPHP\vendor\workerman\workerman\Worker.php(560): Workerman\Worker::forkWorkers()

12 E:\MyProject\vue3+webman+likeadmin\adminPHP\vendor\workerman\webman-framework\src\support\App.php(124): Workerman\Worker::runAll()

13 E:\MyProject\vue3+webman+likeadmin\adminPHP\start.php(4): support\App::run()

14 {main}

E:\MyProject\vue3+webman+likeadmin\adminPHP>

xiaowu

这个支持curd生成代码吗

liudada1204

插个眼,等更新

  • 暂无评论
最好

大佬你好,我想问下这个版本和官方tp6版本的likeadmin相比还有哪些功能没做呀,目前这个版本有用到生产环境上吗

tyt

插个眼,等更新!

  • 暂无评论
tyt

likeadmin快一年 没有更新,有没有 更详细的文档,能让 小白 轻松上车的。

  • 暂无评论
xiewen_kevin

mark

  • 暂无评论
suyibk

https://gitee.com/suyibk/workman-likeadmin-all.git
改进了些+微信开发包+redis队列+慢链接方案+代码生成器

  • 暂无评论
royjun

{
"code": 500,
"msg": "PDO::__construct(): Argument #2 ($username) must be of type ?string, bool given",
"traces": "TypeError: PDO::__construct(): Argument #2 ($username) must be of type ?string, bool given in /www/wwwroot/console/gather-admin-master/vendor/topthink/think-orm/src/db/PDOConnection.php:594\nStack trace:\n#0 /www/wwwroot/console/gather-admin-master/vendor/topthink/think-orm/src/db/PDOConnection.php(594): PDO->__construct()\n#1 /www/wwwroot/console/gather-admin-master/vendor/topthink/think-orm/src/db/PDOConnection.php(555): think\db\PDOConnection->createPdo()\n#2 /www/wwwroot/console/gather-admin-master/vendor/topthink/think-orm/src/db/PDOConnection.php(1705): think\db\PDOConnection->connect()\n#3 /www/wwwroot/console/gather-admin-master/vendor/topthink/think-orm/src/db/PDOConnection.php(753): think\db\PDOConnection->initConnect()\n#4 /www/wwwroot/console/gather-admin-master/vendor/topthink/think-orm/src/db/connector/Mysql.php(66): think\db\PDOConnection->getPDOStatement()\n#5 /www/wwwroot/console/gather-admin-master/vendor/topthink/think-orm/src/db/PDOConnection.php(422): think\db\connector\Mysql->getFields()\n#6 /www/wwwroot/console/gather-admin-master/vendor/topthink/think-orm/src/db/PDOConnection.php(362): think\db\PDOConnection->getTableFieldsInfo()\n#7 /www/wwwroot/console/gather-admin-master/vendor/topthink/think-orm/src/db/PDOConnection.php(409): think\db\PDOConnection->getSchemaInfo()\n#8 /www/wwwroot/console/gather-admin-master/vendor/topthink/think-orm/src/db/PDOConnection.php(493): think\db\PDOConnection->getTableInfo()\n#9 /www/wwwroot/console/gather-admin-master/vendor/topthink/think-orm/src/db/concern/TableFieldInfo.php(58): think\db\PDOConnection->getFieldsType()\n#10 /www/wwwroot/console/gather-admin-master/vendor/topthink/think-orm/src/db/concern/TableFieldInfo.php(69): think\db\Query->getFieldsType()\n#11 [internal function]: think\db\Query->getFieldType()\n#12 /www/wwwroot/console/gather-admin-master/vendor/topthink/think-orm/src/Model.php(1045): call_user_func_array()\n#13 /www/wwwroot/console/gather-admin-master/vendor/topthink/think-orm/src/model/concern/TimeStamp.php(73): think\Model->__call()\n#14 /www/wwwroot/console/gather-admin-master/vendor/topthink/think-orm/src/model/concern/TimeStamp.php(54): think\Model->checkTimeFieldType()\n#15 /www/wwwroot/console/gather-admin-master/vendor/topthink/think-orm/src/DbManager.php(106): think\Model->isAutoWriteTimestamp()\n#16 [internal function]: think\DbManager->think\{closure}()\n#17 /www/wwwroot/console/gather-admin-master/vendor/topthink/think-orm/src/Model.php(242): call_user_func()\n#18 /www/wwwroot/console/gather-admin-master/vendor/topthink/think-orm/src/Model.php(1054): think\Model->__construct()\n#19 /www/wwwroot/console/gather-admin-master/app/common/cache/AdminTokenCache.php(53): think\Model::__callStatic()\n#20 /www/wwwroot/console/gather-admin-master/app/common/cache/AdminTokenCache.php(33): app\common\cache\AdminTokenCache->setAdminInfo()\n#21 /www/wwwroot/console/gather-admin-master/app/admin/middleware/LoginMiddleware.php(38): app\common\cache\AdminTokenCache->getAdminInfo()\n#22 /www/wwwroot/console/gather-admin-master/vendor/workerman/webman-framework/src/App.php(311): app\admin\middleware\LoginMiddleware->process()\n#23 /www/wwwroot/console/gather-admin-master/app/admin/middleware/InitMiddleware.php(33): Webman\App::Webman\{closure}()\n#24 /www/wwwroot/console/gather-admin-master/vendor/workerman/webman-framework/src/App.php(311): app\admin\middleware\InitMiddleware->process()\n#25 /www/wwwroot/console/gather-admin-master/app/common/http/middleware/AdminAllowMiddleware.php(41): Webman\App::Webman\{closure}()\n#26 /www/wwwroot/console/gather-admin-master/vendor/workerman/webman-framework/src/App.php(311): app\common\http\middleware\AdminAllowMiddleware->process()\n#27 /www/wwwroot/console/gather-admin-master/vendor/workerman/webman-framework/src/App.php(122): Webman\App::Webman\{closure}()\n#28 /www/wwwroot/console/gather-admin-master/vendor/workerman/workerman/Connection/TcpConnection.php(646): Webman\App->onMessage()\n#29 /www/wwwroot/console/gather-admin-master/vendor/workerman/workerman/Events/Select.php(311): Workerman\Connection\TcpConnection->baseRead()\n#30 /www/wwwroot/console/gather-admin-master/vendor/workerman/workerman/Worker.php(2467): Workerman\Events\Select->loop()\n#31 /www/wwwroot/console/gather-admin-master/vendor/workerman/workerman/Worker.php(1578): Workerman\Worker->run()\n#32 /www/wwwroot/console/gather-admin-master/vendor/workerman/workerman/Worker.php(1420): Workerman\Worker::forkOneWorkerForLinux()\n#33 /www/wwwroot/console/gather-admin-master/vendor/workerman/workerman/Worker.php(1394): Workerman\Worker::forkWorkersForLinux()\n#34 /www/wwwroot/console/gather-admin-master/vendor/workerman/workerman/Worker.php(560): Workerman\Worker::forkWorkers()\n#35 /www/wwwroot/console/gather-admin-master/vendor/workerman/webman-framework/src/support/App.php(124): Workerman\Worker::runAll()\n#36 /www/wwwroot/console/gather-admin-master/start.php(4): support\App::run()\n#37 {main}"
}一直是这个错误

  • 暂无评论
royjun

stream_socket_server(): Unable to connect to tcp://0.0.0.0:8787 (Address already in use) in file /www/wwwroot/console/gather-admin-master/vendor/workerman/workerman/Worker.php on line 2294
PHP Fatal error: Uncaught Exception: Address already in use in /www/wwwroot/console/gather-admin-master/vendor/workerman/workerman/Worker.php:2296
Stack trace:

0 /www/wwwroot/console/gather-admin-master/vendor/workerman/workerman/Worker.php(700): Workerman\Worker->listen()

1 /www/wwwroot/console/gather-admin-master/vendor/workerman/workerman/Worker.php(555): Workerman\Worker::initWorkers()

2 /www/wwwroot/console/gather-admin-master/vendor/workerman/webman-framework/src/support/App.php(124): Workerman\Worker::runAll()

3 /www/wwwroot/console/gather-admin-master/start.php(4): support\App::run()

4 {main}

thrown in /www/wwwroot/console/gather-admin-master/vendor/workerman/workerman/Worker.php on line 2296

Fatal error: Uncaught Exception: Address already in use in /www/wwwroot/console/gather-admin-master/vendor/workerman/workerman/Worker.php on line 2296

Exception: Address already in use in /www/wwwroot/console/gather-admin-master/vendor/workerman/workerman/Worker.php on line 2296

Call Stack:
0.0002 389160 1. {main}() /www/wwwroot/console/gather-admin-master/start.php:0
0.0075 807744 2. support\App::run() /www/wwwroot/console/gather-admin-master/start.php:4
0.0553 1837456 3. Workerman\Worker::runAll() /www/wwwroot/console/gather-admin-master/vendor/workerman/webman-framework/src/support/App.php:124
0.0560 1874608 4. Workerman\Worker::initWorkers() /www/wwwroot/console/gather-admin-master/vendor/workerman/workerman/Worker.php:555
0.0561 1874688 5. Workerman\Worker->listen() /www/wwwroot/console/gather-admin-master/vendor/workerman/workerman/Worker.php:700

  • 暂无评论
wocall

这个跟官方的admin有何不同?

  • 兔白白 2024-08-05

    官方的是 vue+thinkphp 楼主这个是 vue+webman 主要是更换了后台

兔白白

截图
截图
好奇怪。 明明已经配置了后台接口路径了。 而且 直接访问接口 是可以访问有数据的, 但是前端项目还是有报错。

http://127.0.0.1:8787/admin/config/getConfig 是有数据的

旧城·离人·半城烟

856
积分
0
获赞数
0
粉丝数
2019-12-04 加入
×
🔝