diff --git a/README.md b/README.md index 61026a1..aa228ec 100644 --- a/README.md +++ b/README.md @@ -3,19 +3,17 @@ #### 介绍 本项目为盒子IM后台管理,主要为盒子IM提供用户管理、群组管理、消息管理、敏感词管理等后台功能。 -盒子IM前台代码地址:https://gitee.com/bluexsx/box-im +缺少后台管理基本不影响盒子IM的业务功能,建议先把业务服务跑起来,再来搭建后台服务: +业务代码地址:https://gitee.com/bluexsx/box-im 详细文档: https://www.yuque.com/u1475064/mufu2a +#### 基于RuoYi-Vue-Plus框架 +为了减少重复工作,达到快速开发目的,本项目选择了一款优秀的开源脚手架RuoYi-Vue-Plus进行二次开发。 -#### 基于maku框架 -为了减少重复工作,达到快速开发目的,本项目选择了一款优秀的开源脚手架-maku进行二次开发。 +RuoYi-Vue-Plus的仓库: +后端:https://gitee.com/dromara/RuoYi-Vue-Plus +前端: https://gitee.com/JavaLionLi/plus-ui -maku的仓库: -https://gitee.com/makunet/maku-boot -https://gitee.com/makunet/maku-admin - -maku的文档: -https://maku.net/docs/maku-boot/index #### 框架改造说明 为了更好地与盒子IM的业务相结合,同时保持代码的简洁性,对ruoyi-vue-plus框架进行了以下改造: @@ -40,11 +38,11 @@ https://maku.net/docs/maku-boot/index 进入 im-admin目录,打开控制台 ``` mvn clean package -java -jar ./maku-server/target/im-admin.jar +java -jar ./ruoyi-admin/target/im-admin.jar ``` 3.启动前端 -进入 maku-admin目录,打开控制台 +进入 im-admin-ui目录,打开控制台 ``` npm install npm run dev @@ -52,15 +50,8 @@ npm run dev 访问 http://localhost:3000 #### 界面截图: -![输入图片说明](%E6%88%AA%E5%9B%BE/1.png) - -![输入图片说明](%E6%88%AA%E5%9B%BE/2.png) - -![输入图片说明](%E6%88%AA%E5%9B%BE/3.png) -![输入图片说明](%E6%88%AA%E5%9B%BE/4.png) -![输入图片说明](%E6%88%AA%E5%9B%BE/5.png) #### 点下star吧 diff --git a/im-admin-ui/.env.development b/im-admin-ui/.env.development index 6755992..59875df 100644 --- a/im-admin-ui/.env.development +++ b/im-admin-ui/.env.development @@ -10,7 +10,7 @@ VITE_APP_BASE_API = '/api' # 应用访问路径 例如使用前缀 /admin/ VITE_APP_CONTEXT_PATH = '/' -VITE_APP_PORT = 80 +VITE_APP_PORT = 3000 # 客户端id VITE_APP_CLIENT_ID = 'e5cd7e4891bf95d1d19206ce24a7b32e' diff --git a/im-admin-ui/.env.production b/im-admin-ui/.env.production index 0e6e762..cac5a59 100644 --- a/im-admin-ui/.env.production +++ b/im-admin-ui/.env.production @@ -8,7 +8,7 @@ VITE_APP_ENV = 'production' VITE_APP_CONTEXT_PATH = '/admin' # 生产环境 -VITE_APP_BASE_API = '/adm/api' +VITE_APP_BASE_API = 'https://www.boxim.online/adm/api' # 客户端id VITE_APP_CLIENT_ID = 'e5cd7e4891bf95d1d19206ce24a7b32e' diff --git a/im-admin-ui/src/components/im/ImSmSelect/index.vue b/im-admin-ui/src/components/im/ImSmSelect/index.vue new file mode 100644 index 0000000..97087d9 --- /dev/null +++ b/im-admin-ui/src/components/im/ImSmSelect/index.vue @@ -0,0 +1,51 @@ + + + diff --git a/im-admin-ui/src/views/im/message/group/index.vue b/im-admin-ui/src/views/im/message/group/index.vue index d056535..827e8dc 100644 --- a/im-admin-ui/src/views/im/message/group/index.vue +++ b/im-admin-ui/src/views/im/message/group/index.vue @@ -41,7 +41,7 @@ - + diff --git a/im-admin-ui/src/views/im/message/private/index.vue b/im-admin-ui/src/views/im/message/private/index.vue index ccdce99..12d62c3 100644 --- a/im-admin-ui/src/views/im/message/private/index.vue +++ b/im-admin-ui/src/views/im/message/private/index.vue @@ -47,7 +47,7 @@ - + diff --git a/im-admin-ui/src/views/im/message/task/SmTaskInfo.vue b/im-admin-ui/src/views/im/message/task/SmTaskInfo.vue new file mode 100644 index 0000000..db66192 --- /dev/null +++ b/im-admin-ui/src/views/im/message/task/SmTaskInfo.vue @@ -0,0 +1,128 @@ + + + diff --git a/im-admin/ruoyi-im/src/main/java/org/dromara/im/service/impl/ImUserServiceImpl.java b/im-admin/ruoyi-im/src/main/java/org/dromara/im/service/impl/ImUserServiceImpl.java index 6ffcd44..800bfee 100644 --- a/im-admin/ruoyi-im/src/main/java/org/dromara/im/service/impl/ImUserServiceImpl.java +++ b/im-admin/ruoyi-im/src/main/java/org/dromara/im/service/impl/ImUserServiceImpl.java @@ -101,7 +101,7 @@ public class ImUserServiceImpl implements IImUserService { LambdaQueryWrapper wrapper = Wrappers.lambdaQuery(); wrapper.like(StringUtils.isNotBlank(bo.getUserName()), ImUser::getUserName, bo.getUserName()); wrapper.like(StringUtils.isNotBlank(bo.getNickName()), ImUser::getNickName, bo.getNickName()); - wrapper.orderByDesc(ImUser::getCreatedTime); + wrapper.orderByDesc(ImUser::getId); return wrapper; } diff --git a/截图/1.jpg b/截图/1.jpg new file mode 100644 index 0000000..944e28b Binary files /dev/null and b/截图/1.jpg differ diff --git a/截图/2.jpg b/截图/2.jpg new file mode 100644 index 0000000..d89797a Binary files /dev/null and b/截图/2.jpg differ diff --git a/截图/3.jpg b/截图/3.jpg new file mode 100644 index 0000000..7ce93ce Binary files /dev/null and b/截图/3.jpg differ diff --git a/截图/4.jpg b/截图/4.jpg new file mode 100644 index 0000000..050b04f Binary files /dev/null and b/截图/4.jpg differ diff --git a/截图/5.jpg b/截图/5.jpg new file mode 100644 index 0000000..db68e0e Binary files /dev/null and b/截图/5.jpg differ