diff --git a/package.json b/package.json
index 85eeadc..723b4d5 100644
--- a/package.json
+++ b/package.json
@@ -1,8 +1,8 @@
{
"name": "ruoyi",
"version": "3.6.2",
- "description": "后台管理系统",
- "author": "hainayun",
+ "description": "智聪后台管理系统",
+ "author": "intc",
"license": "MIT",
"scripts": {
"dev": "vite",
@@ -29,7 +29,7 @@
"@editorjs/paragraph": "^2.11.4",
"@editorjs/quote": "^2.6.0",
"@editorjs/table": "^2.3.0",
- "@element-plus/icons-vue": "^2.0.10",
+ "@element-plus/icons-vue": "2.3.1",
"@fullcalendar/bootstrap5": "^6.1.14",
"@fullcalendar/core": "^6.1.14",
"@fullcalendar/daygrid": "^6.1.14",
@@ -60,11 +60,17 @@
"prettier": "^2.8.4",
"prettier-eslint": "^15.0.1",
"save": "^2.9.0",
- "video.js": "^8.9.0",
+ "video.js": "^7.4.1",
"videojs-contrib-hls": "^5.15.0",
"vue": "3.2.45",
"vue-cropper": "1.0.3",
"vue-router": "4.1.4",
+ "sockjs-client": "^1.6.1",
+ "stompjs": "^2.3.3",
+ "benz-amr-recorder": "^1.1.5",
+ "@smallwei/avue": "^3.5.1",
+ "vue-video-player": "^6.0.0",
+ "@vueup/vue-quill": "1.2.0",
"wangeditor5-for-vue3": "^1.0.0"
},
"devDependencies": {
diff --git a/src/api/wxma/wxuser.js b/src/api/wxma/wxuser.js
new file mode 100644
index 0000000..05d365f
--- /dev/null
+++ b/src/api/wxma/wxuser.js
@@ -0,0 +1,45 @@
+/**
+ * Copyright (C) 2018-2019
+ * All rights reserved, Designed By www.joolun.com
+ * 注意:
+ * 本软件为www.joolun.com开发研制,项目使用请保留此说明
+ */
+import request from '@/utils/request'
+
+export function getPage(query) {
+ return request({
+ url: '/weixin/wxuser/page',
+ method: 'get',
+ params: query
+ })
+}
+
+export function addObj(obj) {
+ return request({
+ url: '/weixin/wxuser',
+ method: 'post',
+ data: obj
+ })
+}
+
+export function getObj(id) {
+ return request({
+ url: '/weixin/wxuser/' + id,
+ method: 'get'
+ })
+}
+
+export function delObj(id) {
+ return request({
+ url: '/weixin/wxuser/' + id,
+ method: 'delete'
+ })
+}
+
+export function putObj(obj) {
+ return request({
+ url: '/weixin/wxuser',
+ method: 'put',
+ data: obj
+ })
+}
diff --git a/src/api/wxmp/wxautoreply.js b/src/api/wxmp/wxautoreply.js
new file mode 100644
index 0000000..3b0ff3e
--- /dev/null
+++ b/src/api/wxmp/wxautoreply.js
@@ -0,0 +1,62 @@
+/*
+MIT License
+
+Copyright (c) 2020 www.joolun.com
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+import request from '@/utils/request'
+
+export function getPage(query) {
+ return request({
+ url: '/weixin/wxautoreply/page',
+ method: 'get',
+ params: query
+ })
+}
+
+export function addObj(obj) {
+ return request({
+ url: '/weixin/wxautoreply',
+ method: 'post',
+ data: obj
+ })
+}
+
+export function getObj(id) {
+ return request({
+ url: '/weixin/wxautoreply/' + id,
+ method: 'get'
+ })
+}
+
+export function delObj(id) {
+ return request({
+ url: '/weixin/wxautoreply/' + id,
+ method: 'delete'
+ })
+}
+
+export function putObj(obj) {
+ return request({
+ url: '/weixin/wxautoreply',
+ method: 'put',
+ data: obj
+ })
+}
diff --git a/src/api/wxmp/wxdraft.js b/src/api/wxmp/wxdraft.js
new file mode 100644
index 0000000..1029bd2
--- /dev/null
+++ b/src/api/wxmp/wxdraft.js
@@ -0,0 +1,70 @@
+/*
+MIT License
+
+Copyright (c) 2020 www.joolun.com
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+import request from '@/utils/request'
+
+export function getPage(query) {
+ return request({
+ url: '/weixin/wxdraft/page',
+ method: 'get',
+ params: query
+ })
+}
+
+export function addObj(obj) {
+ return request({
+ url: '/weixin/wxdraft',
+ method: 'post',
+ data: obj
+ })
+}
+
+export function getObj(id) {
+ return request({
+ url: '/weixin/wxdraft/' + id,
+ method: 'get'
+ })
+}
+
+export function delObj(query) {
+ return request({
+ url: '/weixin/wxdraft',
+ method: 'delete',
+ params: query
+ })
+}
+
+export function putObj(obj) {
+ return request({
+ url: '/weixin/wxdraft',
+ method: 'put',
+ data: obj
+ })
+}
+
+export function publish(id) {
+ return request({
+ url: '/weixin/wxdraft/publish/' + id,
+ method: 'post'
+ })
+}
diff --git a/src/api/wxmp/wxfreepublish.js b/src/api/wxmp/wxfreepublish.js
new file mode 100644
index 0000000..6d9cca4
--- /dev/null
+++ b/src/api/wxmp/wxfreepublish.js
@@ -0,0 +1,40 @@
+/*
+MIT License
+
+Copyright (c) 2020 www.joolun.com
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+import request from '@/utils/request'
+
+export function getPage(query) {
+ return request({
+ url: '/weixin/freepublish/page',
+ method: 'get',
+ params: query
+ })
+}
+
+export function delObj(query) {
+ return request({
+ url: '/weixin/freepublish',
+ method: 'delete',
+ params: query
+ })
+}
diff --git a/src/api/wxmp/wxmaterial.js b/src/api/wxmp/wxmaterial.js
new file mode 100644
index 0000000..a4f7368
--- /dev/null
+++ b/src/api/wxmp/wxmaterial.js
@@ -0,0 +1,89 @@
+/*
+MIT License
+
+Copyright (c) 2020 www.joolun.com
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+import request from '@/utils/request'
+
+export function getPage(query) {
+ return request({
+ url: '/weixin/wxmaterial/page',
+ method: 'get',
+ params: query
+ })
+}
+
+export function addObj(obj) {
+ return request({
+ url: '/weixin/wxmaterial/materialNews',
+ method: 'post',
+ data: obj
+ })
+}
+
+export function getObj(id) {
+ return request({
+ url: '/weixin/wxmaterial/' + id,
+ method: 'get'
+ })
+}
+
+export function delObj(query) {
+ return request({
+ url: '/weixin/wxmaterial',
+ method: 'delete',
+ params: query
+ })
+}
+
+export function putObj(obj) {
+ return request({
+ url: '/weixin/wxmaterial',
+ method: 'put',
+ data: obj
+ })
+}
+
+export function getMaterialOther(query) {
+ return request({
+ url: '/weixin/wxmaterial/materialOther',
+ method: 'get',
+ params: query,
+ responseType: 'blob'
+ })
+}
+
+export function getMaterialVideo(query) {
+ return request({
+ url: '/weixin/wxmaterial/materialVideo',
+ method: 'get',
+ params: query
+ })
+}
+
+export function getTempMaterialOther(query) {
+ return request({
+ url: '/weixin/wxmaterial/tempMaterialOther',
+ method: 'get',
+ params: query,
+ responseType: 'blob'
+ })
+}
diff --git a/src/api/wxmp/wxmenu.js b/src/api/wxmp/wxmenu.js
new file mode 100644
index 0000000..d3b00cc
--- /dev/null
+++ b/src/api/wxmp/wxmenu.js
@@ -0,0 +1,55 @@
+/*
+MIT License
+
+Copyright (c) 2020 www.joolun.com
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+import request from '@/utils/request'
+
+export function save(obj) {
+ return request({
+ url: '/weixin/wxmenu',
+ method: 'post',
+ data: obj
+ })
+}
+
+export function saveAndRelease(obj) {
+ return request({
+ url: '/weixin/wxmenu/release',
+ method: 'post',
+ data: obj
+ })
+}
+
+export function getList(query) {
+ return request({
+ url: '/weixin/wxmenu/list',
+ method: 'get',
+ params: query
+ })
+}
+
+export function delByRuleId(ruleId) {
+ return request({
+ url: '/weixin/wxmenu/' + ruleId,
+ method: 'delete'
+ })
+}
diff --git a/src/api/wxmp/wxmsg.js b/src/api/wxmp/wxmsg.js
new file mode 100644
index 0000000..2702915
--- /dev/null
+++ b/src/api/wxmp/wxmsg.js
@@ -0,0 +1,62 @@
+/*
+MIT License
+
+Copyright (c) 2020 www.joolun.com
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+import request from '@/utils/request'
+
+export function getPage(query) {
+ return request({
+ url: '/weixin/wxmsg/page',
+ method: 'get',
+ params: query
+ })
+}
+
+export function addObj(obj) {
+ return request({
+ url: '/weixin/wxmsg',
+ method: 'post',
+ data: obj
+ })
+}
+
+export function getObj(id) {
+ return request({
+ url: '/weixin/wxmsg/' + id,
+ method: 'get'
+ })
+}
+
+export function delObj(id) {
+ return request({
+ url: '/weixin/wxmsg/' + id,
+ method: 'delete'
+ })
+}
+
+export function putObj(obj) {
+ return request({
+ url: '/weixin/wxmsg',
+ method: 'put',
+ data: obj
+ })
+}
diff --git a/src/api/wxmp/wxsummary.js b/src/api/wxmp/wxsummary.js
new file mode 100644
index 0000000..e968196
--- /dev/null
+++ b/src/api/wxmp/wxsummary.js
@@ -0,0 +1,48 @@
+/*
+MIT License
+
+Copyright (c) 2020 www.joolun.com
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+import request from '@/utils/request'
+
+export function getUserSummary(query) {
+ return request({
+ url: '/weixin/wxsummary/usersummary',
+ method: 'get',
+ params: query
+ })
+}
+
+export function getUserCumulate(query) {
+ return request({
+ url: '/weixin/wxsummary/usercumulate',
+ method: 'get',
+ params: query
+ })
+}
+
+export function getInterfaceSummary(query) {
+ return request({
+ url: '/weixin/wxsummary/interfacesummary',
+ method: 'get',
+ params: query
+ })
+}
diff --git a/src/api/wxmp/wxuser.js b/src/api/wxmp/wxuser.js
new file mode 100644
index 0000000..df140f9
--- /dev/null
+++ b/src/api/wxmp/wxuser.js
@@ -0,0 +1,86 @@
+/*
+MIT License
+
+Copyright (c) 2020 www.joolun.com
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+import request from '@/utils/request'
+
+export function getPage(query) {
+ return request({
+ url: '/weixin/wxuser/page',
+ method: 'get',
+ params: query
+ })
+}
+
+export function addObj(obj) {
+ return request({
+ url: '/weixin/wxuser',
+ method: 'post',
+ data: obj
+ })
+}
+
+export function getObj(id) {
+ return request({
+ url: '/weixin/wxuser/' + id,
+ method: 'get'
+ })
+}
+
+export function delObj(id) {
+ return request({
+ url: '/weixin/wxuser/' + id,
+ method: 'delete'
+ })
+}
+
+export function putObj(obj) {
+ return request({
+ url: '/weixin/wxuser',
+ method: 'put',
+ data: obj
+ })
+}
+
+export function synchroWxUser(obj) {
+ return request({
+ url: '/weixin/wxuser/synchron',
+ method: 'post',
+ data: obj
+ })
+}
+
+export function updateRemark(obj) {
+ return request({
+ url: '/weixin/wxuser/remark',
+ method: 'put',
+ data: obj
+ })
+}
+
+export function tagging(obj) {
+ return request({
+ url: '/weixin/wxuser/tagid-list',
+ method: 'put',
+ data: obj
+ })
+}
diff --git a/src/api/wxmp/wxusertags.js b/src/api/wxmp/wxusertags.js
new file mode 100644
index 0000000..7acc487
--- /dev/null
+++ b/src/api/wxmp/wxusertags.js
@@ -0,0 +1,56 @@
+/*
+MIT License
+
+Copyright (c) 2020 www.joolun.com
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+import request from '@/utils/request'
+
+export function getList(query) {
+ return request({
+ url: '/weixin/wxusertags/list',
+ method: 'get',
+ params: query
+ })
+}
+
+export function addObj(obj) {
+ return request({
+ url: '/weixin/wxusertags',
+ method: 'post',
+ data: obj
+ })
+}
+
+export function putObj(obj) {
+ return request({
+ url: '/weixin/wxusertags',
+ method: 'put',
+ data: obj
+ })
+}
+
+export function delObj(query) {
+ return request({
+ url: '/weixin/wxusertags',
+ method: 'delete',
+ params: query
+ })
+}
diff --git a/src/components/WxEditor/WxEditor.vue b/src/components/WxEditor/WxEditor.vue
new file mode 100644
index 0000000..4756b98
--- /dev/null
+++ b/src/components/WxEditor/WxEditor.vue
@@ -0,0 +1,257 @@
+
+