diff --git a/src/api/payment/WechatOpenId.api.ts b/src/api/payment/WechatOpenId.api.ts new file mode 100644 index 0000000000000000000000000000000000000000..6af52a49ea44d5d841fa3a541c15a17dfa80379a --- /dev/null +++ b/src/api/payment/WechatOpenId.api.ts @@ -0,0 +1,65 @@ +import { defHttp } from '/@/utils/http/axios' +import { Result } from '/#/axios' + +/** + * 获取微信授权认证地址 + */ +export function generateWxAuthUrl() { + return defHttp.post>({ + url: '/wechat/auth/generateAuthUrl', + }) +} + +/** + * 查询微信OpenId数据 + */ +export function queryWxOpenId(code: string) { + return defHttp.get>({ + url: '/wechat/auth/queryOpenId', + params: { code }, + }) +} + +/** + * 获取支付宝授权认证地址 + */ +export function generateAliAuthUrl() { + return defHttp.post>({ + url: '/alipay/auth/generateAuthUrl', + }) +} + +/** + * 查询支付宝OpenId + */ +export function queryAliOpenId(code: string) { + return defHttp.get>({ + url: '/alipay/auth/queryOpenId', + params: { code }, + }) +} + +/** + * 微信获取OpenId授权链接和查询标识返回类 + */ +export interface AuthUrlResult { + /** 授权访问链接 */ + authUrl: string + /** 标识码, 用于查询是否获取到了OpenId */ + code: string +} + +/** + * 微信OpenId查询结果 + */ +export interface OpenIdResult { + /** OpenId */ + openId: string + /** + * 状态 + * pending:查询中 + * success:查询成功 + * fail:查询失败 + */ + status: string +} diff --git a/src/assets/payment/alipay.svg b/src/assets/payment/alipay.svg new file mode 100644 index 0000000000000000000000000000000000000000..a6ff5bab02c0436759058fbb9baaf2511dba6c4d --- /dev/null +++ b/src/assets/payment/alipay.svg @@ -0,0 +1 @@ + diff --git a/src/assets/payment/unionPay.svg b/src/assets/payment/unionPay.svg new file mode 100644 index 0000000000000000000000000000000000000000..461825c514cf8c4e214ecf7213a555f60df1e896 --- /dev/null +++ b/src/assets/payment/unionPay.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/payment/wallet.svg b/src/assets/payment/wallet.svg new file mode 100644 index 0000000000000000000000000000000000000000..288ea702e2758ee7451b8f4fbccc708dd204a20d --- /dev/null +++ b/src/assets/payment/wallet.svg @@ -0,0 +1 @@ + diff --git a/src/assets/payment/wechat.svg b/src/assets/payment/wechat.svg new file mode 100644 index 0000000000000000000000000000000000000000..897c246dcabfb949ab48769e7ef29144d9c2e87d --- /dev/null +++ b/src/assets/payment/wechat.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/layouts/default/header/components/index.ts b/src/layouts/default/header/components/index.ts index d1f3d6d69d58db84c768e8b37029244f61a90b10..8b6f10a7a302edc9a0364e025f207b290246ad37 100644 --- a/src/layouts/default/header/components/index.ts +++ b/src/layouts/default/header/components/index.ts @@ -7,8 +7,6 @@ export const UserDropDown = createAsyncComponent(() => import('./user-dropdown/i export const LayoutBreadcrumb = createAsyncComponent(() => import('./Breadcrumb.vue')) -export const Notify = createAsyncComponent(() => import('./notify/index.vue')) - export const ErrorAction = createAsyncComponent(() => import('./ErrorAction.vue')) export { FullScreen } diff --git a/src/layouts/default/header/components/notify/NoticeReader.vue b/src/layouts/default/header/components/notify/NoticeReader.vue deleted file mode 100644 index 1d6c5a45ee96974e049300967ad56ecd38db4933..0000000000000000000000000000000000000000 --- a/src/layouts/default/header/components/notify/NoticeReader.vue +++ /dev/null @@ -1,54 +0,0 @@ - - - - - diff --git a/src/layouts/default/header/components/notify/SiteMessage.api.ts b/src/layouts/default/header/components/notify/SiteMessage.api.ts deleted file mode 100644 index 85b408a3d45c56a7bc4e82c5b4c3043406b2cff2..0000000000000000000000000000000000000000 --- a/src/layouts/default/header/components/notify/SiteMessage.api.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { defHttp } from '/@/utils/http/axios' -import { PageResult, Result } from '/#/axios' -import { SiteMessage } from '/@/views/modules/notice/site/SiteMessage.api' - -/** - * 未读消息数量 - */ -export function countByReceiveNotRead() { - return defHttp.get>({ - url: '/site/message/countByReceiveNotRead', - }) -} - -/** - * 接收站内信消息分页查询 - */ -export function pageByReceive(params) { - return defHttp.get>>({ - url: '/site/message/pageByReceive', - params: params, - }) -} - -/** - * 查看消息 - */ -export function findById(id) { - return defHttp.get>({ - url: '/site/message/findById', - params: { id }, - }) -} - -/** - * 标记为已读 - */ -export function read(id) { - return defHttp.post({ - url: '/site/message/read', - params: { id }, - }) -} diff --git a/src/layouts/default/header/components/notify/SiteMessage.store.ts b/src/layouts/default/header/components/notify/SiteMessage.store.ts deleted file mode 100644 index 80422374673cdeedfe547a2db363a5f11561c2d0..0000000000000000000000000000000000000000 --- a/src/layouts/default/header/components/notify/SiteMessage.store.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { defineStore } from 'pinia' -import { store } from '/@/store' -import { countByReceiveNotRead } from './SiteMessage.api' -import { listenerEvent } from '/@/logics/websocket/WebsocketNotice' -import { WsListenerEnum } from '/@/enums/wsNoticeEnum' - -export const useSiteMessageStore = defineStore({ - id: 'SiteMessageStore', - state: () => ({ - notReadCount: 0, - }), - actions: { - // 更新未读消息数量 - updateNotReadCount() { - countByReceiveNotRead().then(({ data }) => { - this.notReadCount = data - }) - }, - }, -}) -// setup 之外之使用 -export function useSiteMessageStoreWithOut() { - return useSiteMessageStore(store) -} -// 监听 通知消息更新 -listenerEvent(WsListenerEnum.NOTICE_MESSAGE_UPDATE, (event) => { - useSiteMessageStoreWithOut().updateNotReadCount() -}) diff --git a/src/layouts/default/header/components/notify/data.ts b/src/layouts/default/header/components/notify/data.ts deleted file mode 100644 index 5691082c1fee92e4f959fd9b49a62faf679e3b27..0000000000000000000000000000000000000000 --- a/src/layouts/default/header/components/notify/data.ts +++ /dev/null @@ -1,192 +0,0 @@ -export interface ListItem { - id: string - avatar: string - // 通知的标题内容 - title: string - // 是否在标题上显示删除线 - titleDelete?: boolean - datetime: string - type: string - read?: boolean - description: string - clickClose?: boolean - extra?: string - color?: string -} - -export interface TabItem { - key: string - name: string - list: ListItem[] - unreadlist?: ListItem[] -} - -export const tabListData: TabItem[] = [ - { - key: '1', - name: '通知', - list: [ - { - id: '000000001', - avatar: 'https://gw.alipayobjects.com/zos/rmsportal/ThXAXghbEsBCCSDihZxY.png', - title: '你收到了 14 份新周报', - description: '', - datetime: '2017-08-09', - type: '1', - }, - { - id: '000000002', - avatar: 'https://gw.alipayobjects.com/zos/rmsportal/OKJXDXrmkNshAMvwtvhu.png', - title: '你推荐的 曲妮妮 已通过第三轮面试', - description: '', - datetime: '2017-08-08', - type: '1', - }, - { - id: '000000003', - avatar: 'https://gw.alipayobjects.com/zos/rmsportal/kISTdvpyTAhtGxpovNWd.png', - title: '这种模板可以区分多种通知类型', - description: '', - datetime: '2017-08-07', - // read: true, - type: '1', - }, - { - id: '000000004', - avatar: 'https://gw.alipayobjects.com/zos/rmsportal/GvqBnKhFgObvnSGkDsje.png', - title: '左侧图标用于区分不同的类型', - description: '', - datetime: '2017-08-07', - type: '1', - }, - { - id: '000000005', - avatar: 'https://gw.alipayobjects.com/zos/rmsportal/GvqBnKhFgObvnSGkDsje.png', - title: '标题可以设置自动显示省略号,本例中标题行数已设为1行,如果内容超过1行将自动截断并支持tooltip显示完整标题。', - description: '', - datetime: '2017-08-07', - type: '1', - }, - { - id: '000000006', - avatar: 'https://gw.alipayobjects.com/zos/rmsportal/GvqBnKhFgObvnSGkDsje.png', - title: '左侧图标用于区分不同的类型', - description: '', - datetime: '2017-08-07', - type: '1', - }, - { - id: '000000007', - avatar: 'https://gw.alipayobjects.com/zos/rmsportal/GvqBnKhFgObvnSGkDsje.png', - title: '左侧图标用于区分不同的类型', - description: '', - datetime: '2017-08-07', - type: '1', - }, - { - id: '000000008', - avatar: 'https://gw.alipayobjects.com/zos/rmsportal/GvqBnKhFgObvnSGkDsje.png', - title: '左侧图标用于区分不同的类型', - description: '', - datetime: '2017-08-07', - type: '1', - }, - { - id: '000000009', - avatar: 'https://gw.alipayobjects.com/zos/rmsportal/GvqBnKhFgObvnSGkDsje.png', - title: '左侧图标用于区分不同的类型', - description: '', - datetime: '2017-08-07', - type: '1', - }, - { - id: '000000010', - avatar: 'https://gw.alipayobjects.com/zos/rmsportal/GvqBnKhFgObvnSGkDsje.png', - title: '左侧图标用于区分不同的类型', - description: '', - datetime: '2017-08-07', - type: '1', - }, - ], - }, - { - key: '2', - name: '消息', - list: [ - { - id: '000000006', - avatar: 'https://gw.alipayobjects.com/zos/rmsportal/fcHMVNCjPOsbUGdEduuv.jpeg', - title: '曲丽丽 评论了你', - description: '描述信息描述信息描述信息', - datetime: '2017-08-07', - type: '2', - clickClose: true, - }, - { - id: '000000007', - avatar: 'https://gw.alipayobjects.com/zos/rmsportal/fcHMVNCjPOsbUGdEduuv.jpeg', - title: '朱偏右 回复了你', - description: '这种模板用于提醒谁与你发生了互动', - datetime: '2017-08-07', - type: '2', - clickClose: true, - }, - { - id: '000000008', - avatar: 'https://gw.alipayobjects.com/zos/rmsportal/fcHMVNCjPOsbUGdEduuv.jpeg', - title: '标题', - description: - '请将鼠标移动到此处,以便测试超长的消息在此处将如何处理。本例中设置的描述最大行数为2,超过2行的描述内容将被省略并且可以通过tooltip查看完整内容', - datetime: '2017-08-07', - type: '2', - clickClose: true, - }, - ], - }, - { - key: '3', - name: '待办', - list: [ - { - id: '000000009', - avatar: '', - title: '任务名称', - description: '任务需要在 2017-01-12 20:00 前启动', - datetime: '', - extra: '未开始', - color: '', - type: '3', - }, - { - id: '000000010', - avatar: '', - title: '第三方紧急代码变更', - description: '冠霖 需在 2017-01-07 前完成代码变更任务', - datetime: '', - extra: '马上到期', - color: 'red', - type: '3', - }, - { - id: '000000011', - avatar: '', - title: '信息安全考试', - description: '指派竹尔于 2017-01-09 前完成更新并发布', - datetime: '', - extra: '已耗时 8 天', - color: 'gold', - type: '3', - }, - { - id: '000000012', - avatar: '', - title: 'ABCD 版本发布', - description: '指派竹尔于 2017-01-09 前完成更新并发布', - datetime: '', - extra: '进行中', - color: 'blue', - type: '3', - }, - ], - }, -] diff --git a/src/layouts/default/header/components/notify/index.vue b/src/layouts/default/header/components/notify/index.vue deleted file mode 100644 index d4090cffd81485b4ee33e41f9db6f69503338789..0000000000000000000000000000000000000000 --- a/src/layouts/default/header/components/notify/index.vue +++ /dev/null @@ -1,102 +0,0 @@ - - - diff --git a/src/layouts/default/header/index.vue b/src/layouts/default/header/index.vue index d347580a2e66aec7117139bb3e7f5ee605aab789..3fc03230fdd9ddce65b19d2fdb6586dfb9c110d4 100644 --- a/src/layouts/default/header/index.vue +++ b/src/layouts/default/header/index.vue @@ -25,8 +25,6 @@ - - @@ -57,7 +55,7 @@ import { SettingButtonPositionEnum } from '/@/enums/appEnum' import { AppLocalePicker } from '/@/components/Application' - import { UserDropDown, LayoutBreadcrumb, FullScreen, Notify, ErrorAction } from './components' + import { UserDropDown, LayoutBreadcrumb, FullScreen, ErrorAction } from './components' import { useAppInject } from '/@/hooks/web/useAppInject' import { useDesign } from '/@/hooks/web/useDesign' @@ -75,7 +73,6 @@ UserDropDown, // AppLocalePicker, FullScreen, - Notify, AppSearch, ErrorAction, SettingDrawer: createAsyncComponent(() => import('/@/layouts/default/setting/index.vue'), { diff --git a/src/locales/lang/zh-CN/sys.ts b/src/locales/lang/zh-CN/sys.ts index a11819a9ab42ba3372371b84dce466528fe2e06b..f441fae104e53b67b36683823095c785a789ef74 100644 --- a/src/locales/lang/zh-CN/sys.ts +++ b/src/locales/lang/zh-CN/sys.ts @@ -61,7 +61,6 @@ export default { backSignIn: '返回', signInFormTitle: '登录', mobileSignInFormTitle: '手机登录', - qrSignInFormTitle: '二维码登录', signUpFormTitle: '注册', forgetFormTitle: '重置密码', diff --git a/src/router/routes/project.ts b/src/router/routes/project.ts index 249ab480944ab40d642e0202e554b6495e15ca27..ed45e25765c60642720de23c64dd3ccc20f98bfd 100644 --- a/src/router/routes/project.ts +++ b/src/router/routes/project.ts @@ -25,12 +25,6 @@ export const INTERNAL: AppRouteModule = { component: () => import('/@/views/sys/about/index.vue'), meta: { title: '关于' }, }, - { - path: '/person/siteMessage', - name: 'PersonSiteMessage', - component: () => import('/@/views/modules/notice/site/receive/SiteMessageList.vue'), - meta: { title: '站内信(收)' }, - }, ], } diff --git a/src/views/account/bind/AccountBind.vue b/src/views/account/bind/AccountBind.vue deleted file mode 100644 index 4c9322a956fed47b96b33b0a25396496a6d6e8fd..0000000000000000000000000000000000000000 --- a/src/views/account/bind/AccountBind.vue +++ /dev/null @@ -1,182 +0,0 @@ - - - diff --git a/src/views/account/bind/WeChatQrBind.vue b/src/views/account/bind/WeChatQrBind.vue deleted file mode 100644 index 4c2a85ab1e76790733606790d5019b0fc949287a..0000000000000000000000000000000000000000 --- a/src/views/account/bind/WeChatQrBind.vue +++ /dev/null @@ -1,107 +0,0 @@ - - - - - diff --git a/src/views/account/security/EmailBind.vue b/src/views/account/security/EmailBind.vue deleted file mode 100644 index c5331e947b32d6c530ee031ef7534e5e4e550464..0000000000000000000000000000000000000000 --- a/src/views/account/security/EmailBind.vue +++ /dev/null @@ -1,130 +0,0 @@ - - - - - diff --git a/src/views/account/security/EmailEdit.vue b/src/views/account/security/EmailEdit.vue deleted file mode 100644 index 3e6bfa9faf4d60bf54db0ae04feea70f412a6187..0000000000000000000000000000000000000000 --- a/src/views/account/security/EmailEdit.vue +++ /dev/null @@ -1,195 +0,0 @@ - - - - - diff --git a/src/views/account/security/PhoneBind.vue b/src/views/account/security/PhoneBind.vue deleted file mode 100644 index 34422e2dfce33f8dece99394dfb2c657caebd8b2..0000000000000000000000000000000000000000 --- a/src/views/account/security/PhoneBind.vue +++ /dev/null @@ -1,126 +0,0 @@ - - - - - diff --git a/src/views/account/security/PhoneEdit.vue b/src/views/account/security/PhoneEdit.vue deleted file mode 100644 index 46aae235ef8411832022c25aed170f53b3e29d84..0000000000000000000000000000000000000000 --- a/src/views/account/security/PhoneEdit.vue +++ /dev/null @@ -1,190 +0,0 @@ - - - - - diff --git a/src/views/account/security/SecureSetting.vue b/src/views/account/security/SecureSetting.vue index 9d60b05eb00de3cda9db2d53f6ec0a52c2c1a9a8..700681b94cc1b8233c9e57415cf58772d731c178 100644 --- a/src/views/account/security/SecureSetting.vue +++ b/src/views/account/security/SecureSetting.vue @@ -14,59 +14,11 @@ 修改 - - - - - - - - - - - - - - - - diff --git a/src/views/account/setting/data.ts b/src/views/account/setting/data.ts index c89ee819abf4e2fcec58a6d79dd29e72729882e6..f28c706ddb92326d6445bc8ac501d38087e24a9b 100644 --- a/src/views/account/setting/data.ts +++ b/src/views/account/setting/data.ts @@ -1,8 +1,5 @@ -import { FormSchema } from '/@/components/Form' import BaseSetting from './BaseSetting.vue' import SecureSetting from '../security/SecureSetting.vue' -import AccountBind from '../bind/AccountBind.vue' -import MsgNotify from './MsgNotify.vue' export interface ListItem { key: string @@ -25,28 +22,4 @@ export const settingList = [ name: '安全设置', component: SecureSetting, }, - { - key: '3', - name: '账号绑定', - component: AccountBind, - }, -] - -// 新消息通知 list -export const msgNotifyList: ListItem[] = [ - { - key: '1', - title: '账户密码', - description: '其他用户的消息将以站内信的形式通知', - }, - { - key: '2', - title: '系统消息', - description: '系统消息将以站内信的形式通知', - }, - { - key: '3', - title: '待办任务', - description: '待办任务将以站内信的形式通知', - }, ] diff --git a/src/views/demo/cashier/Cashier.vue b/src/views/demo/cashier/Cashier.vue index 7a7fb3990e3edae896dd9165ba882e549499d756..9c0dfe26304ec25b1ff109762845c7a8a210d85e 100644 --- a/src/views/demo/cashier/Cashier.vue +++ b/src/views/demo/cashier/Cashier.vue @@ -1,5 +1,6 @@ @@ -80,7 +68,6 @@ import { findLoginTypeByCode, LoginType } from '/@/api/common/LoginAssist' import { FormInstance, Rule } from 'ant-design-vue/lib/form' import { LoginParams } from '/@/api/sys/model/userModel' - import ThirdLogin from '/@/views/login/third/ThirdLogin.vue' const { notification } = useMessage() const { prefixCls } = useDesign('login') diff --git a/src/views/login/MobileForm.vue b/src/views/login/MobileForm.vue deleted file mode 100644 index 5c635b3859ba0801cfd496e1d67e77b3aa52d00f..0000000000000000000000000000000000000000 --- a/src/views/login/MobileForm.vue +++ /dev/null @@ -1,113 +0,0 @@ - - diff --git a/src/views/login/QrCodeForm.vue b/src/views/login/QrCodeForm.vue deleted file mode 100644 index 46dd0cf586c224edc94128aebabe9e9c59d7761c..0000000000000000000000000000000000000000 --- a/src/views/login/QrCodeForm.vue +++ /dev/null @@ -1,92 +0,0 @@ - - diff --git a/src/views/login/third/OpenIdLoginType.ts b/src/views/login/third/OpenIdLoginType.ts deleted file mode 100644 index 54ac7d57ecd1e0877970c7817903747fa2ae5c54..0000000000000000000000000000000000000000 --- a/src/views/login/third/OpenIdLoginType.ts +++ /dev/null @@ -1,10 +0,0 @@ -// 钉钉 -export const DING_TALK = 'dingTalk' -// 微信(公众号) -export const WE_CHAT = 'weChat' -// 微信(开放平台) -export const WE_CHAT_OPEN = 'weChatOpen' -// 企业微信 -export const WE_COM = 'weCom' -// QQ -export const QQ = 'qq' diff --git a/src/views/login/third/ThirdLogin.vue b/src/views/login/third/ThirdLogin.vue deleted file mode 100644 index 442cb8fa4b109f2f101a65e28f5ba2eb70124c4c..0000000000000000000000000000000000000000 --- a/src/views/login/third/ThirdLogin.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - - - diff --git a/src/views/login/useLogin.ts b/src/views/login/useLogin.ts index 2d977e0644878e4e38edc465c94ecb8d620f5506..2ce2059dd4c3f68c796390b3a4efd251ee912e99 100644 --- a/src/views/login/useLogin.ts +++ b/src/views/login/useLogin.ts @@ -5,7 +5,6 @@ export enum LoginStateEnum { REGISTER, RESET_PASSWORD, MOBILE, - QR_CODE, } const currentState = ref(LoginStateEnum.LOGIN) diff --git a/src/views/modules/baseapi/chianword/ChinaWord.api.ts b/src/views/modules/baseapi/chianword/ChinaWord.api.ts deleted file mode 100644 index 5e7d8aed53e5852e7e276564988482b91d7d421a..0000000000000000000000000000000000000000 --- a/src/views/modules/baseapi/chianword/ChinaWord.api.ts +++ /dev/null @@ -1,106 +0,0 @@ -import { defHttp } from '/@/utils/http/axios' -import { PageResult, Result } from '/#/axios' -import { BaseEntity } from '/#/web' - -/** - * 分页 - */ -export function page(params) { - return defHttp.get>>({ - url: '/chinaword/page', - params, - }) -} - -/** - * 查询全部 - */ -export function findAll() { - return defHttp.get>({ - url: '/chinaword/findAll', - }) -} - -/** - * 获取单条 - */ -export function get(id) { - return defHttp.get>({ - url: '/chinaword/findById', - params: { id }, - }) -} - -/** - * 添加 - */ -export function add(obj: ChinaWord) { - return defHttp.post({ - url: '/chinaword/add', - data: obj, - }) -} - -/** - * 更新 - */ -export function update(obj: ChinaWord) { - return defHttp.post({ - url: '/chinaword/update', - data: obj, - }) -} - -/** - * 刷新缓存 - */ -export function refresh() { - return defHttp.post({ - url: '/chinaword/refresh', - }) -} - -/** - * 更新 - */ -export function verify(obj: any) { - return defHttp.post({ - url: '/chinaword/verify', - data: obj, - }) -} - -/** - * 删除 - */ -export function del(id) { - return defHttp.delete({ - url: '/chinaword/delete', - params: { id }, - }) -} -/** - * 批量删除 - */ -export function deleteBatch(ids) { - return defHttp.delete({ - url: '/chinaword/deleteBatch', - params: ids, - }) -} - -/** - * 敏感词黑名单 - */ -export interface ChinaWord extends BaseEntity { - // 敏感词 - word?: string - // 类型 - type?: string - // 描述 - description?: string - // 是否启用 - enable?: boolean - // 是否是白名单 - white?: boolean | string -} diff --git a/src/views/modules/baseapi/chianword/ChinaWordEdit.vue b/src/views/modules/baseapi/chianword/ChinaWordEdit.vue deleted file mode 100644 index e0b62ca2560350702139790ba4c25dc36670a1b3..0000000000000000000000000000000000000000 --- a/src/views/modules/baseapi/chianword/ChinaWordEdit.vue +++ /dev/null @@ -1,147 +0,0 @@ - - - - - diff --git a/src/views/modules/baseapi/chianword/ChinaWordList.vue b/src/views/modules/baseapi/chianword/ChinaWordList.vue deleted file mode 100644 index e820bb733044930a4fc45843f30a80b1744f7ed6..0000000000000000000000000000000000000000 --- a/src/views/modules/baseapi/chianword/ChinaWordList.vue +++ /dev/null @@ -1,262 +0,0 @@ - - - - - diff --git a/src/views/modules/baseapi/chianword/ChinaWordVerify.vue b/src/views/modules/baseapi/chianword/ChinaWordVerify.vue deleted file mode 100644 index 24d1c9da80b8c73ea363fc7b417b4943cf861059..0000000000000000000000000000000000000000 --- a/src/views/modules/baseapi/chianword/ChinaWordVerify.vue +++ /dev/null @@ -1,103 +0,0 @@ - - - - - diff --git a/src/views/modules/develop/codegen/CodeGen.api.ts b/src/views/modules/develop/codegen/CodeGen.api.ts deleted file mode 100644 index 90dd553350af73f21745687bf350ab53e94b9c54..0000000000000000000000000000000000000000 --- a/src/views/modules/develop/codegen/CodeGen.api.ts +++ /dev/null @@ -1,72 +0,0 @@ -import { defHttp } from '/@/utils/http/axios' -import { PageResult, Result } from '/#/axios' - -/** - * 分页 - */ -export const page = (params) => { - return defHttp.get>>({ - url: '/gen/table/page', - params: params, - }) -} - -/** - * 获取表相关的代码生成参数信息 - */ -export function getTableGenParam(dataSourceCode, tableName) { - return defHttp.get>({ - url: '/gen/table/getTableGenParam', - params: { dataSourceCode, tableName }, - }) -} - -/** - * 预览 - */ -export function codeGenPreview(obj) { - return defHttp.get>({ - url: '/gen/code/codeGenPreview', - data: obj, - }) -} - -/** - * 下载 - */ -export function genCodeZip(obj) { - return defHttp.post({ - url: '/gen/code/genCodeZip', - responseType: 'blob', - data: obj, - }) -} - -/** - * 表信息 - */ -export interface DatabaseTable { - // 表名 - tableName: string - // 引擎类型 - engine: string - // 表表述 - tableComment: string - // 创建时间 - createTime: string -} - -/** - * 代码生成相关参数信息 - */ -export interface TableGenParam { - // 实体类名称(大驼峰) - entityName: string - // 功能模块名称(全小写) - module: string -} - -export interface DataSource { - value: string - label: string -} diff --git a/src/views/modules/develop/codegen/CodeGenForm.vue b/src/views/modules/develop/codegen/CodeGenForm.vue deleted file mode 100644 index 76ea8c0ca42cba0c8c86d773393feaedda3cdc3c..0000000000000000000000000000000000000000 --- a/src/views/modules/develop/codegen/CodeGenForm.vue +++ /dev/null @@ -1,167 +0,0 @@ - - - - - diff --git a/src/views/modules/develop/codegen/CodeGenList.vue b/src/views/modules/develop/codegen/CodeGenList.vue deleted file mode 100644 index 23a66b9ced45cf6c834576198ef4dd22b99c5b0c..0000000000000000000000000000000000000000 --- a/src/views/modules/develop/codegen/CodeGenList.vue +++ /dev/null @@ -1,115 +0,0 @@ - - - - - diff --git a/src/views/modules/develop/codegen/CodeGenPreview.vue b/src/views/modules/develop/codegen/CodeGenPreview.vue deleted file mode 100644 index 2b112b58c23c1429f8abd43f2ecf98c17c77c169..0000000000000000000000000000000000000000 --- a/src/views/modules/develop/codegen/CodeGenPreview.vue +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/src/views/modules/develop/dataresult/DataResultSql.api.ts b/src/views/modules/develop/dataresult/DataResultSql.api.ts deleted file mode 100644 index 4fcb13a3844bef204439cf741e86594c1ff76cfd..0000000000000000000000000000000000000000 --- a/src/views/modules/develop/dataresult/DataResultSql.api.ts +++ /dev/null @@ -1,82 +0,0 @@ -import { defHttp } from '/@/utils/http/axios' -import { PageResult, Result } from '/#/axios' -import { BaseEntity } from '/#/web' - -/** - * 分页 - */ -export function page(params) { - return defHttp.get>>({ - url: '/data/result/page', - params, - }) -} - -/** - * 查询全部 - */ -export function findAll() { - return defHttp.get>({ - url: '/data/result/findAll', - }) -} - -/** - * 获取单条 - */ -export function get(id) { - return defHttp.get>({ - url: '/data/result/findById', - params: { id }, - }) -} - -/** - * 添加 - */ -export function add(obj: QuerySql) { - return defHttp.post({ - url: '/data/result/add', - data: obj, - }) -} - -/** - * 更新 - */ -export function update(obj: QuerySql) { - return defHttp.post({ - url: '/data/result/update', - data: obj, - }) -} - -/** - * 删除 - */ -export function del(id) { - return defHttp.delete({ - url: '/data/result/delete', - params: { id }, - }) -} - -/** - * SQL查询语句 - */ -export interface QuerySql extends BaseEntity { - // 数据源ID - databaseId?: string - // 名称 - name?: string - // sql语句 - sql?: string - // 是否集合 - isList?: boolean - // SQL查询参数 - params?: string - // SQL查询结果字段 - fields?: string - // 备注 - remark?: string -} diff --git a/src/views/modules/develop/dataresult/DataResultSqlEdit.vue b/src/views/modules/develop/dataresult/DataResultSqlEdit.vue deleted file mode 100644 index 115ec05afbac50251db97437663fe4eb132de512..0000000000000000000000000000000000000000 --- a/src/views/modules/develop/dataresult/DataResultSqlEdit.vue +++ /dev/null @@ -1,133 +0,0 @@ - - - - - diff --git a/src/views/modules/develop/dataresult/DataResultSqlList.vue b/src/views/modules/develop/dataresult/DataResultSqlList.vue deleted file mode 100644 index 9621b701838b1100c64c38ece649a6258e8e88b3..0000000000000000000000000000000000000000 --- a/src/views/modules/develop/dataresult/DataResultSqlList.vue +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - diff --git a/src/views/modules/develop/dynamicform/DynamicDesign.vue b/src/views/modules/develop/dynamicform/DynamicDesign.vue deleted file mode 100644 index 34c85aa91bbb673e7e83f90df099766696209284..0000000000000000000000000000000000000000 --- a/src/views/modules/develop/dynamicform/DynamicDesign.vue +++ /dev/null @@ -1,47 +0,0 @@ - - - - - diff --git a/src/views/modules/develop/dynamicform/DynamicForm.api.ts b/src/views/modules/develop/dynamicform/DynamicForm.api.ts deleted file mode 100644 index d3e816c1a6a12b4dc97491c93d6f674a253aa2a6..0000000000000000000000000000000000000000 --- a/src/views/modules/develop/dynamicform/DynamicForm.api.ts +++ /dev/null @@ -1,92 +0,0 @@ -import { defHttp } from '/@/utils/http/axios' -import { PageResult, Result } from '/#/axios' -import { BaseEntity } from '/#/web' - -/** - * 分页 - */ -export const page = (params) => { - return defHttp.get>>({ - url: '/dynamic/form/page', - params, - }) -} - -/** - * 获取单条 - */ -export const get = (id) => { - return defHttp.get>({ - url: '/dynamic/form/findById', - params: { id }, - }) -} - -/** - * 添加 - */ -export const add = (obj: DynamicForm) => { - return defHttp.post({ - url: '/dynamic/form/add', - data: obj, - }) -} - -/** - * 更新 - */ -export const update = (obj: DynamicForm) => { - return defHttp.post({ - url: '/dynamic/form/update', - data: obj, - }) -} - -/** - * 删除 - */ -export const del = (id) => { - return defHttp.delete({ - url: '/dynamic/form/delete', - params: { id }, - }) -} - -/** - * 查询全部 - */ -export const findAll = () => { - return defHttp.get>>({ - url: '/dynamic/form/findAll', - }) -} - -/** - * 编码是否存在 - */ -export function existsByCode(code) { - return defHttp.get>({ - url: '/dynamic/form/existsByCode', - params: { code }, - }) -} -export function existsByCodeNotId(code, id) { - return defHttp.get>({ - url: '/dynamic/form/existsByCodeNotId', - params: { code, id }, - }) -} - -/** - * 动态表单 - */ -export interface DynamicForm extends BaseEntity { - // 表单名称 - name: string - // 表单键名 - code: string - // 表单内容 - value?: string - // 备注 - remark: string -} diff --git a/src/views/modules/develop/dynamicform/DynamicFormEdit.vue b/src/views/modules/develop/dynamicform/DynamicFormEdit.vue deleted file mode 100644 index 69263b6375042500646aaff564a9718555417abc..0000000000000000000000000000000000000000 --- a/src/views/modules/develop/dynamicform/DynamicFormEdit.vue +++ /dev/null @@ -1,127 +0,0 @@ - - - - - diff --git a/src/views/modules/develop/dynamicform/DynamicFormList.vue b/src/views/modules/develop/dynamicform/DynamicFormList.vue deleted file mode 100644 index e71acd207e95fa7b151c5f8764bdecf61f62b62b..0000000000000000000000000000000000000000 --- a/src/views/modules/develop/dynamicform/DynamicFormList.vue +++ /dev/null @@ -1,169 +0,0 @@ - - - - - diff --git a/src/views/modules/develop/dynamicform/DynamicPreview.vue b/src/views/modules/develop/dynamicform/DynamicPreview.vue deleted file mode 100644 index 739ff327f5444db07de8b72b839358fd70c9c5f9..0000000000000000000000000000000000000000 --- a/src/views/modules/develop/dynamicform/DynamicPreview.vue +++ /dev/null @@ -1,165 +0,0 @@ - - - - - diff --git a/src/views/modules/develop/dynamicsource/DataSourceList.vue b/src/views/modules/develop/dynamicsource/DataSourceList.vue deleted file mode 100644 index e8ccc4ee2d6103d0f62faad2ef9cb1e5380feba6..0000000000000000000000000000000000000000 --- a/src/views/modules/develop/dynamicsource/DataSourceList.vue +++ /dev/null @@ -1,61 +0,0 @@ - - - - - diff --git a/src/views/modules/develop/dynamicsource/DynamicDataSource.api.ts b/src/views/modules/develop/dynamicsource/DynamicDataSource.api.ts deleted file mode 100644 index 7357359c1c3daba114d5bd55f0a5fd5b48726351..0000000000000000000000000000000000000000 --- a/src/views/modules/develop/dynamicsource/DynamicDataSource.api.ts +++ /dev/null @@ -1,194 +0,0 @@ -import { defHttp } from '/@/utils/http/axios' -import { PageResult, Result } from '/#/axios' -import { BaseEntity, KeyValue } from '/#/web' -import { LabeledValue } from 'ant-design-vue/lib/select' - -/** - * 分页 - */ -export const page = (params) => { - return defHttp.get>>({ - url: '/dynamic/source/page', - params, - }) -} - -/** - * 获取单条 - */ -export const get = (id) => { - return defHttp.get>({ - url: '/dynamic/source/findById', - params: { id }, - }) -} - -/** - * 添加 - */ -export const add = (obj: DynamicDataSource) => { - return defHttp.post({ - url: '/dynamic/source/add', - data: obj, - }) -} - -/** - * 更新 - */ -export const update = (obj: DynamicDataSource) => { - return defHttp.post({ - url: '/dynamic/source/update', - data: obj, - }) -} - -/** - * 测试连接 - */ -export const testConnection = (obj: DynamicDataSource) => { - return defHttp.post>({ - url: '/dynamic/source/testConnection', - data: obj, - }) -} - -/** - * 测试连接 - */ -export const testConnectionById = (id) => { - return defHttp.get>({ - url: '/dynamic/source/testConnectionById', - params: { id }, - }) -} - -/** - * 根据id进行添加到连接池中 - */ -export const addDynamicDataSourceById = (id) => { - return defHttp.post>({ - url: '/dynamic/source/addDynamicDataSourceById', - params: { id }, - }) -} - -/** - * 判断编码是否被使用 - */ -export const existsByCode = (id) => { - return defHttp.get>({ - url: '/dynamic/source/existsByCode', - params: { id }, - }) -} - -/** - * 判断编码是否被使用 - */ -export const existsByCodeNotId = (code, id) => { - return defHttp.get>({ - url: '/dynamic/source/existsByCodeNotId', - params: { id, code }, - }) -} -/** - * 判断是否已经添加到连接池中 - */ -export const existsByDataSourceKey = (code) => { - return defHttp.get>({ - url: '/dynamic/source/existsByDataSourceKey', - params: { code }, - }) -} - -/** - * 删除 - */ -export const del = (id) => { - return defHttp.delete({ - url: '/dynamic/source/delete', - params: { id }, - }) -} - -/** - * 查询全部 - */ -export const findAll = () => { - return defHttp.get>>({ - url: '/dynamic/source/findAll', - }) -} - -/** - * 查询当前数据源列表 - */ -export const findAllDataSource = () => { - return defHttp.get>({ - url: '/dynamic/source/findAllDataSource', - }) -} - -/** - * 从数据源列表中删除指定数据源 - */ -export const removeDataSourceByKey = (key) => { - return defHttp.delete({ - url: '/dynamic/source/removeDataSourceByKey', - params: { key }, - }) -} - -/** - * 动态数据源管理 - */ -export interface DynamicDataSource extends BaseEntity { - // 数据源编码 - code?: string - // 数据源名称 - name?: string - // 数据库类型 - databaseType?: string - // 驱动类 - dbDriver?: string - // 数据源地址 - dbUrl?: string - // 用户名 - dbUsername?: string - // 密码 - dbPassword?: string - // 自动加载 - autoLoad?: boolean - // 备注 - remark?: string -} - -/** - * 数据类型列表 - */ -export const databaseTypes = [ - { value: 'mysql', label: 'MySQL' }, - { value: 'oracle', label: 'Oracle' }, - { value: 'mssql', label: 'SQLServer' }, -] as LabeledValue[] - -/** - * 数据类型关联信息列表 - */ -export // 数据列表 -const databaseTypeMap = { - mysql: { - dbDriver: 'com.mysql.cj.jdbc.Driver', - dbUrl: - 'jdbc:mysql://127.0.0.1:3306/bootx?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai', - }, - oracle: { - dbDriver: 'oracle.jdbc.OracleDriver', - dbUrl: 'jdbc:oracle:thin:@127.0.0.1:1521:BOOTX', - }, - mssql: { - dbDriver: 'com.microsoft.sqlserver.jdbc.SQLServerDriver', - dbUrl: 'jdbc:mysql://127.0.0.1:3306/bootx?characterEncoding=UTF-8&useUnicode=true&useSSL=false', - }, -} diff --git a/src/views/modules/develop/dynamicsource/DynamicDataSourceEdit.vue b/src/views/modules/develop/dynamicsource/DynamicDataSourceEdit.vue deleted file mode 100644 index 0a18c7c707f689a67367c700223483cb41f1f9fd..0000000000000000000000000000000000000000 --- a/src/views/modules/develop/dynamicsource/DynamicDataSourceEdit.vue +++ /dev/null @@ -1,199 +0,0 @@ - - - - - diff --git a/src/views/modules/develop/dynamicsource/DynamicDataSourceList.vue b/src/views/modules/develop/dynamicsource/DynamicDataSourceList.vue deleted file mode 100644 index 9fbc4ae562661f57924bef4fc15be72fe877aea7..0000000000000000000000000000000000000000 --- a/src/views/modules/develop/dynamicsource/DynamicDataSourceList.vue +++ /dev/null @@ -1,197 +0,0 @@ - - - - - diff --git a/src/views/modules/develop/report/ProjectInfo.api.ts b/src/views/modules/develop/report/ProjectInfo.api.ts deleted file mode 100644 index ab58ff37c47233076c748bdec356fc2c39c6e6dd..0000000000000000000000000000000000000000 --- a/src/views/modules/develop/report/ProjectInfo.api.ts +++ /dev/null @@ -1,128 +0,0 @@ -import { defHttp } from '/@/utils/http/axios' -import { PageResult, Result } from '/#/axios' -import { BaseEntity } from '/#/web' - -/** - * 分页 - */ -export function page(params) { - return defHttp.get>>({ - url: '/goview/admin/page', - params, - }) -} - -/** - * 获取单条 - */ -export function get(id) { - return defHttp.get>({ - url: '/goview/admin/findById', - params: { id }, - }) -} - -/** - * 获取GoView的地址 - */ -export function getGoViewUrl() { - return defHttp.get>({ - url: '/goview/admin/getGoViewUrl', - }) -} - -/** - * 添加 - */ -export function add(obj: ProjectInfo) { - return defHttp.post({ - url: '/goview/admin/add', - data: obj, - }) -} - -/** - * 更新 - */ -export function update(obj: ProjectInfo) { - return defHttp.post({ - url: '/goview/admin/update', - data: obj, - }) -} - -/** - * 发布 - */ -export function publish(id) { - return defHttp.post({ - url: '/goview/admin/publish', - params: { id }, - }) -} - -/** - * 取消发布 - */ -export function unPublish(id) { - return defHttp.post({ - url: '/goview/admin/unPublish', - params: { id }, - }) -} - -/** - * 应用编辑中的信息 - */ -export function enableEditContent(id) { - return defHttp.post({ - url: '/goview/admin/enableEditContent', - params: { id }, - }) -} - -/** - * 重置编辑中的信息 - */ -export function resetEditContent(id) { - return defHttp.post({ - url: '/goview/admin/resetEditContent', - params: { id }, - }) -} - -/** - * 复制 - */ -export function copy(id) { - return defHttp.post({ - url: '/goview/admin/copy', - params: { id }, - }) -} - -/** - * 删除 - */ -export function del(id) { - return defHttp.delete({ - url: '/goview/admin/delete', - params: { id }, - }) -} - -/** - * 自定义大屏信息 - */ -export interface ProjectInfo extends BaseEntity { - // 项目名称 - name?: string - // 发布状态 - state?: number - // 备注 - remark?: string - // 预览图片id - indexImage?: string - // 是否在编辑中 - edit?: boolean -} diff --git a/src/views/modules/develop/report/ProjectInfoEdit.vue b/src/views/modules/develop/report/ProjectInfoEdit.vue deleted file mode 100644 index 91c10f6703d9b86ba042d96c4739d0a55b4db74b..0000000000000000000000000000000000000000 --- a/src/views/modules/develop/report/ProjectInfoEdit.vue +++ /dev/null @@ -1,117 +0,0 @@ - - - - - diff --git a/src/views/modules/develop/report/ProjectInfoList.vue b/src/views/modules/develop/report/ProjectInfoList.vue deleted file mode 100644 index 31aedf76d23793319640bbb35276ee3690e0153f..0000000000000000000000000000000000000000 --- a/src/views/modules/develop/report/ProjectInfoList.vue +++ /dev/null @@ -1,264 +0,0 @@ - - - - - diff --git a/src/views/modules/develop/template/GeneralTemplate.api.ts b/src/views/modules/develop/template/GeneralTemplate.api.ts deleted file mode 100644 index c41b8c1abc1d7cebff3f9941466c92fef088d6e6..0000000000000000000000000000000000000000 --- a/src/views/modules/develop/template/GeneralTemplate.api.ts +++ /dev/null @@ -1,108 +0,0 @@ -import { defHttp } from '/@/utils/http/axios' -import { PageResult, Result } from '/#/axios' -import { BaseEntity } from '/#/web' - -/** - * 分页 - */ -export function page(params) { - return defHttp.get>>({ - url: '/general/template/page', - params, - }) -} - -/** - * 查询全部 - */ -export function findAll() { - return defHttp.get>({ - url: '/general/template/findAll', - }) -} - -/** - * 获取单条 - */ -export function get(id) { - return defHttp.get>({ - url: '/general/template/findById', - params: { id }, - }) -} -/** - * 编码是否被使用 - */ -export const existsByCode = (code) => { - return defHttp.get>({ - url: '/general/template/existsByCode', - params: { code }, - }) -} -export const existsByCodeNotId = (code, id) => { - return defHttp.get>({ - url: '/general/template/existsByCodeNotId', - params: { code, id }, - }) -} -/** - * 添加 - */ -export function add(obj: GeneralTemplate) { - return defHttp.post({ - url: '/general/template/add', - data: obj, - }) -} - -/** - * 更新 - */ -export function update(obj: GeneralTemplate) { - return defHttp.post({ - url: '/general/template/update', - data: obj, - }) -} - -/** - * 删除 - */ -export function del(id) { - return defHttp.delete({ - url: '/general/template/delete', - params: { id }, - }) -} - -/** - * 批量删除 - */ -export function deleteBatch(ids) { - return defHttp.delete({ - url: '/general/template/delete', - data: ids, - }) -} - -/** - * 通用模板管理 - */ -export interface GeneralTemplate extends BaseEntity { - // 模板名称 - name?: string - // 模板代码 - code?: string - // 使用类型(导入/导出) - useType?: string - // 模板类型 - fileType?: string - // 模板后缀名 - fileSuffix?: string - // 状态 - state?: string - // 文件ID - fileId?: string - // 备注 - remark?: string -} diff --git a/src/views/modules/develop/template/GeneralTemplateEdit.vue b/src/views/modules/develop/template/GeneralTemplateEdit.vue deleted file mode 100644 index cb66bc6dbe69a360fc81a7249ecc423cf2d58d83..0000000000000000000000000000000000000000 --- a/src/views/modules/develop/template/GeneralTemplateEdit.vue +++ /dev/null @@ -1,255 +0,0 @@ - - - - - diff --git a/src/views/modules/notice/mail/MailConfig.api.ts b/src/views/modules/notice/mail/MailConfig.api.ts deleted file mode 100644 index 80918b481db92a69fef9802f5d466e41684eb63c..0000000000000000000000000000000000000000 --- a/src/views/modules/notice/mail/MailConfig.api.ts +++ /dev/null @@ -1,114 +0,0 @@ -import { defHttp } from '/@/utils/http/axios' -import { PageResult, Result } from '/#/axios' -import { BaseEntity } from '/#/web' - -/** - * 分页 - */ -export const page = (params) => { - return defHttp.get>>({ - url: '/mail/config/page', - params, - }) -} - -/** - * 获取单条 - */ -export const get = (id) => { - return defHttp.get>({ - url: '/mail/config/findById', - params: { id }, - }) -} - -/** - * 添加 - */ -export const add = (obj: MailConfig) => { - return defHttp.post({ - url: '/mail/config/add', - data: obj, - }) -} - -/** - * 更新 - */ -export const update = (obj: MailConfig) => { - return defHttp.post({ - url: '/mail/config/update', - data: obj, - }) -} - -/** - * 删除 - */ -export const del = (id) => { - return defHttp.delete({ - url: '/mail/config/delete', - params: { id }, - }) -} - -/** - * 查询全部 - */ -export const findAll = () => { - return defHttp.get>>({ - url: '/mail/config/findAll', - }) -} - -/** - * 设置启用的邮箱配置 - */ -export const setUpActivity = (id) => { - return defHttp.post({ - url: '/mail/config/setUpActivity', - params: { id }, - }) -} - -/** - * 编码是否被使用 - */ -export const existsByCode = (code) => { - return defHttp.get>({ - url: '/mail/config/existsByCode', - params: { code }, - }) -} -export const existsByCodeNotId = (code, id) => { - return defHttp.get>({ - url: '/mail/config/existsByCodeNotId', - params: { code, id }, - }) -} - -/** - * 邮件配置 - */ -export interface MailConfig extends BaseEntity { - // 编号 - code: string - // 名称 - name: string - // 邮箱服务器host - host: string - // 邮箱服务器 port - port: number - // 邮箱服务器 username - username: string - // 邮箱服务器 password - password: string - // 邮箱服务器 sender - sender: string - // 邮箱服务器 from - from: string - // 是否默认配置,0:否。1:是 - activity: number - // 安全传输方式 1:plain 2:tls 3:ssl - securityType: number -} diff --git a/src/views/modules/notice/mail/MailConfigEdit.vue b/src/views/modules/notice/mail/MailConfigEdit.vue deleted file mode 100644 index 71728c1908be16c7ed7ab057ff8dba67de17ba3c..0000000000000000000000000000000000000000 --- a/src/views/modules/notice/mail/MailConfigEdit.vue +++ /dev/null @@ -1,198 +0,0 @@ - - - - - diff --git a/src/views/modules/notice/mail/MailConfigList.vue b/src/views/modules/notice/mail/MailConfigList.vue deleted file mode 100644 index 108eac389001c21f6b0786b8a5e0deac28c0771f..0000000000000000000000000000000000000000 --- a/src/views/modules/notice/mail/MailConfigList.vue +++ /dev/null @@ -1,167 +0,0 @@ - - - - - diff --git a/src/views/modules/notice/site/SiteMessage.api.ts b/src/views/modules/notice/site/SiteMessage.api.ts deleted file mode 100644 index ef8e19996b16f408cbb3c92370063cd815e0c97e..0000000000000000000000000000000000000000 --- a/src/views/modules/notice/site/SiteMessage.api.ts +++ /dev/null @@ -1,106 +0,0 @@ -import { defHttp } from '/@/utils/http/axios' -import { BaseEntity } from '/#/web' -import { PageResult, Result } from '/#/axios' - -/** - * 接收站内信消息分页查询 - */ -export function pageByReceive(params) { - return defHttp.get>>({ - url: '/site/message/pageByReceive', - params: params, - }) -} - -/** - * 分页 - */ -export const pageBySender = (params) => { - return defHttp.get>>({ - url: '/site/message/pageBySender', - params, - }) -} - -/** - * 获取单条 - */ -export const get = (id) => { - return defHttp.get>({ - url: '/site/message/findById', - params: { id }, - }) -} - -/** - * 添加或更新 - */ -export const saveOrUpdate = (obj: SiteMessage) => { - return defHttp.post({ - url: '/site/message/saveOrUpdate', - data: obj, - }) -} - -/** - * 删除 - */ -export const del = (id) => { - return defHttp.delete({ - url: '/site/message/delete', - params: { id }, - }) -} - -/** - * 查询全部 - */ -export const findAll = () => { - return defHttp.get>>({ - url: '/site/message/findAll', - }) -} - -/** - * 撤回 - */ -export function cancel(id) { - return defHttp.post({ - url: '/site/message/cancel', - params: { id }, - }) -} - -/** - * 发送 - */ -export function send(id) { - return defHttp.post({ - url: '/site/message/send', - params: { id }, - }) -} - -/** - * 站内信 - */ -export interface SiteMessage extends BaseEntity { - // 消息标题 - title?: string - // 消息内容 - content?: string - // 发送者id - senderId?: string - // 发送者姓名 - senderName?: string - // 发送时间 - senderTime?: string - // 消息类型 - receiveType?: string - // 发布状态 - sendState?: string - // 截至有效期 - efficientTime?: string | null - // 撤回时间 - cancelTime?: string -} diff --git a/src/views/modules/notice/site/receive/SiteMessageList.vue b/src/views/modules/notice/site/receive/SiteMessageList.vue deleted file mode 100644 index d418cf4de7d9752f34f4d41b9b6cd43f54dcf0c1..0000000000000000000000000000000000000000 --- a/src/views/modules/notice/site/receive/SiteMessageList.vue +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - diff --git a/src/views/modules/notice/site/sender/SiteMessageEdit.vue b/src/views/modules/notice/site/sender/SiteMessageEdit.vue deleted file mode 100644 index 173ce31fdb42d0c68978426913ef995fdadaba23..0000000000000000000000000000000000000000 --- a/src/views/modules/notice/site/sender/SiteMessageEdit.vue +++ /dev/null @@ -1,143 +0,0 @@ - - - - - diff --git a/src/views/modules/notice/site/sender/SiteMessageList.vue b/src/views/modules/notice/site/sender/SiteMessageList.vue deleted file mode 100644 index ff15a92055e2b240e229e22c5bc4110e204a3882..0000000000000000000000000000000000000000 --- a/src/views/modules/notice/site/sender/SiteMessageList.vue +++ /dev/null @@ -1,159 +0,0 @@ - - - - - diff --git a/src/views/modules/notice/sms/config/SmsChannelConfig.api.ts b/src/views/modules/notice/sms/config/SmsChannelConfig.api.ts deleted file mode 100644 index 6a7bcf1a8af3c723cdf4ad75472dce7343a0db31..0000000000000000000000000000000000000000 --- a/src/views/modules/notice/sms/config/SmsChannelConfig.api.ts +++ /dev/null @@ -1,86 +0,0 @@ -import { defHttp } from '/@/utils/http/axios' -import { PageResult, Result } from '/#/axios' -import { BaseEntity } from '/#/web' - -/** - * 分页 - */ -export function page(params) { - return defHttp.get>>({ - url: '/sms/config/page', - params, - }) -} - -/** - * 查询全部 - */ -export function findAll() { - return defHttp.get>({ - url: '/sms/config/findAll', - }) -} - -/** - * 获取单条 - */ -export function get(id) { - return defHttp.get>({ - url: '/sms/config/findById', - params: { id }, - }) -} - -/** - * 添加 - */ -export function add(obj: SmsChannelConfig) { - return defHttp.post({ - url: '/sms/config/add', - data: obj, - }) -} - -/** - * 更新 - */ -export function update(obj: SmsChannelConfig) { - return defHttp.post({ - url: '/sms/config/update', - data: obj, - }) -} - -/** - * 删除 - */ -export function del(id) { - return defHttp.delete({ - url: '/sms/config/delete', - params: { id }, - }) -} - -/** - * 短信渠道配置 - */ -export interface SmsChannelConfig extends BaseEntity { - // 渠道类型编码 - code?: string - // 渠道类型名称 - name?: string - // 状态 - state?: string - // AccessKey - accessKey?: string - // AccessSecret - accessSecret?: string - // 配置 - config?: string - // 图片 - image?: string - // 排序 - sortNo?: number - // 备注 - remark?: string -} diff --git a/src/views/modules/notice/sms/config/SmsChannelConfigEdit.vue b/src/views/modules/notice/sms/config/SmsChannelConfigEdit.vue deleted file mode 100644 index 46f023595151f3572a82ee48da5bdbc5c268b563..0000000000000000000000000000000000000000 --- a/src/views/modules/notice/sms/config/SmsChannelConfigEdit.vue +++ /dev/null @@ -1,106 +0,0 @@ - - - - - diff --git a/src/views/modules/notice/sms/config/SmsChannelConfigList.vue b/src/views/modules/notice/sms/config/SmsChannelConfigList.vue deleted file mode 100644 index 1ca7ff8e171cee75d1a8c28d439a4a57baacee85..0000000000000000000000000000000000000000 --- a/src/views/modules/notice/sms/config/SmsChannelConfigList.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - - - diff --git a/src/views/modules/notice/sms/config/channel/SmsAliyunConfig.vue b/src/views/modules/notice/sms/config/channel/SmsAliyunConfig.vue deleted file mode 100644 index d3f0aa9851e706c9b0422dcc29163d4c4b85d3ce..0000000000000000000000000000000000000000 --- a/src/views/modules/notice/sms/config/channel/SmsAliyunConfig.vue +++ /dev/null @@ -1,244 +0,0 @@ - - - - - diff --git a/src/views/modules/notice/sms/config/channel/SmsCloopenConfig.vue b/src/views/modules/notice/sms/config/channel/SmsCloopenConfig.vue deleted file mode 100644 index ad6b5ab6a0fe85aacf56f9f4d7f6a05003a83c12..0000000000000000000000000000000000000000 --- a/src/views/modules/notice/sms/config/channel/SmsCloopenConfig.vue +++ /dev/null @@ -1,214 +0,0 @@ - - - - - diff --git a/src/views/modules/notice/sms/config/channel/SmsCtyunConfig.vue b/src/views/modules/notice/sms/config/channel/SmsCtyunConfig.vue deleted file mode 100644 index f907cf388bc7d69cca638157deac9414633a0055..0000000000000000000000000000000000000000 --- a/src/views/modules/notice/sms/config/channel/SmsCtyunConfig.vue +++ /dev/null @@ -1,230 +0,0 @@ - - - - - diff --git a/src/views/modules/notice/sms/config/channel/SmsEmayConfig.vue b/src/views/modules/notice/sms/config/channel/SmsEmayConfig.vue deleted file mode 100644 index 6fa3cde1fa35b07047819d8e3ad98f6aa6fb1c6d..0000000000000000000000000000000000000000 --- a/src/views/modules/notice/sms/config/channel/SmsEmayConfig.vue +++ /dev/null @@ -1,225 +0,0 @@ - - - - - diff --git a/src/views/modules/notice/sms/config/channel/SmsHuaweiConfig.vue b/src/views/modules/notice/sms/config/channel/SmsHuaweiConfig.vue deleted file mode 100644 index dee21f195c82533d58ab5d38132c6ed866b5735c..0000000000000000000000000000000000000000 --- a/src/views/modules/notice/sms/config/channel/SmsHuaweiConfig.vue +++ /dev/null @@ -1,231 +0,0 @@ - - - - - diff --git a/src/views/modules/notice/sms/config/channel/SmsJdConfig.vue b/src/views/modules/notice/sms/config/channel/SmsJdConfig.vue deleted file mode 100644 index bc8d06970e2e24f34fd74043c0449b2a84732c75..0000000000000000000000000000000000000000 --- a/src/views/modules/notice/sms/config/channel/SmsJdConfig.vue +++ /dev/null @@ -1,219 +0,0 @@ - - - - - diff --git a/src/views/modules/notice/sms/config/channel/SmsNeteaseConfig.vue b/src/views/modules/notice/sms/config/channel/SmsNeteaseConfig.vue deleted file mode 100644 index 86ffe8e24c96739c81acb6124528268346f4deac..0000000000000000000000000000000000000000 --- a/src/views/modules/notice/sms/config/channel/SmsNeteaseConfig.vue +++ /dev/null @@ -1,237 +0,0 @@ - - - - - diff --git a/src/views/modules/notice/sms/config/channel/SmsTencentConfig.vue b/src/views/modules/notice/sms/config/channel/SmsTencentConfig.vue deleted file mode 100644 index 2919d515474da944187150d335481da03ecb7c5f..0000000000000000000000000000000000000000 --- a/src/views/modules/notice/sms/config/channel/SmsTencentConfig.vue +++ /dev/null @@ -1,241 +0,0 @@ - - - - - diff --git a/src/views/modules/notice/sms/config/channel/SmsUniConfig.vue b/src/views/modules/notice/sms/config/channel/SmsUniConfig.vue deleted file mode 100644 index 6ee72d6b3cad082f3cbe1c569110179a25054153..0000000000000000000000000000000000000000 --- a/src/views/modules/notice/sms/config/channel/SmsUniConfig.vue +++ /dev/null @@ -1,214 +0,0 @@ - - - - - diff --git a/src/views/modules/notice/sms/config/channel/SmsYunpianConfig.vue b/src/views/modules/notice/sms/config/channel/SmsYunpianConfig.vue deleted file mode 100644 index 418ee36a285d7645369db34ff15337d4ae67bec4..0000000000000000000000000000000000000000 --- a/src/views/modules/notice/sms/config/channel/SmsYunpianConfig.vue +++ /dev/null @@ -1,222 +0,0 @@ - - - - - diff --git a/src/views/modules/notice/sms/template/SmsTemplate.api.ts b/src/views/modules/notice/sms/template/SmsTemplate.api.ts deleted file mode 100644 index ca00ef261d598f54bad50a633e69fa8573b2d405..0000000000000000000000000000000000000000 --- a/src/views/modules/notice/sms/template/SmsTemplate.api.ts +++ /dev/null @@ -1,76 +0,0 @@ -import { defHttp } from '/@/utils/http/axios' -import { PageResult, Result } from '/#/axios' -import { BaseEntity } from '/#/web' - -/** - * 分页 - */ -export function page(params) { - return defHttp.get>>({ - url: '/sms/template/page', - params, - }) -} - -/** - * 查询全部 - */ -export function findAll() { - return defHttp.get>({ - url: '/sms/template/findAll', - }) -} - -/** - * 获取单条 - */ -export function get(id) { - return defHttp.get>({ - url: '/sms/template/findById', - params: { id }, - }) -} - -/** - * 添加 - */ -export function add(obj: SmsTemplate) { - return defHttp.post({ - url: '/sms/template/add', - data: obj, - }) -} - -/** - * 更新 - */ -export function update(obj: SmsTemplate) { - return defHttp.post({ - url: '/sms/template/update', - data: obj, - }) -} - -/** - * 删除 - */ -export function del(id) { - return defHttp.delete({ - url: '/sms/template/delete', - params: { id }, - }) -} - -/** - * 短信模板配置 - */ -export interface SmsTemplate extends BaseEntity { - // 短信渠道商类型 - supplierType?: string - // 短信渠道商类型 - templateId?: string - // 短信模板名称 - name?: string - // 短信模板内容 - content?: string -} diff --git a/src/views/modules/notice/sms/template/SmsTemplateEdit.vue b/src/views/modules/notice/sms/template/SmsTemplateEdit.vue deleted file mode 100644 index ed5696c3facfb6bef85454156884a62621fac856..0000000000000000000000000000000000000000 --- a/src/views/modules/notice/sms/template/SmsTemplateEdit.vue +++ /dev/null @@ -1,135 +0,0 @@ - - - - - diff --git a/src/views/modules/notice/sms/template/SmsTemplateList.vue b/src/views/modules/notice/sms/template/SmsTemplateList.vue deleted file mode 100644 index 11ac405e58c89e444680f931d6ce1a59d4303d1d..0000000000000000000000000000000000000000 --- a/src/views/modules/notice/sms/template/SmsTemplateList.vue +++ /dev/null @@ -1,149 +0,0 @@ - - - - - diff --git a/src/views/modules/notice/template/MessageTemplate.api.ts b/src/views/modules/notice/template/MessageTemplate.api.ts deleted file mode 100644 index 84175bdf8e1c540a4e965c95b69062569518a3e5..0000000000000000000000000000000000000000 --- a/src/views/modules/notice/template/MessageTemplate.api.ts +++ /dev/null @@ -1,105 +0,0 @@ -import { defHttp } from '/@/utils/http/axios' -import { PageResult, Result } from '/#/axios' -import { BaseEntity } from '/#/web' - -/** - * 分页 - */ -export const page = (params) => { - return defHttp.get>>({ - url: '/message/template/page', - params, - }) -} - -/** - * 获取单条 - */ -export const get = (id) => { - return defHttp.get>({ - url: '/message/template/findById', - params: { id }, - }) -} - -/** - * 添加 - */ -export const add = (obj: MessageTemplate) => { - return defHttp.post({ - url: '/message/template/add', - data: obj, - }) -} - -/** - * 更新 - */ -export const update = (obj: MessageTemplate) => { - return defHttp.post({ - url: '/message/template/update', - data: obj, - }) -} - -/** - * 删除 - */ -export const del = (id) => { - return defHttp.delete({ - url: '/message/template/delete', - params: { id }, - }) -} - -/** - * 查询全部 - */ -export const findAll = () => { - return defHttp.get>>({ - url: '/message/template/findAll', - }) -} - -/** - * 编码是否被使用 - */ -export const existsByCode = (code) => { - return defHttp.get>({ - url: '/message/template/existsByCode', - params: { code }, - }) -} -export const existsByCodeNotId = (code, id) => { - return defHttp.get>({ - url: '/message/template/existsByCodeNotId', - params: { code, id }, - }) -} - -/** - * 渲染 - */ -export function render(code, paramMap) { - return defHttp.post>({ - url: '/message/template/rendering', - params: { code }, - data: { ...paramMap }, - }) -} - -/** - * 消息模板 - */ -export interface MessageTemplate extends BaseEntity { - // 编码 - code?: string - // 名称 - name?: string - // 模板数据 - data?: string - // 模板类型 - type?: number - // 备注 - remark?: string -} diff --git a/src/views/modules/notice/template/MessageTemplateEdit.vue b/src/views/modules/notice/template/MessageTemplateEdit.vue deleted file mode 100644 index 1c51c05d96a4b5f1ff5388d71d84435ffc5471e8..0000000000000000000000000000000000000000 --- a/src/views/modules/notice/template/MessageTemplateEdit.vue +++ /dev/null @@ -1,155 +0,0 @@ - - - - - diff --git a/src/views/modules/notice/template/MessageTemplateList.vue b/src/views/modules/notice/template/MessageTemplateList.vue deleted file mode 100644 index 2e8d5101e4409fc37ac5af520c4e64afa3a7f302..0000000000000000000000000000000000000000 --- a/src/views/modules/notice/template/MessageTemplateList.vue +++ /dev/null @@ -1,148 +0,0 @@ - - - - - diff --git a/src/views/modules/notice/template/TemplateRender.vue b/src/views/modules/notice/template/TemplateRender.vue deleted file mode 100644 index 0e650d8071f96189ca581ce1bbad98a1c55b6a88..0000000000000000000000000000000000000000 --- a/src/views/modules/notice/template/TemplateRender.vue +++ /dev/null @@ -1,79 +0,0 @@ - - - - - diff --git a/src/views/modules/third/dingtalk/robot/DingRobotConfig.api.ts b/src/views/modules/third/dingtalk/robot/DingRobotConfig.api.ts deleted file mode 100644 index 498f662bd4cd15b993347653a66f3f40199ad2bb..0000000000000000000000000000000000000000 --- a/src/views/modules/third/dingtalk/robot/DingRobotConfig.api.ts +++ /dev/null @@ -1,97 +0,0 @@ -import { defHttp } from '/@/utils/http/axios' -import { PageResult, Result } from '/#/axios' -import { BaseEntity } from '/#/web' - -/** - * 分页 - */ -export function page(params) { - return defHttp.get>>({ - url: '/ding/robot/config/page', - params, - }) -} - -/** - * 查询全部 - */ -export function findAll() { - return defHttp.get>({ - url: '/ding/robot/config/findAll', - }) -} - -/** - * 获取单条 - */ -export function get(id) { - return defHttp.get>({ - url: '/ding/robot/config/findById', - params: { id }, - }) -} - -/** - * 添加 - */ -export function add(obj: DingRobotConfig) { - return defHttp.post({ - url: '/ding/robot/config/add', - data: obj, - }) -} - -/** - * 更新 - */ -export function update(obj: DingRobotConfig) { - return defHttp.post({ - url: '/ding/robot/config/update', - data: obj, - }) -} - -/** - * 删除 - */ -export function del(id) { - return defHttp.delete({ - url: '/ding/robot/config/delete', - params: { id }, - }) -} - -/** - * 编码是否被使用 - */ -export function existsByCode(code) { - return defHttp.get>({ - url: '/ding/robot/config/existsByCode', - params: { code }, - }) -} - -export function existsByCodeNotId(code, id) { - return defHttp.get>({ - url: '/ding/robot/config/existsByCodeNotId', - params: { code, id }, - }) -} - -/** - * 钉钉机器人配置 - */ -export interface DingRobotConfig extends BaseEntity { - // 名称 - name: string - // 编号 - code: string - // 钉钉机器人访问token - accessToken: string - // 是否开启验签 - enableSignatureCheck: boolean - // 钉钉机器人私钥 - signSecret: string - // 备注 - remark: string -} diff --git a/src/views/modules/third/dingtalk/robot/DingRobotConfigEdit.vue b/src/views/modules/third/dingtalk/robot/DingRobotConfigEdit.vue deleted file mode 100644 index 83f48ca1f6b79390a9237aa906cbb8d75a5c2812..0000000000000000000000000000000000000000 --- a/src/views/modules/third/dingtalk/robot/DingRobotConfigEdit.vue +++ /dev/null @@ -1,148 +0,0 @@ - - - - - diff --git a/src/views/modules/third/dingtalk/robot/DingRobotConfigList.vue b/src/views/modules/third/dingtalk/robot/DingRobotConfigList.vue deleted file mode 100644 index 7b6b6a1d9db9881414ba37bd3f0b3fd645ad130b..0000000000000000000000000000000000000000 --- a/src/views/modules/third/dingtalk/robot/DingRobotConfigList.vue +++ /dev/null @@ -1,125 +0,0 @@ - - - - - diff --git a/src/views/modules/third/wechat/article/WechatArticleSelect.api.ts b/src/views/modules/third/wechat/article/WechatArticleSelect.api.ts deleted file mode 100644 index b89d36794cec7d9a5930bb5f451ab3b41479d2a7..0000000000000000000000000000000000000000 --- a/src/views/modules/third/wechat/article/WechatArticleSelect.api.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { defHttp } from '/@/utils/http/axios' -import { PageResult, Result } from '/#/axios' - -/** - * 分页 非新闻素材 - */ -export function page(params) { - return defHttp.get>({ - url: '/wechat/article/page', - params: params, - }) -} diff --git a/src/views/modules/third/wechat/article/WechatArticleSelect.vue b/src/views/modules/third/wechat/article/WechatArticleSelect.vue deleted file mode 100644 index dc4deeafcdce1b6f3dfb7fb855292170f5dcc8d0..0000000000000000000000000000000000000000 --- a/src/views/modules/third/wechat/article/WechatArticleSelect.vue +++ /dev/null @@ -1,76 +0,0 @@ - - - - - diff --git a/src/views/modules/third/wechat/media/WechatMedia.api.ts b/src/views/modules/third/wechat/media/WechatMedia.api.ts deleted file mode 100644 index 394837b36655d487c01f0ff0247b645c0a55e6a1..0000000000000000000000000000000000000000 --- a/src/views/modules/third/wechat/media/WechatMedia.api.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { defHttp } from '/@/utils/http/axios' -import { PageResult, Result } from '/#/axios' -/** - * 分页 非新闻素材 - */ -export function pageFile(params) { - return defHttp.get>({ - url: '/wechat/media/pageFile', - params: params, - }) -} - -/** - * 删除素材 - */ -export function deleteFile(mediaId) { - return defHttp.delete({ - url: '/wechat/media/deleteFile', - params: { mediaId }, - }) -} diff --git a/src/views/modules/third/wechat/media/WechatMediaList.vue b/src/views/modules/third/wechat/media/WechatMediaList.vue deleted file mode 100644 index edc9edc6ce14642fdba15081dd19a9e76beb687b..0000000000000000000000000000000000000000 --- a/src/views/modules/third/wechat/media/WechatMediaList.vue +++ /dev/null @@ -1,159 +0,0 @@ - - - - - diff --git a/src/views/modules/third/wechat/media/WechatMediaSelect.vue b/src/views/modules/third/wechat/media/WechatMediaSelect.vue deleted file mode 100644 index d411f69305a116dd4b66700c92bebcc51b4feb91..0000000000000000000000000000000000000000 --- a/src/views/modules/third/wechat/media/WechatMediaSelect.vue +++ /dev/null @@ -1,100 +0,0 @@ - - - - - diff --git a/src/views/modules/third/wechat/menu/WechatMenu.api.ts b/src/views/modules/third/wechat/menu/WechatMenu.api.ts deleted file mode 100644 index bd6a121269a7587486a9cc67e26946ac2497eece..0000000000000000000000000000000000000000 --- a/src/views/modules/third/wechat/menu/WechatMenu.api.ts +++ /dev/null @@ -1,104 +0,0 @@ -import { defHttp } from '/@/utils/http/axios' -import { PageResult, Result } from '/#/axios' -import { BaseEntity } from '/#/web' - -/** - * 分页 - */ -export const page = (params) => { - return defHttp.get>>({ - url: '/wechat/menu/page', - params, - }) -} - -/** - * 获取单条 - */ -export const get = (id) => { - return defHttp.get>({ - url: '/wechat/menu/findById', - params: { id }, - }) -} - -/** - * 添加 - */ -export const add = (obj: WechatMenu) => { - return defHttp.post({ - url: '/wechat/menu/add', - data: obj, - }) -} - -/** - * 更新 - */ -export const update = (obj: WechatMenu) => { - return defHttp.post({ - url: '/wechat/menu/update', - data: obj, - }) -} - -/** - * 删除 - */ -export const del = (id) => { - return defHttp.delete({ - url: '/wechat/menu/delete', - params: { id }, - }) -} - -/** - * 查询全部 - */ -export const findAll = () => { - return defHttp.get>>({ - url: '/wechat/menu/findAll', - }) -} - -/** - * 清空微信菜单 - */ -export function clearMenu() { - return defHttp.post({ - url: '/wechat/menu/clearMenu', - }) -} - -/** - * 发布菜单 - */ -export function publish(id) { - return defHttp.post({ - url: '/wechat/menu/publish', - params: { id }, - }) -} - -/** - * 导入微信配置的菜单 - */ -export function importMenu() { - return defHttp.post({ - url: '/wechat/menu/importMenu', - }) -} - -/** - * 微信自定义菜单 - */ -export interface WechatMenu extends BaseEntity { - // 名称 - name: string - // 菜单信息 - menuInfo: string | null - // 备注 - remark: string - // 是否发布 - publish: boolean -} diff --git a/src/views/modules/third/wechat/menu/WechatMenuDesign.vue b/src/views/modules/third/wechat/menu/WechatMenuDesign.vue deleted file mode 100644 index eb8173bfd31302d49be446ab7859754444c88a64..0000000000000000000000000000000000000000 --- a/src/views/modules/third/wechat/menu/WechatMenuDesign.vue +++ /dev/null @@ -1,85 +0,0 @@ - - - - - diff --git a/src/views/modules/third/wechat/menu/WechatMenuEdit.vue b/src/views/modules/third/wechat/menu/WechatMenuEdit.vue deleted file mode 100644 index 8167ac8575631a8bc15c5dace106ea11fb2050a5..0000000000000000000000000000000000000000 --- a/src/views/modules/third/wechat/menu/WechatMenuEdit.vue +++ /dev/null @@ -1,121 +0,0 @@ - - - - - diff --git a/src/views/modules/third/wechat/menu/WechatMenuList.vue b/src/views/modules/third/wechat/menu/WechatMenuList.vue deleted file mode 100644 index cacf43b0916861b9d0f7bbc0f60f31249c8d84da..0000000000000000000000000000000000000000 --- a/src/views/modules/third/wechat/menu/WechatMenuList.vue +++ /dev/null @@ -1,206 +0,0 @@ - - - - - diff --git a/src/views/modules/third/wechat/menu/edit/MenuType.ts b/src/views/modules/third/wechat/menu/edit/MenuType.ts deleted file mode 100644 index f06c5e3d89825cfd80c58b2963ba072e225ceb9c..0000000000000000000000000000000000000000 --- a/src/views/modules/third/wechat/menu/edit/MenuType.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * 主菜单 - */ -export const MenuTypeMain = 'main' -/** - * 主菜单(包含子菜单) - */ -export const MenuTypeMainSubject = 'mainSubject' -/** - * 子菜单 - */ -export const MenuTypeSubject = 'subject' diff --git a/src/views/modules/third/wechat/menu/edit/WxMenuDesign.vue b/src/views/modules/third/wechat/menu/edit/WxMenuDesign.vue deleted file mode 100644 index 72e58971f92f77e78cd455ef51689eac6d69782f..0000000000000000000000000000000000000000 --- a/src/views/modules/third/wechat/menu/edit/WxMenuDesign.vue +++ /dev/null @@ -1,202 +0,0 @@ - - - - - diff --git a/src/views/modules/third/wechat/menu/edit/WxMenuDetailEditor.vue b/src/views/modules/third/wechat/menu/edit/WxMenuDetailEditor.vue deleted file mode 100644 index 2c23cb7042b1b7cb70ec55ea511bc0e753f29e04..0000000000000000000000000000000000000000 --- a/src/views/modules/third/wechat/menu/edit/WxMenuDetailEditor.vue +++ /dev/null @@ -1,179 +0,0 @@ - - - - - diff --git a/src/views/modules/third/wechat/menu/edit/images/base_z381ecd.png b/src/views/modules/third/wechat/menu/edit/images/base_z381ecd.png deleted file mode 100644 index 1aa53a0cd57d8c4cf0a72887d2000036e3dd7b30..0000000000000000000000000000000000000000 Binary files a/src/views/modules/third/wechat/menu/edit/images/base_z381ecd.png and /dev/null differ diff --git a/src/views/modules/third/wechat/menu/edit/images/index_z354723.png b/src/views/modules/third/wechat/menu/edit/images/index_z354723.png deleted file mode 100644 index 8d8f8c4eb6e79388f99e1bcdae0c614be9052e70..0000000000000000000000000000000000000000 Binary files a/src/views/modules/third/wechat/menu/edit/images/index_z354723.png and /dev/null differ diff --git a/src/views/modules/third/wechat/menu/edit/images/menu_foot.png b/src/views/modules/third/wechat/menu/edit/images/menu_foot.png deleted file mode 100644 index 4a89d4bd254f65f3111f18aa550e32bdfd4d1a24..0000000000000000000000000000000000000000 Binary files a/src/views/modules/third/wechat/menu/edit/images/menu_foot.png and /dev/null differ diff --git a/src/views/modules/third/wechat/menu/edit/images/menu_head.png b/src/views/modules/third/wechat/menu/edit/images/menu_head.png deleted file mode 100644 index 248cfb761be5ce1eeeed36067de909ef58c6de79..0000000000000000000000000000000000000000 Binary files a/src/views/modules/third/wechat/menu/edit/images/menu_head.png and /dev/null differ diff --git a/src/views/modules/third/wechat/menu/edit/images/msg_tab_z25df2d.png b/src/views/modules/third/wechat/menu/edit/images/msg_tab_z25df2d.png deleted file mode 100644 index 6a18531bbc8145417210ef77909ea7adbfe1cb34..0000000000000000000000000000000000000000 Binary files a/src/views/modules/third/wechat/menu/edit/images/msg_tab_z25df2d.png and /dev/null differ diff --git a/src/views/modules/third/wechat/menu/edit/menu.less b/src/views/modules/third/wechat/menu/edit/menu.less deleted file mode 100644 index baa72ac990e623982366b2cfc6c535498c4d2319..0000000000000000000000000000000000000000 --- a/src/views/modules/third/wechat/menu/edit/menu.less +++ /dev/null @@ -1,338 +0,0 @@ -* { - box-sizing: border-box; -} -body { - font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; - font-size: 14px; -} -ul { - padding: 0; -} -li { - list-style: none; -} -[v-cloak] { - display: none; -} -#app-menu { - overflow: hidden; -} -.weixin-preview { - position: relative; - width: 320px; - height: 540px; - float: left; - margin-right: 10px; - margin-left: 30px; - border: 1px solid #e7e7eb; - a { - text-decoration: none; - color: #616161; - } - .weixin-hd { - color: #fff; - text-align: center; - position: relative; - top: 0; - left: 0; - width: 320px; - height: 64px; - background: transparent url(./images/menu_head.png) no-repeat 0 0; - .weixin-title { - color: #fff; - font-size: 15px; - width: 100%; - text-align: center; - position: absolute; - top: 33px; - left: 0; - } - } - .weixin-bd { - } - .weixin-menu { - position: absolute; - bottom: 0; - left: 0; - right: 0; - border-top: 1px solid #e7e7e7; - background: transparent url(./images/menu_foot.png) no-repeat 0 0; - padding-left: 43px; - margin-bottom: 0; - .menu-item { - position: relative; - float: left; - line-height: 50px; - height: 50px; - text-align: center; - width: 33.33%; - border-left: 1px solid #e7e7e7; - cursor: pointer; - color: #616161; - &:first-child { - } - } - } - .weixin-sub-menu { - position: absolute; - bottom: 60px; - left: 0; - right: 0; - border-top: 1px solid #d0d0d0; - margin-bottom: 0; - background: #fafafa; - display: block; - padding: 0; - .menu-sub-item { - line-height: 50px; - height: 50px; - text-align: center; - width: 100%; - border: 1px solid #d0d0d0; - border-top-width: 0; - cursor: pointer; - position: relative; - color: #616161; - } - &.show { - display: block; - } - } - .menu-arrow { - position: absolute; - left: 50%; - margin-left: -6px; - } - .arrow_in { - bottom: -4px; - display: inline-block; - width: 0; - height: 0; - border-width: 6px 6px 0; - border-style: solid dashed dashed; - border-color: #fafafa transparent transparent; - } - .arrow_out { - bottom: -5px; - display: inline-block; - width: 0; - height: 0; - border-width: 6px 6px 0; - border-style: solid dashed dashed; - border-color: #d0d0d0 transparent transparent; - } - .icon_menu_dot { - background: url(./images/index_z354723.png) 0 -36px no-repeat; - width: 7px; - height: 7px; - vertical-align: middle; - display: inline-block; - margin-right: 2px; - margin-top: -2px; - } - .icon14_menu_add { - background: url(./images/index_z354723.png) 0 0 no-repeat; - width: 14px; - height: 14px; - vertical-align: middle; - display: inline-block; - margin-top: -2px; - } - li { - &:hover { - .icon14_menu_add { - background: url(./images/index_z354723.png) 0 -18px no-repeat; - } - } - &.current { - &:hover { - background: #fff; - color: #44b549; - } - } - } - .menu-item { - &:hover { - color: #000; - } - } - .menu-sub-item { - &:hover { - background: #eee; - } - } -} -/*一级*/ -/*二级*/ -.weixin-preview .menu-item .menu-item-title,.weixin-preview .menu-sub-item .menu-item-title { - width: 100%; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - box-sizing: border-box; -} -.weixin-preview .menu-item.current,.weixin-preview .menu-sub-item.current { - border: 1px solid #44b549; - background: #fff; - color: #44b549; -} -/*菜单内容*/ -.weixin-menu-detail { - margin-left: 30px; - padding: 0 20px 5px; - background-color: #f4f5f9; - border: 1px solid #e7e7eb; - float: left; - min-height: 540px; - .menu-name { - float: left; - height: 40px; - line-height: 40px; - font-size: 18px; - } - .menu-del { - float: right; - height: 40px; - line-height: 40px; - color: #459ae9; - cursor: pointer; - } - .menu-input-group { - width: 540px; - margin: 10px 0 30px 0; - overflow: hidden; - } - .menu-label { - float: left; - height: 30px; - line-height: 30px; - width: 80px; - text-align: right; - } - .menu-input { - float: left; - width: 380px; - .menu-tips { - margin: 0 0 0 10px; - } - } - .menu-input-text { - border: 0; - outline: 0; - background: #fff; - width: 300px; - padding: 5px 0 5px 0; - margin-left: 10px; - text-indent: 10px; - height: 35px; - } - .menu-tips { - color: #8d8d8d; - padding-top: 4px; - margin: 0; - &.cursor { - color: #459ae9; - cursor: pointer; - } - } - .menu-content { - padding: 16px 20px; - border: 1px solid #e7e7eb; - background-color: #fff; - .menu-input-group { - margin: 0 0 10px 0; - } - .menu-label { - text-align: left; - width: 100px; - } - .menu-input-text { - border: 1px solid #e7e7eb; - } - .menu-tips { - padding-bottom: 10px; - } - } - .menu-msg-content { - padding: 0; - border: 1px solid #e7e7eb; - background-color: #fff; - .menu-msg-head { - overflow: hidden; - border-bottom: 1px solid #e7e7eb; - line-height: 38px; - height: 38px; - padding: 0 20px; - } - .menu-msg-panel { - padding: 30px 50px; - } - .menu-msg-select { - padding: 40px 20px; - border: 2px dotted #d9dadc; - text-align: center; - display: flex; - justify-content: center; - align-items: center; - &:hover { - border-color: #b3b3b3; - } - } - strong { - display: block; - padding-top: 3px; - font-weight: 400; - font-style: normal; - } - .menu-msg-title { - float: left; - width: 310px; - height: 30px; - line-height: 30px; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - } - } -} -.icon36_common { - width: 36px; - height: 36px; - vertical-align: middle; - display: inline-block; - &.add_gray { - background: url(./images/base_z381ecd.png) 0 -2548px no-repeat; - } -} -.icon_msg_sender { - margin-right: 3px; - margin-top: -2px; - width: 20px; - height: 20px; - vertical-align: middle; - display: inline-block; - background: url(./images/msg_tab_z25df2d.png) 0 -270px no-repeat; -} -.weixin-btn-group { - text-align: center; - width: 950px; - margin: 30px 0; - overflow: hidden; - .btn { - width: 100px; - border-radius: 0; - } -} -#material-list { - padding: 20px; - overflow-y: scroll; - height: 558px; - table { - width: 100%; - } -} -#news-list { - padding: 20px; - overflow-y: scroll; - height: 558px; -} diff --git a/src/views/modules/third/wechat/template/WechatTemplate.api.ts b/src/views/modules/third/wechat/template/WechatTemplate.api.ts deleted file mode 100644 index 9834dfe4c485f5aa279a336d34397e55db532590..0000000000000000000000000000000000000000 --- a/src/views/modules/third/wechat/template/WechatTemplate.api.ts +++ /dev/null @@ -1,111 +0,0 @@ -import { defHttp } from '/@/utils/http/axios' -import { PageResult, Result } from '/#/axios' -import { BaseEntity } from '/#/web' - -/** - * 分页 - */ -export const page = (params) => { - return defHttp.get>>({ - url: '/wechat/template/page', - params, - }) -} - -/** - * 获取单条 - */ -export const get = (id) => { - return defHttp.get>({ - url: '/wechat/template/findById', - params: { id }, - }) -} - -/** - * 添加 - */ -export const add = (obj: WechatTemplate) => { - return defHttp.post({ - url: '/wechat/template/add', - data: obj, - }) -} - -/** - * 更新 - */ -export const update = (obj: WechatTemplate) => { - return defHttp.post({ - url: '/wechat/template/update', - data: obj, - }) -} - -/** - * 删除 - */ -export const del = (id) => { - return defHttp.delete({ - url: '/wechat/template/delete', - params: { id }, - }) -} - -/** - * 查询全部 - */ -export const findAll = () => { - return defHttp.get>>({ - url: '/wechat/template/findAll', - }) -} - -/** - * 同步 - */ -export function sync() { - return defHttp.post({ - url: '/wechat/template/sync', - }) -} - -/** - * 编码是否存在 - */ -export function existsByCode(code) { - return defHttp.get>({ - url: '/wechat/template/existsByCode', - params: { code }, - }) -} -export function existsByCodeNotId(code, id) { - return defHttp.get>({ - url: '/wechat/template/existsByCodeNotId', - params: { code, id }, - }) -} - -/** - * 微信消息模板 - */ -export interface WechatTemplate extends BaseEntity { - // 名称 - name: string - // 编码 - code: string - // 是否启用 - enable: boolean - // 模板ID - templateId: string - // 模板标题 - title: string - // 模板所属行业的一级行业 - primaryIndustry: string - // 模板所属行业的二级行业 - deputyIndustry: string - // 模板内容 - content: string - // 示例 - example: string -} diff --git a/src/views/modules/third/wechat/template/WechatTemplateEdit.vue b/src/views/modules/third/wechat/template/WechatTemplateEdit.vue deleted file mode 100644 index cf3ef5a219669cd303c15362e7fee00067f26e58..0000000000000000000000000000000000000000 --- a/src/views/modules/third/wechat/template/WechatTemplateEdit.vue +++ /dev/null @@ -1,166 +0,0 @@ - - - - - diff --git a/src/views/modules/third/wechat/template/WechatTemplateList.vue b/src/views/modules/third/wechat/template/WechatTemplateList.vue deleted file mode 100644 index 36645833cf9c69d8a5fe8f8ae57baf1d893744ad..0000000000000000000000000000000000000000 --- a/src/views/modules/third/wechat/template/WechatTemplateList.vue +++ /dev/null @@ -1,125 +0,0 @@ - - - - - diff --git a/src/views/modules/third/wecom/robot/WecomRobotConfig.api.ts b/src/views/modules/third/wecom/robot/WecomRobotConfig.api.ts deleted file mode 100644 index 656e70ab5f77637c09c397e740f202623e7b480b..0000000000000000000000000000000000000000 --- a/src/views/modules/third/wecom/robot/WecomRobotConfig.api.ts +++ /dev/null @@ -1,92 +0,0 @@ -import { defHttp } from '/@/utils/http/axios' -import { PageResult, Result } from '/#/axios' -import { BaseEntity } from '/#/web' - -/** - * 分页 - */ -export function page(params) { - return defHttp.get>>({ - url: '/wecom/robot/config/page', - params, - }) -} - -/** - * 查询全部 - */ -export function findAll() { - return defHttp.get>({ - url: '/wecom/robot/config/findAll', - }) -} - -/** - * 获取单条 - */ -export function get(id) { - return defHttp.get>({ - url: '/wecom/robot/config/findById', - params: { id }, - }) -} - -/** - * 添加 - */ -export function add(obj: WecomRobotConfig) { - return defHttp.post({ - url: '/wecom/robot/config/add', - data: obj, - }) -} - -/** - * 更新 - */ -export function update(obj: WecomRobotConfig) { - return defHttp.post({ - url: '/wecom/robot/config/update', - data: obj, - }) -} - -/** - * 删除 - */ -export function del(id) { - return defHttp.delete({ - url: '/wecom/robot/config/delete', - params: { id }, - }) -} - -/** - * 编码是否被使用 - */ -export function existsByCode(code) { - return defHttp.get>({ - url: '/wecom/robot/config/existsByCode', - params: { code }, - }) -} -export function existsByCodeNotId(code, id) { - return defHttp.get>({ - url: '/wecom/robot/config/existsByCodeNotId', - params: { code, id }, - }) -} - -/** - * 企业微信机器人配置 - */ -export interface WecomRobotConfig extends BaseEntity { - // 名称 - name: string - // 编号 - code: string - // webhook地址的key值 - webhookKey: string - // 备注 - remark: string -} diff --git a/src/views/modules/third/wecom/robot/WecomRobotConfigEdit.vue b/src/views/modules/third/wecom/robot/WecomRobotConfigEdit.vue deleted file mode 100644 index e9d4bc489493379d07ba543c3af34de3f106be99..0000000000000000000000000000000000000000 --- a/src/views/modules/third/wecom/robot/WecomRobotConfigEdit.vue +++ /dev/null @@ -1,142 +0,0 @@ - - - - - diff --git a/src/views/modules/third/wecom/robot/WecomRobotConfigList.vue b/src/views/modules/third/wecom/robot/WecomRobotConfigList.vue deleted file mode 100644 index 8a37db40e2c7460aaf0e09880fdd1822621167cb..0000000000000000000000000000000000000000 --- a/src/views/modules/third/wecom/robot/WecomRobotConfigList.vue +++ /dev/null @@ -1,118 +0,0 @@ - - - - - diff --git a/src/views/payment/allocation/group/AllocationGroupConfig.vue b/src/views/payment/allocation/group/AllocationGroupConfig.vue index 2561d97fe7104b3d33bc7bc5953d7e5ba24e4da2..8e1bb094a284168bc6b7e2c1f537a4f3722a65b0 100644 --- a/src/views/payment/allocation/group/AllocationGroupConfig.vue +++ b/src/views/payment/allocation/group/AllocationGroupConfig.vue @@ -23,7 +23,7 @@ {{ dictConvert('AllocReceiverType', row.receiverType) }} - + diff --git a/src/views/payment/allocation/order/AllocationOrder.api.ts b/src/views/payment/allocation/order/AllocationOrder.api.ts index 98fe3bd9f5efb68d1f82376b57e01d2a47b6c68b..ee19300fce63f36f970131e9c3c24692071078e8 100644 --- a/src/views/payment/allocation/order/AllocationOrder.api.ts +++ b/src/views/payment/allocation/order/AllocationOrder.api.ts @@ -75,30 +75,30 @@ export function detail(id) { /** * 分账完结 */ -export function finish(allocationNo) { +export function finish(allocNo) { return defHttp.post>({ url: '/order/allocation/finish', - params: { allocationNo }, + params: { allocNo }, }) } /** * 分账完结 */ -export function retry(bizAllocationNo) { +export function retry(bizAllocNo) { return defHttp.post>({ url: '/order/allocation/retry', - params: { bizAllocationNo }, + params: { bizAllocNo }, }) } /** * 查询分账结果 */ -export function sync(allocationNo) { +export function sync(allocNo) { return defHttp.post>({ url: '/order/allocation/sync', - params: { allocationNo }, + params: { allocNo }, }) } @@ -107,11 +107,11 @@ export function sync(allocationNo) { */ export interface AllocationOrder extends BaseEntity { // 分账单号 - allocationNo?: string + allocNo?: string // 商户分账单号 - bizAllocationNo?: string + bizAllocNo?: string // 通道分账号 - outAllocationNo?: string + outAllocNo?: string // 支付订单ID orderId?: string // 支付订单号 @@ -132,18 +132,8 @@ export interface AllocationOrder extends BaseEntity { status?: string // 处理结果 result?: string - // 错误码 - errorCode?: string - // 错误原因 - errorMsg?: string // 完成时间 finishTime?: string -} - -/** - * 分账扩展订单信息 - */ -export interface AllocationOrderExtra { // 异步通知地址 notifyUrl?: string // 商户扩展参数 @@ -154,6 +144,10 @@ export interface AllocationOrderExtra { reqTime?: string // 支付终端ip clientIp?: string + // 错误码 + errorCode?: string + // 错误原因 + errorMsg?: string } /** diff --git a/src/views/payment/allocation/order/AllocationOrderInfo.vue b/src/views/payment/allocation/order/AllocationOrderInfo.vue index a7bdc6bde28dcd8970a10829095f08daa66fb14b..a53c5b2746094a14bdbb53862a961eea69c98fb4 100644 --- a/src/views/payment/allocation/order/AllocationOrderInfo.vue +++ b/src/views/payment/allocation/order/AllocationOrderInfo.vue @@ -29,19 +29,19 @@ {{ order.description }} - {{ order.allocationNo }} + {{ order.allocNo }} {{ order.orderNo }} - {{ order.allocationNo }} + {{ order.allocNo }} {{ order.bizOrderNo }} - {{ order.outAllocationNo || '无' }} + {{ order.outAllocNo || '无' }} {{ order.outOrderNo }} @@ -53,13 +53,13 @@ {{ order.finishTime }} - {{ orderExtra.attach }} + {{ order.attach }} - {{ orderExtra.clientIp || '空' }} + {{ order.clientIp || '空' }} - {{ orderExtra.notifyUrl }} + {{ order.notifyUrl }} {{ order.errorMsg }} @@ -80,23 +80,21 @@ + + diff --git a/src/views/payment/channel/alipay/config/AlipayConfig.api.ts b/src/views/payment/channel/alipay/config/AlipayConfig.api.ts index 7d346fda54ffbc9a908bcfe868ad9f73fb5b878b..27df0f390ea4bf475a4143e437b54a03eb3c8a99 100644 --- a/src/views/payment/channel/alipay/config/AlipayConfig.api.ts +++ b/src/views/payment/channel/alipay/config/AlipayConfig.api.ts @@ -30,6 +30,23 @@ export function findPayWays() { }) } +/** + * 生成异步通知地址 + */ +export function generateNotifyUrl() { + return defHttp.get>({ + url: '/alipay/config/generateNotifyUrl', + }) +} +/** + * 生成同步通知地址 + */ +export function generateReturnUrl() { + return defHttp.get>({ + url: '/alipay/config/generateReturnUrl', + }) +} + /** * 支付宝配置 */ @@ -41,9 +58,11 @@ export interface AlipayConfig extends BaseEntity { // 是否支持分账 allocation: boolean // 支付限额 - singleLimit: number + limitAmount?: number // 商户账号ID alipayUserId?: string + // 授权回调地址 + redirectUrl?: string // 服务器异步通知页面路径 notifyUrl?: string // 页面跳转同步通知页面路径 diff --git a/src/views/payment/channel/alipay/config/AlipayConfigEdit.vue b/src/views/payment/channel/alipay/config/AlipayConfigEdit.vue index 2449254ab0834981379626aed35bfc7e1face5df..d94ec3807bdc68a47bab469cdd479413f08f2593 100644 --- a/src/views/payment/channel/alipay/config/AlipayConfigEdit.vue +++ b/src/views/payment/channel/alipay/config/AlipayConfigEdit.vue @@ -30,6 +30,14 @@ + + + + - + + 自动生成 - + + 自动生成 ({ id: null, seller: '', - singleLimit: 20000, + limitAmount: 20000, enable: false, notifyUrl: '', returnUrl: '', @@ -185,7 +192,7 @@ return { machId: [{ required: true, message: '请输入商户号' }], wxAppId: [{ required: true, message: '请输入应用编号' }], - singleLimit: [{ required: true, message: '请选择单次支付限额' }], + limitAmount: [{ required: true, message: '请输入单次支付限额' }], // certSign: [{ required: true, message: '请选择是否为证书签名' }], signType: [{ required: true, message: '请选择签名类型' }], keyPrivateCert: [{ required: true, message: '请上传应用私钥证书' }], @@ -223,6 +230,10 @@ }) getConfig().then(({ data }) => { rawForm = { ...data } + // 分转元 + if (data.limitAmount) { + data.limitAmount = data.limitAmount / 100 + } form = data confirmLoading.value = false }) @@ -232,8 +243,13 @@ function handleOk() { formRef?.validate().then(async () => { confirmLoading.value = true + const updateFrom = { ...form } + // 元转分 + if (updateFrom.limitAmount) { + updateFrom.limitAmount = updateFrom.limitAmount * 100 + } await update({ - ...form, + ...updateFrom, ...diffForm(rawForm, form, 'keyPrivateCert', 'keyPrivateCertPwd', 'acpMiddleCert', 'acpRootCert'), }).finally(() => { confirmLoading.value = false @@ -267,6 +283,27 @@ createMessage.error('上传失败') } } + + /** + * 生成异步通知地址 + */ + function genNotifyUrl() { + generateNotifyUrl().then(({ data }) => { + form.notifyUrl = data + formRef?.validateFields(['notifyUrl']) + }) + } + + /** + * 生成同步通知地址 + */ + function genReturnUrl() { + generateReturnUrl().then(({ data }) => { + form.returnUrl = data + formRef?.validateFields(['returnUrl']) + }) + } + defineExpose({ init, }) diff --git a/src/views/payment/channel/wallet/config/WalletConfig.api.ts b/src/views/payment/channel/wallet/config/WalletConfig.api.ts index 43585fd299087ede81587309e1b7d8f0ca581e94..8c73c2c176c3a6c213e5111667594105e84fb986 100644 --- a/src/views/payment/channel/wallet/config/WalletConfig.api.ts +++ b/src/views/payment/channel/wallet/config/WalletConfig.api.ts @@ -37,7 +37,7 @@ export interface WalletConfig extends BaseEntity { // 是否启用 enable?: boolean // 单次支持支持多少钱 - singleLimit?: number + limitAmount?: number // 支持的支付类型 payWays?: string[] // 备注 diff --git a/src/views/payment/channel/wallet/config/WalletConfigEdit.vue b/src/views/payment/channel/wallet/config/WalletConfigEdit.vue index ed9e5753e633cf1a588179320e2d87749992845b..0db652cce77114a742d8452ef57fd9ae2bd7f641 100644 --- a/src/views/payment/channel/wallet/config/WalletConfigEdit.vue +++ b/src/views/payment/channel/wallet/config/WalletConfigEdit.vue @@ -1,13 +1,5 @@