fix: 新增公众号管理相关页面,引入配置文件修改。

This commit is contained in:
tianyongbao
2025-01-09 15:25:49 +08:00
parent 6dc87b0067
commit bb0823e751
46 changed files with 8735 additions and 98 deletions

45
src/api/wxma/wxuser.js Normal file
View File

@@ -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
})
}

View File

@@ -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
})
}

70
src/api/wxmp/wxdraft.js Normal file
View File

@@ -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'
})
}

View File

@@ -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
})
}

View File

@@ -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'
})
}

55
src/api/wxmp/wxmenu.js Normal file
View File

@@ -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'
})
}

62
src/api/wxmp/wxmsg.js Normal file
View File

@@ -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
})
}

48
src/api/wxmp/wxsummary.js Normal file
View File

@@ -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
})
}

86
src/api/wxmp/wxuser.js Normal file
View File

@@ -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
})
}

View File

@@ -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
})
}