Browse Source

chore: cleanup

main
刘凯 1 year ago
parent
commit
e01627d587
  1. 5
      src/api/bpm/activity/index.ts
  2. 13
      src/api/bpm/definition/index.ts
  3. 41
      src/api/bpm/form/index.ts
  4. 27
      src/api/bpm/leave/index.ts
  5. 62
      src/api/bpm/model/index.ts
  6. 21
      src/api/bpm/processInstance/index.ts
  7. 39
      src/api/bpm/task/index.ts
  8. 23
      src/api/bpm/taskAssignRule/index.ts
  9. 41
      src/api/bpm/userGroup/index.ts
  10. 50
      src/api/infra/apiAccessLog/index.ts
  11. 69
      src/api/infra/apiErrorLog/index.ts
  12. 57
      src/api/infra/codegen/index.ts
  13. 61
      src/api/infra/codegen/types.ts
  14. 62
      src/api/infra/config/index.ts
  15. 35
      src/api/infra/dataSourceConfig/index.ts
  16. 16
      src/api/infra/dbDoc/index.ts
  17. 28
      src/api/infra/file/index.ts
  18. 66
      src/api/infra/fileConfig/index.ts
  19. 71
      src/api/infra/job/index.ts
  20. 46
      src/api/infra/jobLog/index.ts
  21. 8
      src/api/infra/redis/index.ts
  22. 185
      src/api/infra/redis/types.ts
  23. 15
      src/api/member/address/index.ts
  24. 19
      src/api/member/config/index.ts
  25. 38
      src/api/member/group/index.ts
  26. 42
      src/api/member/level/index.ts
  27. 19
      src/api/member/point/config/index.ts
  28. 21
      src/api/member/point/record/index.ts
  29. 34
      src/api/member/signin/config/index.ts
  30. 13
      src/api/member/signin/record/index.ts
  31. 36
      src/api/member/tag/index.ts
  32. 39
      src/api/member/user/index.ts
  33. 46
      src/api/mp/account/index.ts
  34. 26
      src/api/mp/autoReply/index.ts
  35. 26
      src/api/mp/draft/index.ts
  36. 16
      src/api/mp/freePublish/index.ts
  37. 11
      src/api/mp/material/index.ts
  38. 22
      src/api/mp/menu/index.ts
  39. 11
      src/api/mp/message/index.ts
  40. 21
      src/api/mp/mpuser/index.ts
  41. 21
      src/api/mp/statistics/index.ts
  42. 36
      src/api/mp/tag/index.ts
  43. 63
      src/api/pay/app/index.ts
  44. 69
      src/api/pay/channel/index.ts
  45. 21
      src/api/pay/demo/index.ts
  46. 11
      src/api/pay/notify/index.ts
  47. 104
      src/api/pay/order/index.ts
  48. 116
      src/api/pay/refund/index.ts
  49. BIN
      src/assets/images/demo.png
  50. 1
      src/assets/images/pay/icon/alipay_app.svg
  51. 2
      src/assets/images/pay/icon/alipay_bar.svg
  52. 1
      src/assets/images/pay/icon/alipay_pc.svg
  53. 2
      src/assets/images/pay/icon/alipay_qr.svg
  54. 1
      src/assets/images/pay/icon/alipay_wap.svg
  55. 1
      src/assets/images/pay/icon/mock.svg
  56. 2
      src/assets/images/pay/icon/wx_app.svg
  57. 1
      src/assets/images/pay/icon/wx_lite.svg
  58. 2
      src/assets/images/pay/icon/wx_pub.svg
  59. 1
      src/assets/svg/pay/icon/alipay_app.svg
  60. 2
      src/assets/svg/pay/icon/alipay_bar.svg
  61. 1
      src/assets/svg/pay/icon/alipay_pc.svg
  62. 2
      src/assets/svg/pay/icon/alipay_qr.svg
  63. 1
      src/assets/svg/pay/icon/alipay_wap.svg
  64. 1
      src/assets/svg/pay/icon/mock.svg
  65. 2
      src/assets/svg/pay/icon/wx_app.svg
  66. 1
      src/assets/svg/pay/icon/wx_bar.svg
  67. 1
      src/assets/svg/pay/icon/wx_lite.svg
  68. 1
      src/assets/svg/pay/icon/wx_native.svg
  69. 2
      src/assets/svg/pay/icon/wx_pub.svg
  70. 245
      src/enums/systemEnum.ts

5
src/api/bpm/activity/index.ts

@ -1,5 +0,0 @@
import { defHttp } from '@/utils/http/axios'
export function getActivityList(params) {
return defHttp.get({ url: '/bpm/activity/list', params })
}

13
src/api/bpm/definition/index.ts

@ -1,13 +0,0 @@
import { defHttp } from '@/utils/http/axios'
export function getProcessDefinitionPage(params) {
return defHttp.get({ url: '/bpm/process-definition/page', params })
}
export function getProcessDefinitionList(params) {
return defHttp.get({ url: '/bpm/process-definition/list', params })
}
export function getProcessDefinitionBpmnXML(id) {
return defHttp.get({ url: `/bpm/process-definition/get-bpmn-xml?id=${id}` })
}

41
src/api/bpm/form/index.ts

@ -1,41 +0,0 @@
import { defHttp } from '@/utils/http/axios'
export interface FormVO {
id: number
name: string
conf: string
fields: string[]
status: number
remark: string
createTime: string
}
// 创建工作流的表单定义
export function createForm(data: FormVO) {
return defHttp.post({ url: '/bpm/form/create', data })
}
// 更新工作流的表单定义
export function updateForm(data: FormVO) {
return defHttp.put({ url: '/bpm/form/update', data })
}
// 删除工作流的表单定义
export function deleteForm(id: number) {
return defHttp.delete({ url: `/bpm/form/delete?id=${id}` })
}
// 获得工作流的表单定义
export function getForm(id: number) {
return defHttp.get({ url: `/bpm/form/get?id=${id}` })
}
// 获得工作流的表单定义分页
export function getFormPage(params) {
return defHttp.get({ url: '/bpm/form/page', params })
}
// 获得动态表单的精简列表
export function getSimpleForms() {
return defHttp.get({ url: '/bpm/form/list-all-simple' })
}

27
src/api/bpm/leave/index.ts

@ -1,27 +0,0 @@
import { defHttp } from '@/utils/http/axios'
export interface LeaveVO {
id: number
result: number
type: number
reason: string
processInstanceId: string
startTime: string
endTime: string
createTime: string
}
// 创建请假申请
export function createLeave(data: LeaveVO) {
return defHttp.post({ url: '/bpm/oa/leave/create', data })
}
// 获得请假申请
export function getLeave(id: number) {
return defHttp.get({ url: `/bpm/oa/leave/get?id=${id}` })
}
// 获得请假申请分页
export function getLeavePage(params) {
return defHttp.get({ url: '/bpm/oa/leave/page', params })
}

62
src/api/bpm/model/index.ts

@ -1,62 +0,0 @@
import { defHttp } from '@/utils/http/axios'
export interface ProcessDefinitionVO {
id: string
version: number
deploymentTIme: string
suspensionState: number
}
export interface ModelVO {
id: number
formName: string
key: string
name: string
description: string
category: string
formType: number
formId: number
formCustomCreatePath: string
formCustomViewPath: string
processDefinition: ProcessDefinitionVO
status: number
remark: string
createTime: string
}
export function getModelPage(params) {
return defHttp.get({ url: '/bpm/model/page', params })
}
export function getModel(id: number) {
return defHttp.get({ url: `/bpm/model/get?id=${id}` })
}
export function updateModel(data: ModelVO) {
return defHttp.put({ url: '/bpm/model/update', data })
}
// 任务状态修改
export function updateModelState(id: number, state: number) {
const data = {
id,
state,
}
return defHttp.put({ url: '/bpm/model/update-state', data })
}
export function createModel(data: ModelVO) {
return defHttp.post({ url: '/bpm/model/create', data })
}
export function deleteModel(id: number) {
return defHttp.delete({ url: `/bpm/model/delete?id=${id}` })
}
export function deployModel(id: number) {
return defHttp.post({ url: `/bpm/model/deploy?id=${id}` })
}
export function importModel(data) {
return defHttp.post({ url: '/bpm/model/import', data })
}

21
src/api/bpm/processInstance/index.ts

@ -1,21 +0,0 @@
import { defHttp } from '@/utils/http/axios'
export function getMyProcessInstancePage(params) {
return defHttp.get({ url: '/bpm/process-instance/my-page', params })
}
export function createProcessInstance(data) {
return defHttp.post({ url: '/bpm/process-instance/create', data })
}
export function cancelProcessInstance(id: number, reason: string) {
const data = {
id,
reason,
}
return defHttp.delete({ url: '/bpm/process-instance/cancel', data })
}
export function getProcessInstance(id: number) {
return defHttp.get({ url: `/bpm/process-instance/get?id=${id}` })
}

39
src/api/bpm/task/index.ts

@ -1,39 +0,0 @@
import { defHttp } from '@/utils/http/axios'
export function getTodoTaskPage(params) {
return defHttp.get({ url: '/bpm/task/todo-page', params })
}
export function getDoneTaskPage(params) {
return defHttp.get({ url: '/bpm/task/done-page', params })
}
export function completeTask(data) {
return defHttp.put({ url: '/bpm/task/complete', data })
}
export function approveTask(data) {
return defHttp.put({ url: '/bpm/task/approve', data })
}
export function rejectTask(data) {
return defHttp.put({ url: '/bpm/task/reject', data })
}
export function backTask(data) {
return defHttp.put({ url: '/bpm/task/back', data })
}
export function updateTaskAssignee(data) {
return defHttp.put({ url: '/bpm/task/update-assignee', data })
}
export function getTaskListByProcessInstanceId(processInstanceId) {
return defHttp.get({
url: `/bpm/task/list-by-process-instance-id?processInstanceId=${processInstanceId}`,
})
}
// 导出任务
export async function exportTask(params) {
return await defHttp.download({ url: '/bpm/task/export', params })
}

23
src/api/bpm/taskAssignRule/index.ts

@ -1,23 +0,0 @@
import { defHttp } from '@/utils/http/axios'
export interface TaskAssignVO {
id: number
modelId: string
processDefinitionId: string
taskDefinitionKey: string
taskDefinitionName: string
options: string[]
type: number
}
export function getTaskAssignRuleList(params) {
return defHttp.get({ url: '/bpm/task-assign-rule/list', params })
}
export function createTaskAssignRule(data: TaskAssignVO) {
return defHttp.post({ url: '/bpm/task-assign-rule/create', data })
}
export function updateTaskAssignRule(data: TaskAssignVO) {
return defHttp.put({ url: '/bpm/task-assign-rule/update', data })
}

41
src/api/bpm/userGroup/index.ts

@ -1,41 +0,0 @@
import { defHttp } from '@/utils/http/axios'
export interface UserGroupVO {
id: number
name: string
description: string
memberUserIds: number[]
status: number
remark: string
createTime: string
}
// 创建用户组
export function createUserGroup(data: UserGroupVO) {
return defHttp.post({ url: '/bpm/user-group/create', data })
}
// 更新用户组
export function updateUserGroup(data: UserGroupVO) {
return defHttp.put({ url: '/bpm/user-group/update', data })
}
// 删除用户组
export function deleteUserGroup(id: number) {
return defHttp.delete({ url: `/bpm/user-group/delete?id=${id}` })
}
// 获得用户组
export function getUserGroup(id: number) {
return defHttp.get({ url: `/bpm/user-group/get?id=${id}` })
}
// 获得用户组分页
export function getUserGroupPage(params) {
return defHttp.get({ url: '/bpm/user-group/page', params })
}
// 获取用户组精简信息列表
export function listSimpleUserGroups() {
return defHttp.get({ url: '/bpm/user-group/list-all-simple' })
}

50
src/api/infra/apiAccessLog/index.ts

@ -1,50 +0,0 @@
import { defHttp } from '@/utils/http/axios'
export interface ApiAccessLogVO {
id: number
traceId: string
userId: number
userType: number
applicationName: string
requestMethod: string
requestParams: string
requestUrl: string
userIp: string
userAgent: string
beginTime: Date
endTIme: Date
duration: number
resultCode: number
resultMsg: string
createTime: Date
}
export interface ApiAccessLogPageReqVO extends PageParam {
userId?: number
userType?: number
applicationName?: string
requestUrl?: string
beginTime?: Date[]
duration?: number
resultCode?: number
}
export interface ApiAccessLogExportReqVO {
userId?: number
userType?: number
applicationName?: string
requestUrl?: string
beginTime?: Date[]
duration?: number
resultCode?: number
}
// 查询列表API 访问日志
export function getApiAccessLogPage(params: ApiAccessLogPageReqVO) {
return defHttp.get({ url: '/infra/api-access-log/page', params })
}
// 导出API 访问日志
export function exportApiAccessLog(params: ApiAccessLogExportReqVO) {
return defHttp.download({ url: '/infra/api-access-log/export-excel', params }, '访问日志.xls')
}

69
src/api/infra/apiErrorLog/index.ts

@ -1,69 +0,0 @@
import { defHttp } from '@/utils/http/axios'
export interface ApiErrorLogVO {
id: number
traceId: string
userId: number
userType: number
applicationName: string
requestMethod: string
requestParams: string
requestUrl: string
userIp: string
userAgent: string
exceptionTime: Date
exceptionName: string
exceptionMessage: string
exceptionRootCauseMessage: string
exceptionStackTrace: string
exceptionClassName: string
exceptionFileName: string
exceptionMethodName: string
exceptionLineNumber: number
processUserId: number
processStatus: number
processTime: Date
resultCode: number
createTime: Date
}
export interface ApiErrorLogPageReqVO extends PageParam {
userId?: number
userType?: number
applicationName?: string
requestUrl?: string
exceptionTime?: Date[]
processStatus: number
}
export interface ApiErrorLogExportReqVO {
userId?: number
userType?: number
applicationName?: string
requestUrl?: string
exceptionTime?: Date[]
processStatus: number
}
// 查询列表API 访问日志
export function getApiErrorLogPage(params: ApiErrorLogPageReqVO) {
return defHttp.get({ url: '/infra/api-error-log/page', params })
}
// 更新 API 错误日志的处理状态
export function updateApiErrorLogProcess(id: number, processStatus: number) {
return defHttp.put({
url: `/infra/api-error-log/update-status?id=${id}&processStatus=${processStatus}`,
})
}
// 导出API 错误日志
export function exportApiErrorLog(params: ApiErrorLogExportReqVO) {
return defHttp.download(
{
url: '/infra/api-error-log/export-excel',
params,
},
'错误日志.xls',
)
}

57
src/api/infra/codegen/index.ts

@ -1,57 +0,0 @@
import type { CodegenCreateListReqVO, CodegenUpdateReqVO } from './types'
import { defHttp } from '@/utils/http/axios'
// 查询列表代码生成表定义
export function getCodegenTablePage(params) {
return defHttp.get({ url: '/infra/codegen/table/page', params })
}
// 查询详情代码生成表定义
export function getCodegenTable(id: number) {
return defHttp.get({ url: `/infra/codegen/detail?tableId=${id}` })
}
// 新增代码生成表定义
export function createCodegenTable(data: CodegenCreateListReqVO) {
return defHttp.post({ url: '/infra/codegen/create', data })
}
// 修改代码生成表定义
export function updateCodegenTable(data: CodegenUpdateReqVO) {
return defHttp.put({ url: '/infra/codegen/update', data })
}
// 基于数据库的表结构,同步数据库的表和字段定义
export function syncCodegenFromDB(id: number) {
return defHttp.put({ url: `/infra/codegen/sync-from-db?tableId=${id}` })
}
// 基于 SQL 建表语句,同步数据库的表和字段定义
export function syncCodegenFromSQL(id: number, sql: string) {
return defHttp.put({ url: `/infra/codegen/sync-from-sql?tableId=${id}&sql=${sql}` })
}
// 预览生成代码
export function previewCodegen(id: number) {
return defHttp.get({ url: `/infra/codegen/preview?tableId=${id}` })
}
// 下载生成代码
export function downloadCodegen(data) {
return defHttp.download({ url: `/infra/codegen/download?tableId=${data.id}` }, `${data.tableName}.zip`)
}
// 获得表定义
export function getSchemaTableList(params) {
return defHttp.get({ url: '/infra/codegen/db/table/list', params })
}
// 基于数据库的表结构,创建代码生成器的表定义
export function createCodegenList(data) {
return defHttp.post({ url: '/infra/codegen/create-list', data })
}
// 删除代码生成表定义
export function deleteCodegenTable(id: number) {
return defHttp.delete({ url: `/infra/codegen/delete?tableId=${id}` })
}

61
src/api/infra/codegen/types.ts

@ -1,61 +0,0 @@
export interface CodegenTableVO {
id: number
tableId: number
isParentMenuIdValid: boolean
dataSourceConfigId: number
scene: number
tableName: string
tableComment: string
remark: string
moduleName: string
businessName: string
className: string
classComment: string
author: string
createTime: Date
updateTime: Date
templateType: number
parentMenuId: number
}
export interface CodegenColumnVO {
id: number
tableId: number
columnName: string
dataType: string
columnComment: string
nullable: number
primaryKey: number
autoIncrement: string
ordinalPosition: number
javaType: string
javaField: string
dictType: string
example: string
createOperation: number
updateOperation: number
listOperation: number
listOperationCondition: string
listOperationResult: number
htmlType: string
}
export interface DatabaseTableVO {
name: string
comment: string
}
export interface CodegenDetailVO {
table: CodegenTableVO
columns: CodegenColumnVO[]
}
export interface CodegenPreviewVO {
filePath: string
code: string
}
export interface CodegenUpdateReqVO {
table: CodegenTableVO
columns: CodegenColumnVO[]
}
export interface CodegenCreateListReqVO {
dataSourceConfigId: number
tableNames: string[]
}

62
src/api/infra/config/index.ts

@ -1,62 +0,0 @@
import { defHttp } from '@/utils/http/axios'
export interface ConfigVO {
id: number
category: string
name: string
key: string
value: string
type: number
visible: boolean
remark: string
createTime: Date
}
export interface ConfigPageReqVO extends PageParam {
name?: string
key?: string
type?: number
createTime?: Date[]
}
export interface ConfigExportReqVO {
name?: string
key?: string
type?: number
createTime?: Date[]
}
// 查询参数列表
export function getConfigPage(params: ConfigPageReqVO) {
return defHttp.get({ url: '/infra/config/page', params })
}
// 查询参数详情
export function getConfig(id: number) {
return defHttp.get({ url: `/infra/config/get?id=${id}` })
}
// 根据参数键名查询参数值
export function getConfigKey(configKey: string) {
return defHttp.get({ url: `/infra/config/get-value-by-key?key=${configKey}` })
}
// 新增参数
export function createConfig(data: ConfigVO) {
return defHttp.post({ url: '/infra/config/create', data })
}
// 修改参数
export function updateConfig(data: ConfigVO) {
return defHttp.put({ url: '/infra/config/update', data })
}
// 删除参数
export function deleteConfig(id: number) {
return defHttp.delete({ url: `/infra/config/delete?id=${id}` })
}
// 导出参数
export function exportConfig(params: ConfigExportReqVO) {
return defHttp.download({ url: '/infra/config/export', params }, '参数.xls')
}

35
src/api/infra/dataSourceConfig/index.ts

@ -1,35 +0,0 @@
import { defHttp } from '@/utils/http/axios'
export interface DataSourceConfigVO {
id: number
name: string
url: string
username: string
password: string
createTime: Date
}
// 查询数据源配置列表
export function getDataSourceConfigList() {
return defHttp.get({ url: '/infra/data-source-config/list' })
}
// 查询数据源配置详情
export function getDataSourceConfig(id: number) {
return defHttp.get({ url: `/infra/data-source-config/get?id=${id}` })
}
// 新增数据源配置
export function createDataSourceConfig(data: DataSourceConfigVO) {
return defHttp.post({ url: '/infra/data-source-config/create', data })
}
// 修改数据源配置
export function updateDataSourceConfig(data: DataSourceConfigVO) {
return defHttp.put({ url: '/infra/data-source-config/update', data })
}
// 删除数据源配置
export function deleteDataSourceConfig(id: number) {
return defHttp.delete({ url: `/infra/data-source-config/delete?id=${id}` })
}

16
src/api/infra/dbDoc/index.ts

@ -1,16 +0,0 @@
import { defHttp } from '@/utils/http/axios'
// 导出Html
export function exportHtml() {
return defHttp.get({ url: '/infra/db-doc/export-html', responseType: 'blob' })
}
// 导出Word
export function exportWord() {
return defHttp.get({ url: '/infra/db-doc/export-word', responseType: 'blob' })
}
// 导出Markdown
export function exportMarkdown() {
return defHttp.get({ url: '/infra/db-doc/export-markdown', responseType: 'blob' })
}

28
src/api/infra/file/index.ts

@ -1,28 +0,0 @@
import { defHttp } from '@/utils/http/axios'
export interface FileVO {
id: number
configId: number
path: string
name: string
url: string
size: string
type: string
createTime: Date
}
export interface FilePageReqVO extends PageParam {
path?: string
type?: string
createTime?: Date[]
}
// 查询文件列表
export function getFilePage(params: FilePageReqVO) {
return defHttp.get({ url: '/infra/file/page', params })
}
// 删除文件
export function deleteFile(id: number) {
return defHttp.delete({ url: `/infra/file/delete?id=${id}` })
}

66
src/api/infra/fileConfig/index.ts

@ -1,66 +0,0 @@
import { defHttp } from '@/utils/http/axios'
export interface FileClientConfig {
basePath: string
host?: string
port?: number
username?: string
password?: string
mode?: string
endpoint?: string
bucket?: string
accessKey?: string
accessSecret?: string
domain: string
}
export interface FileConfigVO {
id: number
name: string
storage: number
master: boolean
visible: boolean
config: FileClientConfig
remark: string
createTime: Date
}
export interface FileConfigPageReqVO extends PageParam {
name?: string
storage?: number
createTime?: Date[]
}
// 查询文件配置列表
export function getFileConfigPage(params: FileConfigPageReqVO) {
return defHttp.get({ url: '/infra/file-config/page', params })
}
// 查询文件配置详情
export function getFileConfig(id: number) {
return defHttp.get({ url: `/infra/file-config/get?id=${id}` })
}
// 更新文件配置为主配置
export function updateFileConfigMaster(id: number) {
return defHttp.put({ url: `/infra/file-config/update-master?id=${id}` })
}
// 新增文件配置
export function createFileConfig(data) {
return defHttp.post({ url: '/infra/file-config/create', data })
}
// 修改文件配置
export function updateFileConfig(data) {
return defHttp.put({ url: '/infra/file-config/update', data })
}
// 删除文件配置
export function deleteFileConfig(id: number) {
return defHttp.delete({ url: `/infra/file-config/delete?id=${id}` })
}
// 测试文件配置
export function testFileConfig(id: number) {
return defHttp.get({ url: `/infra/file-config/test?id=${id}` })
}

71
src/api/infra/job/index.ts

@ -1,71 +0,0 @@
import { defHttp } from '@/utils/http/axios'
export interface JobVO {
id: number
name: string
status: number
handlerName: string
handlerParam: string
cronExpression: string
retryCount: number
retryInterval: number
monitorTimeout: number
createTime: Date
}
export interface JobPageReqVO extends PageParam {
name?: string
status?: number
handlerName?: string
}
export interface JobExportReqVO {
name?: string
status?: number
handlerName?: string
}
// 任务列表
export function getJobPage(params: JobPageReqVO) {
return defHttp.get({ url: '/infra/job/page', params })
}
// 任务详情
export function getJob(id: number) {
return defHttp.get({ url: `/infra/job/get?id=${id}` })
}
// 新增任务
export function createJob(data: JobVO) {
return defHttp.post({ url: '/infra/job/create', data })
}
// 修改定时任务调度
export function updateJob(data: JobVO) {
return defHttp.put({ url: '/infra/job/update', data })
}
// 删除定时任务调度
export function deleteJob(id: number) {
return defHttp.delete({ url: `/infra/job/delete?id=${id}` })
}
// 导出定时任务调度
export function exportJob(params: JobExportReqVO) {
return defHttp.download({ url: '/infra/job/export-excel', params }, '定时任务.xls')
}
// 任务状态修改
export function updateJobStatus(id: number, status: number) {
return defHttp.put({ url: `/infra/job/update-status?id=${id}&status=${status}` })
}
// 定时任务立即执行一次
export function runJob(id: number) {
return defHttp.put({ url: `/infra/job/trigger?id=${id}` })
}
// 获得定时任务的下 n 次执行时间
export function getJobNextTimes(id: number) {
return defHttp.get({ url: `/infra/job/get_next_times?id=${id}` })
}

46
src/api/infra/jobLog/index.ts

@ -1,46 +0,0 @@
import { defHttp } from '@/utils/http/axios'
export interface JobLogVO {
id: number
jobId: number
handlerName: string
handlerParam: string
cronExpression: string
executeIndex: string
beginTime: string
endTime: string
duration: string
status: number
createTime: string
}
export interface JobLogPageReqVO extends PageParam {
jobId?: number
handlerName?: string
beginTime?: string
endTime?: string
status?: number
}
export interface JobLogExportReqVO {
jobId?: number
handlerName?: string
beginTime?: string
endTime?: string
status?: number
}
// 任务日志列表
export function getJobLogPage(params: JobLogPageReqVO) {
return defHttp.get({ url: '/infra/job-log/page', params })
}
// 任务日志详情
export function getJobLog(id: number) {
return defHttp.get({ url: `/infra/job-log/get?id=${id}` })
}
// 导出定时任务日志
export function exportJobLog(params: JobLogExportReqVO) {
return defHttp.download({ url: '/infra/job-log/export-excel', params }, '定时任务日志.xls')
}

8
src/api/infra/redis/index.ts

@ -1,8 +0,0 @@
import { defHttp } from '@/utils/http/axios'
/**
* redis
*/
export function getCache() {
return defHttp.get({ url: '/infra/redis/get-monitor-info' })
}

185
src/api/infra/redis/types.ts

@ -1,185 +0,0 @@
export interface RedisMonitorInfoVO {
info: RedisInfoVO
dbSize: number
commandStats: RedisCommandStatsVO[]
}
export interface RedisInfoVO {
io_threaded_reads_processed: string
tracking_clients: string
uptime_in_seconds: string
cluster_connections: string
current_cow_size: string
maxmemory_human: string
aof_last_cow_size: string
master_replid2: string
mem_replication_backlog: string
aof_rewrite_scheduled: string
total_net_input_bytes: string
rss_overhead_ratio: string
hz: string
current_cow_size_age: string
redis_build_id: string
errorstat_BUSYGROUP: string
aof_last_bgrewrite_status: string
multiplexing_api: string
client_recent_max_output_buffer: string
allocator_resident: string
mem_fragmentation_bytes: string
aof_current_size: string
repl_backlog_first_byte_offset: string
tracking_total_prefixes: string
redis_mode: string
redis_git_dirty: string
aof_delayed_fsync: string
allocator_rss_bytes: string
repl_backlog_histlen: string
io_threads_active: string
rss_overhead_bytes: string
total_system_memory: string
loading: string
evicted_keys: string
maxclients: string
cluster_enabled: string
redis_version: string
repl_backlog_active: string
mem_aof_buffer: string
allocator_frag_bytes: string
io_threaded_writes_processed: string
instantaneous_ops_per_sec: string
used_memory_human: string
total_error_replies: string
role: string
maxmemory: string
used_memory_lua: string
rdb_current_bgsave_time_sec: string
used_memory_startup: string
used_cpu_sys_main_thread: string
lazyfree_pending_objects: string
aof_pending_bio_fsync: string
used_memory_dataset_perc: string
allocator_frag_ratio: string
arch_bits: string
used_cpu_user_main_thread: string
mem_clients_normal: string
expired_time_cap_reached_count: string
unexpected_error_replies: string
mem_fragmentation_ratio: string
aof_last_rewrite_time_sec: string
master_replid: string
aof_rewrite_in_progress: string
lru_clock: string
maxmemory_policy: string
run_id: string
latest_fork_usec: string
tracking_total_items: string
total_commands_processed: string
expired_keys: string
errorstat_ERR: string
used_memory: string
module_fork_in_progress: string
errorstat_WRONGPASS: string
aof_buffer_length: string
dump_payload_sanitizations: string
mem_clients_slaves: string
keyspace_misses: string
server_time_usec: string
executable: string
lazyfreed_objects: string
db0: string
used_memory_peak_human: string
keyspace_hits: string
rdb_last_cow_size: string
aof_pending_rewrite: string
used_memory_overhead: string
active_defrag_hits: string
tcp_port: string
uptime_in_days: string
used_memory_peak_perc: string
current_save_keys_processed: string
blocked_clients: string
total_reads_processed: string
expire_cycle_cpu_milliseconds: string
sync_partial_err: string
used_memory_scripts_human: string
aof_current_rewrite_time_sec: string
aof_enabled: string
process_supervised: string
master_repl_offset: string
used_memory_dataset: string
used_cpu_user: string
rdb_last_bgsave_status: string
tracking_total_keys: string
atomicvar_api: string
allocator_rss_ratio: string
client_recent_max_input_buffer: string
clients_in_timeout_table: string
aof_last_write_status: string
mem_allocator: string
used_memory_scripts: string
used_memory_peak: string
process_id: string
master_failover_state: string
errorstat_NOAUTH: string
used_cpu_sys: string
repl_backlog_size: string
connected_slaves: string
current_save_keys_total: string
gcc_version: string
total_system_memory_human: string
sync_full: string
connected_clients: string
module_fork_last_cow_size: string
total_writes_processed: string
allocator_active: string
total_net_output_bytes: string
pubsub_channels: string
current_fork_perc: string
active_defrag_key_hits: string
rdb_changes_since_last_save: string
instantaneous_input_kbps: string
used_memory_rss_human: string
configured_hz: string
expired_stale_perc: string
active_defrag_misses: string
used_cpu_sys_children: string
number_of_cached_scripts: string
sync_partial_ok: string
used_memory_lua_human: string
rdb_last_save_time: string
pubsub_patterns: string
slave_expires_tracked_keys: string
redis_git_sha1: string
used_memory_rss: string
rdb_last_bgsave_time_sec: string
os: string
mem_not_counted_for_evict: string
active_defrag_running: string
rejected_connections: string
aof_rewrite_buffer_length: string
total_forks: string
active_defrag_key_misses: string
allocator_allocated: string
aof_base_size: string
instantaneous_output_kbps: string
second_repl_offset: string
rdb_bgsave_in_progress: string
used_cpu_user_children: string
total_connections_received: string
migrate_cached_sockets: string
}
export interface RedisCommandStatsVO {
command: string
calls: number
usec: number
}
export interface RedisKeyInfo {
keyTemplate: string
keyType: string
valueType: string
timeoutType: number
timeout: number
memo: string
}

15
src/api/member/address/index.ts

@ -1,15 +0,0 @@
import { defHttp } from '@/utils/http/axios'
export interface AddressVO {
id: number
name: string
mobile: string
areaId: number
detailAddress: string
defaultStatus: boolean
}
// 查询用户收件地址列表
export function getAddressList(params) {
return defHttp.get({ url: '/member/address/list', params })
}

19
src/api/member/config/index.ts

@ -1,19 +0,0 @@
import { defHttp } from '@/utils/http/axios'
export interface ConfigVO {
id: number
pointTradeDeductEnable: number
pointTradeDeductUnitPrice: number
pointTradeDeductMaxPrice: number
pointTradeGivePoint: number
}
// 查询积分设置详情
export async function getConfig() {
return await defHttp.get({ url: '/member/config/get' })
}
// 新增修改积分设置
export async function saveConfig(data: ConfigVO) {
return await defHttp.put({ url: '/member/config/save', data })
}

38
src/api/member/group/index.ts

@ -1,38 +0,0 @@
import { defHttp } from '@/utils/http/axios'
export interface GroupVO {
id: number
name: string
remark: string
status: number
}
// 查询用户分组列表
export function getGroupPage(params: any) {
return defHttp.get({ url: '/member/group/page', params })
}
// 查询用户分组详情
export function getGroup(id: number) {
return defHttp.get({ url: `/member/group/get?id=${id}` })
}
// 新增用户分组
export function createGroup(data: GroupVO) {
return defHttp.post({ url: '/member/group/create', data })
}
// 查询用户分组 - 精简信息列表
export function getSimpleGroupList() {
return defHttp.get({ url: '/member/group/list-all-simple' })
}
// 修改用户分组
export function updateGroup(data: GroupVO) {
return defHttp.put({ url: '/member/group/update', data })
}
// 删除用户分组
export function deleteGroup(id: number) {
return defHttp.delete({ url: `/member/group/delete?id=${id}` })
}

42
src/api/member/level/index.ts

@ -1,42 +0,0 @@
import { defHttp } from '@/utils/http/axios'
export interface LevelVO {
id: number
name: string
experience: number
value: number
discountPercent: number
icon: string
bgUrl: string
status: number
}
// 查询会员等级列表
export function getLevelList(params) {
return defHttp.get({ url: '/member/level/list', params })
}
// 查询会员等级详情
export function getLevel(id: number) {
return defHttp.get({ url: `/member/level/get?id=${id}` })
}
// 查询会员等级 - 精简信息列表
export function getSimpleLevelList() {
return defHttp.get({ url: '/member/level/list-all-simple' })
}
// 新增会员等级
export function createLevel(data: LevelVO) {
return defHttp.post({ url: '/member/level/create', data })
}
// 修改会员等级
export function updateLevel(data: LevelVO) {
return defHttp.put({ url: '/member/level/update', data })
}
// 删除会员等级
export function deleteLevel(id: number) {
return defHttp.delete({ url: `/member/level/delete?id=${id}` })
}

19
src/api/member/point/config/index.ts

@ -1,19 +0,0 @@
import { defHttp } from '@/utils/http/axios'
export interface ConfigVO {
id: number
tradeDeductEnable: number
tradeDeductUnitPrice: number
tradeDeductMaxPrice: number
tradeGivePoint: number
}
// 查询积分设置详情
export function getConfig() {
return defHttp.get({ url: '/member/point/config/get' })
}
// 新增修改积分设置
export function saveConfig(data: ConfigVO) {
return defHttp.put({ url: '/member/point/config/save', data })
}

21
src/api/member/point/record/index.ts

@ -1,21 +0,0 @@
import { defHttp } from '@/utils/http/axios'
export interface RecordVO {
id: number
bizId: string
bizType: string
title: string
description: string
point: number
totalPoint: number
status: number
userId: number
freezingTime: Date
thawingTime: Date
createDate: Date
}
// 查询用户积分记录列表
export function getRecordPage(params) {
return defHttp.get({ url: '/member/point/record/page', params })
}

34
src/api/member/signin/config/index.ts

@ -1,34 +0,0 @@
import { defHttp } from '@/utils/http/axios'
export interface SignInConfigVO {
id?: number
day?: number
point?: number
experience?: number
status?: number
}
// 查询积分签到规则列表
export function getSignInConfigList() {
return defHttp.get({ url: '/member/sign-in/config/list' })
}
// 查询积分签到规则详情
export function getSignInConfig(id: number) {
return defHttp.get({ url: `/member/sign-in/config/get?id=${id}` })
}
// 新增积分签到规则
export function createSignInConfig(data: SignInConfigVO) {
return defHttp.post({ url: '/member/sign-in/config/create', data })
}
// 修改积分签到规则
export function updateSignInConfig(data: SignInConfigVO) {
return defHttp.put({ url: '/member/sign-in/config/update', data })
}
// 删除积分签到规则
export function deleteSignInConfig(id: number) {
return defHttp.delete({ url: `/member/sign-in/config/delete?id=${id}` })
}

13
src/api/member/signin/record/index.ts

@ -1,13 +0,0 @@
import { defHttp } from '@/utils/http/axios'
export interface SignInRecordVO {
id: number
userId: number
day: number
point: number
}
// 查询用户签到积分列表
export function getSignInRecordPage(params) {
return defHttp.get({ url: '/member/sign-in/record/page', params })
}

36
src/api/member/tag/index.ts

@ -1,36 +0,0 @@
import { defHttp } from '@/utils/http/axios'
export interface TagVO {
id: number
name: string
}
// 查询会员标签列表
export function getMemberTagPage(params) {
return defHttp.get({ url: '/member/tag/page', params })
}
// 查询会员标签详情
export function getMemberTag(id: number) {
return defHttp.get({ url: `/member/tag/get?id=${id}` })
}
// 查询会员标签 - 精简信息列表
export function getSimpleTagList() {
return defHttp.get({ url: '/member/tag/list-all-simple' })
}
// 新增会员标签
export function createMemberTag(data: TagVO) {
return defHttp.post({ url: '/member/tag/create', data })
}
// 修改会员标签
export function updateMemberTag(data: TagVO) {
return defHttp.put({ url: '/member/tag/update', data })
}
// 删除会员标签
export function deleteMemberTag(id: number) {
return defHttp.delete({ url: `/member/tag/delete?id=${id}` })
}

39
src/api/member/user/index.ts

@ -1,39 +0,0 @@
import { defHttp } from '@/utils/http/axios'
export interface UserVO {
id: number
mobile: string
password: string
status: number
registerIp: string
loginIp: string
loginDate: Date
nickname: string
avatar: string
name: string
sex: number
areaId: number
birthday: Date
mark: string
createTime: Date
}
// 查询会员用户列表
export function getUserPage(params) {
return defHttp.get({ url: '/member/user/page', params })
}
// 查询会员用户详情
export function getUser(id: number) {
return defHttp.get({ url: `/member/user/get?id=${id}` })
}
// 修改会员用户
export function updateUser(data: UserVO) {
return defHttp.put({ url: '/member/user/update', data })
}
// 修改会员用户等级
export function updateUserLevel(data: any) {
return defHttp.put({ url: '/member/user/update-level', data })
}

46
src/api/mp/account/index.ts

@ -1,46 +0,0 @@
import { defHttp } from '@/utils/http/axios'
export interface AccountVO {
id?: number
name: string
}
// 创建公众号账号
export function createAccount(data) {
return defHttp.post({ url: '/mp/account/create', data })
}
// 更新公众号账号
export function updateAccount(data) {
return defHttp.put({ url: '/mp/account/update', data })
}
// 删除公众号账号
export function deleteAccount(id) {
return defHttp.delete({ url: `/mp/account/delete?id=${id}`, method: 'delete' })
}
// 获得公众号账号
export function getAccount(id) {
return defHttp.get({ url: `/mp/account/get?id=${id}` })
}
// 获得公众号账号分页
export function getAccountPage(params) {
return defHttp.get({ url: '/mp/account/page', params })
}
// 获取公众号账号精简信息列表
export function getSimpleAccounts() {
return defHttp.get({ url: '/mp/account/list-all-simple' })
}
// 生成公众号二维码
export function generateAccountQrCode(id) {
return defHttp.put({ url: `/mp/account/generate-qr-code?id=${id}` })
}
// 清空公众号 API 配额
export function clearAccountQuota(id) {
return defHttp.put({ url: `/mp/account/clear-quota?id=${id}` })
}

26
src/api/mp/autoReply/index.ts

@ -1,26 +0,0 @@
import { defHttp } from '@/utils/http/axios'
// 创建公众号的自动回复
export function createAutoReply(data) {
return defHttp.post({ url: '/mp/auto-reply/create', data })
}
// 更新公众号的自动回复
export function updateAutoReply(data) {
return defHttp.put({ url: '/mp/auto-reply/update', data })
}
// 删除公众号的自动回复
export function deleteAutoReply(id) {
return defHttp.delete({ url: `/mp/auto-reply/delete?id=${id}` })
}
// 获得公众号的自动回复
export function getAutoReply(id) {
return defHttp.get({ url: `/mp/auto-reply/get?id=${id}` })
}
// 获得公众号的自动回复分页
export function getAutoReplyPage(params) {
return defHttp.get({ url: '/mp/auto-reply/page', params })
}

26
src/api/mp/draft/index.ts

@ -1,26 +0,0 @@
import { defHttp } from '@/utils/http/axios'
// 获得公众号草稿分页
export function getDraftPage(params) {
return defHttp.get({ url: '/mp/draft/page', params })
}
// 创建公众号草稿
export function createDraft(accountId, articles) {
return defHttp.post({
url: `/mp/draft/create?accountId=${accountId}`,
data: {
articles,
},
})
}
// 更新公众号草稿
export function updateDraft(accountId, mediaId, articles) {
return defHttp.put({ url: `/mp/draft/update?accountId=${accountId}&mediaId=${mediaId}`, data: articles })
}
// 删除公众号草稿
export function deleteDraft(accountId, mediaId) {
return defHttp.delete({ url: `/mp/draft/delete?accountId=${accountId}&mediaId=${mediaId}` })
}

16
src/api/mp/freePublish/index.ts

@ -1,16 +0,0 @@
import { defHttp } from '@/utils/http/axios'
// 获得公众号素材分页
export function getFreePublishPage(params) {
return defHttp.get({ url: '/mp/free-publish/page', params })
}
// 删除公众号素材
export function deleteFreePublish(accountId, articleId) {
return defHttp.delete({ url: `/mp/free-publish/delete?accountId=${accountId}&&articleId=${articleId}` })
}
// 发布公众号素材
export function submitFreePublish(accountId, mediaId) {
return defHttp.post({ url: `/mp/free-publish/submit?accountId=${accountId}&&mediaId=${mediaId}` })
}

11
src/api/mp/material/index.ts

@ -1,11 +0,0 @@
import { defHttp } from '@/utils/http/axios'
// 获得公众号素材分页
export function getMaterialPage(params) {
return defHttp.get({ url: '/mp/material/page', params })
}
// 删除公众号永久素材
export function deletePermanentMaterial(id) {
return defHttp.delete({ url: `/mp/material/delete-permanent?id=${id}` })
}

22
src/api/mp/menu/index.ts

@ -1,22 +0,0 @@
import { defHttp } from '@/utils/http/axios'
// 获得公众号菜单列表
export function getMenuList(accountId) {
return defHttp.get({ url: `/mp/menu/list?accountId=${accountId}` })
}
// 保存公众号菜单
export function saveMenu(accountId, menus) {
return defHttp.post({
url: '/mp/menu/save',
data: {
accountId,
menus,
},
})
}
// 删除公众号菜单
export function deleteMenu(accountId) {
return defHttp.delete({ url: `/mp/menu/delete?accountId=${accountId}` })
}

11
src/api/mp/message/index.ts

@ -1,11 +0,0 @@
import { defHttp } from '@/utils/http/axios'
// 获得公众号消息分页
export function getMessagePage(params) {
return defHttp.get({ url: '/mp/message/page', params })
}
// 给粉丝发送消息
export function sendMessage(data) {
return defHttp.post({ url: '/mp/message/send', data })
}

21
src/api/mp/mpuser/index.ts

@ -1,21 +0,0 @@
import { defHttp } from '@/utils/http/axios'
// 更新公众号粉丝
export function updateUser(data) {
return defHttp.put({ url: '/mp/user/update', data })
}
// 获得公众号粉丝
export function getUser(id) {
return defHttp.get({ url: `/mp/user/get?id=${id}` })
}
// 获得公众号粉丝分页
export function getUserPage(params) {
return defHttp.get({ url: '/mp/user/page', params })
}
// 同步公众号粉丝
export function syncUser(accountId) {
return defHttp.post({ url: `/mp/user/sync?accountId=${accountId}` })
}

21
src/api/mp/statistics/index.ts

@ -1,21 +0,0 @@
import { defHttp } from '@/utils/http/axios'
// 获取消息发送概况数据
export function getUpstreamMessage(params) {
return defHttp.get({ url: '/mp/statistics/upstream-message', params })
}
// 用户增减数据
export function getUserSummary(params) {
return defHttp.get({ url: '/mp/statistics/user-summary', params })
}
// 获得用户累计数据
export function getUserCumulate(params) {
return defHttp.get({ url: '/mp/statistics/user-cumulate', params })
}
// 获得接口分析数据
export function getInterfaceSummary(params) {
return defHttp.get({ url: '/mp/statistics/interface-summary', params })
}

36
src/api/mp/tag/index.ts

@ -1,36 +0,0 @@
import { defHttp } from '@/utils/http/axios'
// 创建公众号标签
export function createTag(data) {
return defHttp.post({ url: '/mp/tag/create', data })
}
// 更新公众号标签
export function updateTag(data) {
return defHttp.put({ url: '/mp/tag/update', data })
}
// 删除公众号标签
export function deleteTag(id) {
return defHttp.delete({ url: `/mp/tag/delete?id=${id}` })
}
// 获得公众号标签
export function getTag(id) {
return defHttp.get({ url: `/mp/tag/get?id=${id}` })
}
// 获得公众号标签分页
export function getTagPage(params) {
return defHttp.get({ url: '/mp/tag/page', params })
}
// 获取公众号标签精简信息列表
export function getSimpleTags() {
return defHttp.get({ url: '/mp/tag/list-all-simple' })
}
// 同步公众号标签
export function syncTag(accountId) {
return defHttp.post({ url: `/mp/tag/sync?accountId=${accountId}` })
}

63
src/api/pay/app/index.ts

@ -1,63 +0,0 @@
import { defHttp } from '@/utils/http/axios'
export interface AppVO {
id: number
name: string
status: number
remark: string
payNotifyUrl: string
refundNotifyUrl: string
merchantId: number
merchantName: string
createTime: Date
}
export interface AppPageReqVO extends PageParam {
name?: string
status?: number
remark?: string
payNotifyUrl?: string
refundNotifyUrl?: string
merchantName?: string
createTime?: Date[]
}
export interface AppUpdateStatusReqVO {
id: number
status: number
}
// 查询列表支付应用
export function getAppPage(params: AppPageReqVO) {
return defHttp.get({ url: '/pay/app/page', params })
}
// 查询详情支付应用
export function getApp(id: number) {
return defHttp.get({ url: `/pay/app/get?id=${id}` })
}
// 新增支付应用
export function createApp(data: AppVO) {
return defHttp.post({ url: '/pay/app/create', data })
}
// 修改支付应用
export function updateApp(data: AppVO) {
return defHttp.put({ url: '/pay/app/update', data })
}
// 支付应用信息状态修改
export function changeAppStatus(data: AppUpdateStatusReqVO) {
return defHttp.put({ url: '/pay/app/update-status', data })
}
// 删除支付应用
export function deleteApp(id: number) {
return defHttp.delete({ url: `/pay/app/delete?id=${id}` })
}
// 获得支付应用列表
export function getAppList() {
return defHttp.get({ url: '/pay/app/list' })
}

69
src/api/pay/channel/index.ts

@ -1,69 +0,0 @@
import { defHttp } from '@/utils/http/axios'
export interface ChannelVO {
id: number
code: string
config: string
status: number
remark: string
feeRate: number
merchantId: number
appId: number
createTime: Date
}
export interface ChannelPageReqVO extends PageParam {
code?: string
status?: number
remark?: string
feeRate?: number
merchantId?: number
appId?: number
config?: string
createTime?: Date[]
}
export interface ChannelExportReqVO {
code?: string
status?: number
remark?: string
feeRate?: number
merchantId?: number
appId?: number
config?: string
createTime?: Date[]
}
// 查询列表支付渠道
export function getChannelPage(params: PageParam) {
return defHttp.get({ url: '/pay/channel/page', params })
}
// 查询详情支付渠道
export function getChannel(appId: string, code: string) {
const params = {
appId,
code,
}
return defHttp.get({ url: '/pay/channel/get', params })
}
// 新增支付渠道
export function createChannel(data: ChannelVO) {
return defHttp.post({ url: '/pay/channel/create', data })
}
// 修改支付渠道
export function updateChannel(data: ChannelVO) {
return defHttp.put({ url: '/pay/channel/update', data })
}
// 删除支付渠道
export function deleteChannel(id: number) {
return defHttp.delete({ url: `/pay/channel/delete?id=${id}` })
}
// 导出支付渠道
export function exportChannel(params) {
return defHttp.download({ url: '/pay/channel/export-excel', params }, '支付渠道.xls')
}

21
src/api/pay/demo/index.ts

@ -1,21 +0,0 @@
import { defHttp } from '@/utils/http/axios'
// 获得示例订单分页
export function getDemoOrderPage(params) {
return defHttp.get({ url: '/pay/demo-order/page', params })
}
// 获得示例订单
export function getDemoOrder(id: number) {
return defHttp.get({ url: `/pay/demo-order/get?id=${id}` })
}
// 创建示例订单
export function createDemoOrder(data) {
return defHttp.post({ url: '/pay/demo-order/create', data })
}
// 退款示例订单
export function refundDemoOrder(id: number) {
return defHttp.put({ url: `/pay/demo-order/refund?id=${id}` })
}

11
src/api/pay/notify/index.ts

@ -1,11 +0,0 @@
import { defHttp } from '@/utils/http/axios'
// 获得支付通知明细
export function getNotifyTaskDetail(id) {
return defHttp.get({ url: `/pay/notify/get-detail?id=${id}` })
}
// 获得支付通知分页
export function getNotifyTaskPage(params) {
return defHttp.get({ url: '/pay/notify/page', params })
}

104
src/api/pay/order/index.ts

@ -1,104 +0,0 @@
import { defHttp } from '@/utils/http/axios'
export interface OrderVO {
id: number
merchantId: number
appId: number
channelId: number
channelCode: string
merchantOrderId: string
subject: string
body: string
notifyUrl: string
notifyStatus: number
amount: number
channelFeeRate: number
channelFeeAmount: number
status: number
userIp: string
expireTime: Date
successTime: Date
notifyTime: Date
successExtensionId: number
refundStatus: number
refundTimes: number
refundAmount: number
channelUserId: string
channelOrderNo: string
createTime: Date
}
export interface OrderPageReqVO extends PageParam {
merchantId?: number
appId?: number
channelId?: number
channelCode?: string
merchantOrderId?: string
subject?: string
body?: string
notifyUrl?: string
notifyStatus?: number
amount?: number
channelFeeRate?: number
channelFeeAmount?: number
status?: number
expireTime?: Date[]
successTime?: Date[]
notifyTime?: Date[]
successExtensionId?: number
refundStatus?: number
refundTimes?: number
channelUserId?: string
channelOrderNo?: string
createTime?: Date[]
}
export interface OrderExportReqVO {
merchantId?: number
appId?: number
channelId?: number
channelCode?: string
merchantOrderId?: string
subject?: string
body?: string
notifyUrl?: string
notifyStatus?: number
amount?: number
channelFeeRate?: number
channelFeeAmount?: number
status?: number
expireTime?: Date[]
successTime?: Date[]
notifyTime?: Date[]
successExtensionId?: number
refundStatus?: number
refundTimes?: number
channelUserId?: string
channelOrderNo?: string
createTime?: Date[]
}
// 查询列表支付订单
export function getOrderPage(params: OrderPageReqVO) {
return defHttp.get({ url: '/pay/order/page', params })
}
// 查询详情支付订单
export function getOrder(id: number) {
return defHttp.get({ url: `/pay/order/get?id=${id}` })
}
// 获得支付订单的明细
export function getOrderDetail(id: number) {
return defHttp.get({ url: `/pay/order/get-detail?id=${id}` })
}
// 提交支付订单
export function submitOrder(data: any) {
return defHttp.post({ url: '/pay/order/submit', data })
}
// 导出支付订单
export function exportOrder(params: OrderExportReqVO) {
return defHttp.download({ url: '/pay/order/export-excel', params })
}

116
src/api/pay/refund/index.ts

@ -1,116 +0,0 @@
import { defHttp } from '@/utils/http/axios'
export interface RefundVO {
id: number
merchantId: number
appId: number
channelId: number
channelCode: string
orderId: string
tradeNo: string
merchantOrderId: string
merchantRefundNo: string
notifyUrl: string
notifyStatus: number
status: number
type: number
payAmount: number
refundAmount: number
reason: string
userIp: string
channelOrderNo: string
channelRefundNo: string
channelErrorCode: string
channelErrorMsg: string
channelExtras: string
expireTime: Date
successTime: Date
notifyTime: Date
createTime: Date
}
export interface RefundPageReqVO extends PageParam {
merchantId?: number
appId?: number
channelId?: number
channelCode?: string
orderId?: string
tradeNo?: string
merchantOrderId?: string
merchantRefundNo?: string
notifyUrl?: string
notifyStatus?: number
status?: number
type?: number
payAmount?: number
refundAmount?: number
reason?: string
userIp?: string
channelOrderNo?: string
channelRefundNo?: string
channelErrorCode?: string
channelErrorMsg?: string
channelExtras?: string
expireTime?: Date[]
successTime?: Date[]
notifyTime?: Date[]
createTime?: Date[]
}
export interface PayRefundExportReqVO {
merchantId?: number
appId?: number
channelId?: number
channelCode?: string
orderId?: string
tradeNo?: string
merchantOrderId?: string
merchantRefundNo?: string
notifyUrl?: string
notifyStatus?: number
status?: number
type?: number
payAmount?: number
refundAmount?: number
reason?: string
userIp?: string
channelOrderNo?: string
channelRefundNo?: string
channelErrorCode?: string
channelErrorMsg?: string
channelExtras?: string
expireTime?: Date[]
successTime?: Date[]
notifyTime?: Date[]
createTime?: Date[]
}
// 查询列表退款订单
export function getRefundPage(params: RefundPageReqVO) {
return defHttp.get({ url: '/pay/refund/page', params })
}
// 查询详情退款订单
export function getRefund(id: number) {
return defHttp.get({ url: `/pay/refund/get?id=${id}` })
}
// 新增退款订单
export function createRefund(data: RefundVO) {
return defHttp.post({ url: '/pay/refund/create', data })
}
// 修改退款订单
export function updateRefund(data: RefundVO) {
return defHttp.put({ url: '/pay/refund/update', data })
}
// 删除退款订单
export function deleteRefund(id: number) {
return defHttp.delete({ url: `/pay/refund/delete?id=${id}` })
}
// 导出退款订单
export function exportRefund(params: PayRefundExportReqVO) {
return defHttp.download({ url: '/pay/refund/export-excel', params }, '退款订单.xls')
}

BIN
src/assets/images/demo.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

1
src/assets/images/pay/icon/alipay_app.svg

@ -1 +0,0 @@
<svg t="1627279997305" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="11904" width="40" height="40"><path d="M938.7008 669.525333L938.7008 249.412267c0-90.555733-73.5232-164.078933-164.1472-164.078933L249.378133 85.333333c-90.555733 0-164.078933 73.48906699-164.078933 164.078933l0 525.2096c0 90.555733 73.454933 164.078933 164.07893301 164.078933l525.20959999 0c80.725333 0 147.8656-58.368 161.553067-135.099733-43.52-18.8416-232.106667-100.283733-330.376533-147.182933-74.786133 90.589867-153.088 144.930133-271.121067 144.930133s-196.81279999-72.704-187.357867-161.655467c6.2464-58.402133 46.2848-153.9072 220.296533-137.5232 91.682133 8.6016 133.666133 25.736533 208.418133 50.414933 19.3536-35.4304 35.4304-74.513067 47.616-116.0192L292.0448 436.565333l0-32.8704 164.0448 0 0-58.9824L256 344.712533l1e-8-36.181333 200.12373299 0L456.123733 223.3344c0 0 1.809067-13.312 16.520533-13.31200001l82.056533 1e-8 0 98.474667 213.333333 0 0 36.181333-213.333333 1e-8 0 58.98239999 174.045867 0c-16.00853301 65.1264-40.277333 124.962133-70.690133 177.220267C708.608 599.176533 938.7008 669.525333 938.7008 669.525333L938.7008 669.525333 938.7008 669.525333 938.7008 669.525333zM321.57013299 744.994133c-124.7232 0-144.452267-78.7456-137.83039999-111.65013299 6.5536-32.733867 42.666667-75.502933 112.0256-75.50293301 79.6672 0 151.04 20.445867 236.714667 62.088533C472.302933 698.333867 398.370133 744.994133 321.57013299 744.994133L321.57013299 744.994133 321.57013299 744.994133zM321.57013299 744.994133" fill="#1296db" p-id="11905"></path></svg>

Before

Width:  |  Height:  |  Size: 1.6 KiB

2
src/assets/images/pay/icon/alipay_bar.svg

@ -1,2 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1627279586085" class="icon" viewBox="0 0 1036 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6737" xmlns:xlink="http://www.w3.org/1999/xlink" width="40.46875" height="40"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.eot?#iefix") format("embedded-opentype"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.woff2") format("woff2"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.woff") format("woff"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.ttf") format("truetype"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.svg#iconfont") format("svg"); }
</style></defs><path d="M27.587124 336.619083h69.148134a13.978733 13.978733 0 0 0 13.79235-13.978733V13.989916A13.978733 13.978733 0 0 0 96.735258 0.011183H27.587124a13.978733 13.978733 0 0 0-13.792351 13.978733v308.650434a13.978733 13.978733 0 0 0 13.792351 13.978733z m165.880969 0h27.584701a13.978733 13.978733 0 0 0 13.79235-13.978733V13.989916a13.978733 13.978733 0 0 0-13.79235-13.978733h-27.584701a13.978733 13.978733 0 0 0-13.79235 13.978733v308.650434a13.978733 13.978733 0 0 0 13.79235 13.978733z m138.109886 322.629167h-110.525185a27.771084 27.771084 0 0 0-27.584701 28.14385v111.829867a27.771084 27.771084 0 0 0 27.584701 28.14385h110.525185a27.957467 27.957467 0 0 0 27.584701-28.14385v-111.829867a27.957467 27.957467 0 0 0-27.584701-28.14385z m484.596091-322.629167h27.584701a13.978733 13.978733 0 0 0 13.79235-13.978733V13.989916a13.978733 13.978733 0 0 0-14.537883-13.978733h-27.5847a13.978733 13.978733 0 0 0-13.978734 13.978733v308.650434a13.978733 13.978733 0 0 0 13.978734 13.978733z m-469.871825 0H428.68358a13.978733 13.978733 0 0 0 13.792351-13.978733V13.989916A13.978733 13.978733 0 0 0 428.68358 0.011183h-83.126867a13.978733 13.978733 0 0 0-13.792351 13.978733v308.650434a13.978733 13.978733 0 0 0 13.792351 13.978733z m594.189361 0h69.148134a13.978733 13.978733 0 0 0 13.792351-13.978733V13.989916a13.978733 13.978733 0 0 0-14.537883-13.978733h-69.148135a13.978733 13.978733 0 0 0-13.79235 13.978733v308.650434a13.978733 13.978733 0 0 0 13.79235 13.978733z m-412.279444 126.181367H66.91396A67.470687 67.470687 0 0 0 0.002423 530.830286v425.139878a67.470687 67.470687 0 0 0 66.911537 68.029836h418.802853a67.470687 67.470687 0 0 0 66.911537-68.029836V487.775787a24.788954 24.788954 0 0 0-24.416188-24.975337z m-58.337914 433.899885a42.681733 42.681733 0 0 1-42.495349 43.054498H125.438257a42.681733 42.681733 0 0 1-42.495349-43.054498V590.100115a42.681733 42.681733 0 0 1 42.495349-43.054498h301.940642a42.681733 42.681733 0 0 1 42.495349 43.054498z m525.22761-433.899885a41.749817 41.749817 0 0 0-41.377051 42.122583v55.914934a41.377051 41.377051 0 1 0 82.940485 0v-55.914934a41.749817 41.749817 0 0 0-41.563434-42.122583z m0 223.659734a41.749817 41.749817 0 0 0-41.377051 42.122584V894.65012a45.477479 45.477479 0 0 1-45.291096 45.850246h-159.730327a43.240882 43.240882 0 0 0-43.613649 37.276622A41.9362 41.9362 0 0 0 745.534871 1024h233.538039a57.778765 57.778765 0 0 0 57.405999-58.337914V729.3283a41.749817 41.749817 0 0 0-41.377051-41.9362zM732.488053 322.64035V13.989916a13.978733 13.978733 0 0 0-13.79235-13.978733h-82.940485a13.978733 13.978733 0 0 0-13.79235 13.978733v308.650434a13.978733 13.978733 0 0 0 13.79235 13.978733h82.940485a13.978733 13.978733 0 0 0 13.79235-13.978733zM532.126208 0.011183c-11.36937 0-20.688525 6.337026-20.688526 13.978733v308.650434c0 7.828091 9.319156 13.978733 20.688526 13.978733s20.688525-6.337026 20.688525-13.978733V13.989916c0-7.641708-9.319156-13.978733-20.688525-13.978733z" p-id="6738" fill="#1977FD"></path><path d="M745.534871 462.80045a41.749817 41.749817 0 0 0-41.377051 42.122583v252.549117a41.377051 41.377051 0 1 0 82.940485 0V504.923033A41.749817 41.749817 0 0 0 745.534871 462.80045" p-id="6739" fill="#1977FD"></path></svg>

Before

Width:  |  Height:  |  Size: 3.9 KiB

1
src/assets/images/pay/icon/alipay_pc.svg

@ -1 +0,0 @@
<svg t="1627279878333" class="icon" viewBox="0 0 1285 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8535" width="40" height="40"><path d="M1141.76 855.04h-286.72c0 40.96 30.72 71.68 71.68 71.68h107.52c20.48 0 35.84 15.36 35.84 35.84s-15.36 35.84-35.84 35.84h-783.36c-20.48 0-35.84-15.36-35.84-35.84s15.36-35.84 35.84-35.84h107.52c40.96 0 71.68-30.72 71.68-71.68h-286.72c-76.8 0-143.36-61.44-143.36-143.36v-568.32c0-76.8 61.44-143.36 143.36-143.36h993.28c76.8 0 143.36 61.44 143.36 143.36v568.32c5.12 76.8-56.32 143.36-138.24 143.36z m71.68-711.68c0-40.96-30.72-71.68-71.68-71.68h-993.28c-40.96 0-71.68 30.72-71.68 71.68v568.32c0 40.96 30.72 71.68 71.68 71.68h993.28c40.96 0 71.68-30.72 71.68-71.68v-568.32z m-143.36 568.32h-855.04c-40.96 0-71.68-30.72-71.68-71.68v-424.96c0-40.96 30.72-71.68 71.68-71.68h855.04c40.96 0 71.68 30.72 71.68 71.68v424.96c0 40.96-30.72 71.68-71.68 71.68z" p-id="8536" fill="#1977FD"></path></svg>

Before

Width:  |  Height:  |  Size: 939 B

2
src/assets/images/pay/icon/alipay_qr.svg

@ -1,2 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1627279238245" class="icon" viewBox="0 0 1115 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4112" width="43.5546875" height="40" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.eot?#iefix") format("embedded-opentype"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.woff2") format("woff2"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.woff") format("woff"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.ttf") format("truetype"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.svg#iconfont") format("svg"); }
</style></defs><path d="M751.388 68.267a34.133 34.133 0 0 1 0-68.267h227.556a91.022 91.022 0 0 1 91.022 91.022v227.556a34.133 34.133 0 1 1-68.266 0V91.022a22.756 22.756 0 0 0-22.756-22.755H751.388M1001.7 705.422a34.133 34.133 0 0 1 68.266 0v227.556A91.022 91.022 0 0 1 978.944 1024H748.885a34.133 34.133 0 0 1 0-68.267H978.49a22.756 22.756 0 0 0 22.755-22.755V705.422M364.09 955.733a34.133 34.133 0 1 1 0 68.267H136.533a91.022 91.022 0 0 1-91.022-91.022V705.422a34.133 34.133 0 0 1 68.267 0v227.556a22.756 22.756 0 0 0 22.755 22.755H364.09M113.778 318.578a34.133 34.133 0 1 1-68.267 0V91.022A91.022 91.022 0 0 1 136.533 0H364.09a34.133 34.133 0 0 1 0 68.267H136.533a22.756 22.756 0 0 0-22.755 22.755v227.556M34.133 477.867a34.133 34.133 0 0 0 0 68.266h168.619v-68.266z m1046.756 0H912.27v68.266h168.619a34.133 34.133 0 0 0 0-68.266zM202.752 157.24h709.746v320.627H202.752z m0 388.893h709.746V866.76H202.752z" fill="#1977FD" p-id="4113"></path></svg>

Before

Width:  |  Height:  |  Size: 1.7 KiB

1
src/assets/images/pay/icon/alipay_wap.svg

@ -1 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1645964864184" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8460" xmlns:xlink="http://www.w3.org/1999/xlink" width="40" height="40"><defs><style type="text/css"></style></defs><path d="M768.3 0 255.7 0c-70.8 0-128.1 57.4-128.1 128.1l0 767.8c0 70.8 57.4 128.1 128.1 128.1L512 1024l256.3 0c70.8 0 128.1-57.4 128.1-128.1L896.4 128.1C896.4 57.3 839 0 768.3 0zM383.9 96.1c0-17.7 14.3-32 32-32l192.2 0c17.7 0 32 14.3 32 32l0 0c0 17.7-14.3 32-32 32L415.9 128.1C398.2 128.1 383.9 113.8 383.9 96.1L383.9 96.1zM512 959.9 512 959.9 512 959.9c-35.4 0-64.1-28.8-64.1-64.1 0-35.4 28.7-64.1 64.1-64.1l0 0 0 0c35.4 0 64.1 28.7 64.1 64.1C576.1 931.1 547.4 959.9 512 959.9zM832.3 755.6c0 6.7-5.4 12.2-12.2 12.2L203.9 767.8c-6.7 0-12.2-5.4-12.2-12.2L191.7 204.3c0-6.7 5.4-12.2 12.2-12.2l616.3 0c6.7 0 12.2 5.4 12.2 12.2L832.4 755.6z" p-id="8461" fill="#1977FD"></path></svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

1
src/assets/images/pay/icon/mock.svg

@ -1 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1676209854312" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3033" xmlns:xlink="http://www.w3.org/1999/xlink" width="128" height="128"><path d="M173.077333 362.666667l91.114667-214.677334a65.6 65.6 0 0 1 86.016-34.773333c11.584 4.906667 24.96 10.282667 40.896 16.448 8.277333 3.2 16.789333 6.464 27.904 10.666667 28.202667 10.709333 39.296 14.933333 46.144 17.642666l51.477333-51.669333c28.181333-28.16 74.112-27.946667 102.570667 0.533333l195.925333 195.925334c16.426667 16.426667 23.445333 38.634667 21.056 59.904H896a42.666667 42.666667 0 0 1 42.666667 42.666666v490.666667a42.666667 42.666667 0 0 1-42.666667 42.666667H128a42.666667 42.666667 0 0 1-42.666667-42.666667V405.333333a42.666667 42.666667 0 0 1 42.666667-42.666666h45.077333z m48.96 0h39.104l169.194667-169.770667-27.328-10.389333c-11.2-4.245333-19.818667-7.530667-28.224-10.794667a1459.2 1459.2 0 0 1-42.197333-17.002667 20.522667 20.522667 0 0 0-26.901334 10.88L222.037333 362.666667z m108.842667 0h454.954667a23.509333 23.509333 0 0 0-5.290667-25.322667l-195.925333-195.925333a23.36 23.36 0 0 0-33.024-0.213334L330.88 362.666667zM128 405.333333v490.666667h768V405.333333H128z m597.333333 320a85.333333 85.333333 0 1 1 0-170.666666 85.333333 85.333333 0 0 1 0 170.666666z m0-42.666666a42.666667 42.666667 0 1 0 0-85.333334 42.666667 42.666667 0 0 0 0 85.333334z" fill="#4296d5" p-id="3034"></path></svg>

Before

Width:  |  Height:  |  Size: 1.5 KiB

2
src/assets/images/pay/icon/wx_app.svg

@ -1,2 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1627279375144" class="icon" viewBox="0 0 1115 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4399" width="43.5546875" height="40" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.eot?#iefix") format("embedded-opentype"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.woff2") format("woff2"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.woff") format("woff"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.ttf") format("truetype"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.svg#iconfont") format("svg"); }
</style></defs><path d="M751.388 68.267a34.133 34.133 0 0 1 0-68.267h227.556a91.022 91.022 0 0 1 91.022 91.022v227.556a34.133 34.133 0 1 1-68.266 0V91.022a22.756 22.756 0 0 0-22.756-22.755H751.388M1001.7 705.422a34.133 34.133 0 0 1 68.266 0v227.556A91.022 91.022 0 0 1 978.944 1024H748.885a34.133 34.133 0 0 1 0-68.267H978.49a22.756 22.756 0 0 0 22.755-22.755V705.422M364.09 955.733a34.133 34.133 0 1 1 0 68.267H136.533a91.022 91.022 0 0 1-91.022-91.022V705.422a34.133 34.133 0 0 1 68.267 0v227.556a22.756 22.756 0 0 0 22.755 22.755H364.09M113.778 318.578a34.133 34.133 0 1 1-68.267 0V91.022A91.022 91.022 0 0 1 136.533 0H364.09a34.133 34.133 0 0 1 0 68.267H136.533a22.756 22.756 0 0 0-22.755 22.755v227.556M34.133 477.867a34.133 34.133 0 0 0 0 68.266h168.619v-68.266z m1046.756 0H912.27v68.266h168.619a34.133 34.133 0 0 0 0-68.266zM202.752 157.24h709.746v320.627H202.752z m0 388.893h709.746V866.76H202.752z" fill="#04C361" p-id="4400"></path></svg>

Before

Width:  |  Height:  |  Size: 1.7 KiB

1
src/assets/images/pay/icon/wx_lite.svg

@ -1 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1676209433089" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2990" xmlns:xlink="http://www.w3.org/1999/xlink" width="128" height="128"><path d="M608.6 290.3c67.1 0 121.7 50.5 121.7 112.9 0 19.4-5.6 38.4-15.7 55.5-15.3 25-39.8 43.5-69.4 52.3-7.9 2.3-13.9 3.2-19.4 3.2-13 0-23.1-10.2-23.1-23.1 0-13 10.2-23.1 23.1-23.1 0.9 0 2.8 0 5.1-0.9 19.9-5.6 35.6-17.1 44.4-32.4 6-9.7 8.8-20.4 8.8-31.5 0-36.6-33.8-66.6-75-66.6-14.4 0-28.2 3.7-40.7 10.6-21.8 12.5-34.7 33.3-34.7 56v193.9c0 39.3-21.8 75.4-57.9 95.8-19.4 11.1-41.2 16.7-63.4 16.7-67.1 0-121.7-50.5-121.7-112.9 0-19.4 5.6-38.4 15.7-55.5 15.3-25 39.8-43.5 69.4-52.3 8.3-2.3 13.9-3.2 19.4-3.2 13 0 23.1 10.2 23.1 23.1 0 13-10.2 23.1-23.1 23.1-0.9 0-2.8 0-5.1 0.9-19.9 6-35.6 17.6-44.4 32.4-6 9.7-8.8 20.4-8.8 31.5 0 36.6 33.8 66.6 75.4 66.6 14.4 0 28.2-3.7 40.7-10.6 21.8-12.5 34.7-33.3 34.7-56V403.3c0-39.3 21.8-75.4 57.9-95.8 19-11.6 40.7-17.2 63-17.2zM510.8 929c231.1 0 418.4-187.3 418.4-418.4S741.9 92.1 510.8 92.1 92.4 279.5 92.4 510.6 279.7 929 510.8 929z m0 22C267.5 951 70.3 753.8 70.3 510.6S267.5 70.1 510.8 70.1s440.5 197.2 440.5 440.5S754.1 951 510.8 951z" p-id="2991" fill="#58bf6b"></path></svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB

2
src/assets/images/pay/icon/wx_pub.svg

@ -1,2 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1627279797174" class="icon" viewBox="0 0 1260 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7665" xmlns:xlink="http://www.w3.org/1999/xlink" width="49.21875" height="40"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.eot?#iefix") format("embedded-opentype"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.woff2") format("woff2"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.woff") format("woff"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.ttf") format("truetype"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.svg#iconfont") format("svg"); }
</style></defs><path d="M797.14798 481.753a269.194 269.194 0 0 0 102.892-211.929C900.03998 120.99 779.02998 0 630.15698 0 481.28298 0 360.27398 120.99 360.27398 269.824c0 85.878 40.33 162.462 102.912 211.929A450.974 450.974 0 0 0 309.84198 582.774c-85.543 85.524-132.608 199.208-132.608 320.236 0 25.01 0 51.712 0.197 76.367a44.898 44.898 0 0 0 44.82 44.623h816.01a44.8 44.8 0 0 0 44.82-44.623V903.01c0-121.009-47.066-234.732-132.609-320.236a451.072 451.072 0 0 0-153.344-101.021z" p-id="7666" fill="#04C361"></path><path d="M1186.18898 580.391A378.644 378.644 0 0 0 1061.81198 473.03a223.783 223.783 0 0 0 64.237-157.657c0-49.742-15.872-96.67-45.746-136.074A225.34 225.34 0 0 0 964.70998 99.9a37.297 37.297 0 0 0-46.14 25.718c-5.592 19.89 5.79 40.724 25.6 46.356 63.114 18.196 107.363 77.135 107.363 143.4a148.913 148.913 0 0 1-81.23 133.06 38.065 38.065 0 0 0-20.363 36.608c1.32 15.203 11.58 28.16 25.975 32.65 125.479 39.601 209.703 155.038 209.703 287.173v63.074c0 20.638 16.62 37.534 37.16 37.711h0.196a37.396 37.396 0 0 0 37.337-37.336V805.06c-0.197-81.644-25.777-159.35-74.142-224.69z m-901.77-62.503a36.982 36.982 0 0 0 25.955-32.65 37.455 37.455 0 0 0-20.362-36.628 148.913 148.913 0 0 1-81.231-133.06c0-66.245 44.071-125.184 107.382-143.4a37.612 37.612 0 0 0 25.58-46.356 37.376 37.376 0 0 0-46.139-25.718 225.32 225.32 0 0 0-115.593 79.4 223.252 223.252 0 0 0-45.746 136.074c0 60.258 23.533 116.381 64.237 157.676A380.475 380.475 0 0 0 74.14498 580.569 373.839 373.839 0 0 0 0.00198 805.258v63.232c0 20.657 16.798 37.356 37.356 37.356h0.197a37.317 37.317 0 0 0 37.14-37.73V805.06c0-132.332 84.401-247.769 209.723-287.173z" p-id="7667" fill="#04C361"></path></svg>

Before

Width:  |  Height:  |  Size: 2.4 KiB

1
src/assets/svg/pay/icon/alipay_app.svg

@ -1 +0,0 @@
<svg t="1627279997305" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="11904" width="40" height="40"><path d="M938.7008 669.525333L938.7008 249.412267c0-90.555733-73.5232-164.078933-164.1472-164.078933L249.378133 85.333333c-90.555733 0-164.078933 73.48906699-164.078933 164.078933l0 525.2096c0 90.555733 73.454933 164.078933 164.07893301 164.078933l525.20959999 0c80.725333 0 147.8656-58.368 161.553067-135.099733-43.52-18.8416-232.106667-100.283733-330.376533-147.182933-74.786133 90.589867-153.088 144.930133-271.121067 144.930133s-196.81279999-72.704-187.357867-161.655467c6.2464-58.402133 46.2848-153.9072 220.296533-137.5232 91.682133 8.6016 133.666133 25.736533 208.418133 50.414933 19.3536-35.4304 35.4304-74.513067 47.616-116.0192L292.0448 436.565333l0-32.8704 164.0448 0 0-58.9824L256 344.712533l1e-8-36.181333 200.12373299 0L456.123733 223.3344c0 0 1.809067-13.312 16.520533-13.31200001l82.056533 1e-8 0 98.474667 213.333333 0 0 36.181333-213.333333 1e-8 0 58.98239999 174.045867 0c-16.00853301 65.1264-40.277333 124.962133-70.690133 177.220267C708.608 599.176533 938.7008 669.525333 938.7008 669.525333L938.7008 669.525333 938.7008 669.525333 938.7008 669.525333zM321.57013299 744.994133c-124.7232 0-144.452267-78.7456-137.83039999-111.65013299 6.5536-32.733867 42.666667-75.502933 112.0256-75.50293301 79.6672 0 151.04 20.445867 236.714667 62.088533C472.302933 698.333867 398.370133 744.994133 321.57013299 744.994133L321.57013299 744.994133 321.57013299 744.994133zM321.57013299 744.994133" fill="#1296db" p-id="11905"></path></svg>

Before

Width:  |  Height:  |  Size: 1.6 KiB

2
src/assets/svg/pay/icon/alipay_bar.svg

@ -1,2 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1627279586085" class="icon" viewBox="0 0 1036 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6737" xmlns:xlink="http://www.w3.org/1999/xlink" width="40.46875" height="40"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.eot?#iefix") format("embedded-opentype"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.woff2") format("woff2"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.woff") format("woff"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.ttf") format("truetype"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.svg#iconfont") format("svg"); }
</style></defs><path d="M27.587124 336.619083h69.148134a13.978733 13.978733 0 0 0 13.79235-13.978733V13.989916A13.978733 13.978733 0 0 0 96.735258 0.011183H27.587124a13.978733 13.978733 0 0 0-13.792351 13.978733v308.650434a13.978733 13.978733 0 0 0 13.792351 13.978733z m165.880969 0h27.584701a13.978733 13.978733 0 0 0 13.79235-13.978733V13.989916a13.978733 13.978733 0 0 0-13.79235-13.978733h-27.584701a13.978733 13.978733 0 0 0-13.79235 13.978733v308.650434a13.978733 13.978733 0 0 0 13.79235 13.978733z m138.109886 322.629167h-110.525185a27.771084 27.771084 0 0 0-27.584701 28.14385v111.829867a27.771084 27.771084 0 0 0 27.584701 28.14385h110.525185a27.957467 27.957467 0 0 0 27.584701-28.14385v-111.829867a27.957467 27.957467 0 0 0-27.584701-28.14385z m484.596091-322.629167h27.584701a13.978733 13.978733 0 0 0 13.79235-13.978733V13.989916a13.978733 13.978733 0 0 0-14.537883-13.978733h-27.5847a13.978733 13.978733 0 0 0-13.978734 13.978733v308.650434a13.978733 13.978733 0 0 0 13.978734 13.978733z m-469.871825 0H428.68358a13.978733 13.978733 0 0 0 13.792351-13.978733V13.989916A13.978733 13.978733 0 0 0 428.68358 0.011183h-83.126867a13.978733 13.978733 0 0 0-13.792351 13.978733v308.650434a13.978733 13.978733 0 0 0 13.792351 13.978733z m594.189361 0h69.148134a13.978733 13.978733 0 0 0 13.792351-13.978733V13.989916a13.978733 13.978733 0 0 0-14.537883-13.978733h-69.148135a13.978733 13.978733 0 0 0-13.79235 13.978733v308.650434a13.978733 13.978733 0 0 0 13.79235 13.978733z m-412.279444 126.181367H66.91396A67.470687 67.470687 0 0 0 0.002423 530.830286v425.139878a67.470687 67.470687 0 0 0 66.911537 68.029836h418.802853a67.470687 67.470687 0 0 0 66.911537-68.029836V487.775787a24.788954 24.788954 0 0 0-24.416188-24.975337z m-58.337914 433.899885a42.681733 42.681733 0 0 1-42.495349 43.054498H125.438257a42.681733 42.681733 0 0 1-42.495349-43.054498V590.100115a42.681733 42.681733 0 0 1 42.495349-43.054498h301.940642a42.681733 42.681733 0 0 1 42.495349 43.054498z m525.22761-433.899885a41.749817 41.749817 0 0 0-41.377051 42.122583v55.914934a41.377051 41.377051 0 1 0 82.940485 0v-55.914934a41.749817 41.749817 0 0 0-41.563434-42.122583z m0 223.659734a41.749817 41.749817 0 0 0-41.377051 42.122584V894.65012a45.477479 45.477479 0 0 1-45.291096 45.850246h-159.730327a43.240882 43.240882 0 0 0-43.613649 37.276622A41.9362 41.9362 0 0 0 745.534871 1024h233.538039a57.778765 57.778765 0 0 0 57.405999-58.337914V729.3283a41.749817 41.749817 0 0 0-41.377051-41.9362zM732.488053 322.64035V13.989916a13.978733 13.978733 0 0 0-13.79235-13.978733h-82.940485a13.978733 13.978733 0 0 0-13.79235 13.978733v308.650434a13.978733 13.978733 0 0 0 13.79235 13.978733h82.940485a13.978733 13.978733 0 0 0 13.79235-13.978733zM532.126208 0.011183c-11.36937 0-20.688525 6.337026-20.688526 13.978733v308.650434c0 7.828091 9.319156 13.978733 20.688526 13.978733s20.688525-6.337026 20.688525-13.978733V13.989916c0-7.641708-9.319156-13.978733-20.688525-13.978733z" p-id="6738" fill="#1977FD"></path><path d="M745.534871 462.80045a41.749817 41.749817 0 0 0-41.377051 42.122583v252.549117a41.377051 41.377051 0 1 0 82.940485 0V504.923033A41.749817 41.749817 0 0 0 745.534871 462.80045" p-id="6739" fill="#1977FD"></path></svg>

Before

Width:  |  Height:  |  Size: 3.9 KiB

1
src/assets/svg/pay/icon/alipay_pc.svg

@ -1 +0,0 @@
<svg t="1627279878333" class="icon" viewBox="0 0 1285 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8535" width="40" height="40"><path d="M1141.76 855.04h-286.72c0 40.96 30.72 71.68 71.68 71.68h107.52c20.48 0 35.84 15.36 35.84 35.84s-15.36 35.84-35.84 35.84h-783.36c-20.48 0-35.84-15.36-35.84-35.84s15.36-35.84 35.84-35.84h107.52c40.96 0 71.68-30.72 71.68-71.68h-286.72c-76.8 0-143.36-61.44-143.36-143.36v-568.32c0-76.8 61.44-143.36 143.36-143.36h993.28c76.8 0 143.36 61.44 143.36 143.36v568.32c5.12 76.8-56.32 143.36-138.24 143.36z m71.68-711.68c0-40.96-30.72-71.68-71.68-71.68h-993.28c-40.96 0-71.68 30.72-71.68 71.68v568.32c0 40.96 30.72 71.68 71.68 71.68h993.28c40.96 0 71.68-30.72 71.68-71.68v-568.32z m-143.36 568.32h-855.04c-40.96 0-71.68-30.72-71.68-71.68v-424.96c0-40.96 30.72-71.68 71.68-71.68h855.04c40.96 0 71.68 30.72 71.68 71.68v424.96c0 40.96-30.72 71.68-71.68 71.68z" p-id="8536" fill="#1977FD"></path></svg>

Before

Width:  |  Height:  |  Size: 939 B

2
src/assets/svg/pay/icon/alipay_qr.svg

@ -1,2 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1627279238245" class="icon" viewBox="0 0 1115 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4112" width="43.5546875" height="40" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.eot?#iefix") format("embedded-opentype"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.woff2") format("woff2"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.woff") format("woff"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.ttf") format("truetype"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.svg#iconfont") format("svg"); }
</style></defs><path d="M751.388 68.267a34.133 34.133 0 0 1 0-68.267h227.556a91.022 91.022 0 0 1 91.022 91.022v227.556a34.133 34.133 0 1 1-68.266 0V91.022a22.756 22.756 0 0 0-22.756-22.755H751.388M1001.7 705.422a34.133 34.133 0 0 1 68.266 0v227.556A91.022 91.022 0 0 1 978.944 1024H748.885a34.133 34.133 0 0 1 0-68.267H978.49a22.756 22.756 0 0 0 22.755-22.755V705.422M364.09 955.733a34.133 34.133 0 1 1 0 68.267H136.533a91.022 91.022 0 0 1-91.022-91.022V705.422a34.133 34.133 0 0 1 68.267 0v227.556a22.756 22.756 0 0 0 22.755 22.755H364.09M113.778 318.578a34.133 34.133 0 1 1-68.267 0V91.022A91.022 91.022 0 0 1 136.533 0H364.09a34.133 34.133 0 0 1 0 68.267H136.533a22.756 22.756 0 0 0-22.755 22.755v227.556M34.133 477.867a34.133 34.133 0 0 0 0 68.266h168.619v-68.266z m1046.756 0H912.27v68.266h168.619a34.133 34.133 0 0 0 0-68.266zM202.752 157.24h709.746v320.627H202.752z m0 388.893h709.746V866.76H202.752z" fill="#1977FD" p-id="4113"></path></svg>

Before

Width:  |  Height:  |  Size: 1.7 KiB

1
src/assets/svg/pay/icon/alipay_wap.svg

@ -1 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1645964864184" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8460" xmlns:xlink="http://www.w3.org/1999/xlink" width="40" height="40"><defs><style type="text/css"></style></defs><path d="M768.3 0 255.7 0c-70.8 0-128.1 57.4-128.1 128.1l0 767.8c0 70.8 57.4 128.1 128.1 128.1L512 1024l256.3 0c70.8 0 128.1-57.4 128.1-128.1L896.4 128.1C896.4 57.3 839 0 768.3 0zM383.9 96.1c0-17.7 14.3-32 32-32l192.2 0c17.7 0 32 14.3 32 32l0 0c0 17.7-14.3 32-32 32L415.9 128.1C398.2 128.1 383.9 113.8 383.9 96.1L383.9 96.1zM512 959.9 512 959.9 512 959.9c-35.4 0-64.1-28.8-64.1-64.1 0-35.4 28.7-64.1 64.1-64.1l0 0 0 0c35.4 0 64.1 28.7 64.1 64.1C576.1 931.1 547.4 959.9 512 959.9zM832.3 755.6c0 6.7-5.4 12.2-12.2 12.2L203.9 767.8c-6.7 0-12.2-5.4-12.2-12.2L191.7 204.3c0-6.7 5.4-12.2 12.2-12.2l616.3 0c6.7 0 12.2 5.4 12.2 12.2L832.4 755.6z" p-id="8461" fill="#1977FD"></path></svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

1
src/assets/svg/pay/icon/mock.svg

@ -1 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1676209854312" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3033" xmlns:xlink="http://www.w3.org/1999/xlink" width="128" height="128"><path d="M173.077333 362.666667l91.114667-214.677334a65.6 65.6 0 0 1 86.016-34.773333c11.584 4.906667 24.96 10.282667 40.896 16.448 8.277333 3.2 16.789333 6.464 27.904 10.666667 28.202667 10.709333 39.296 14.933333 46.144 17.642666l51.477333-51.669333c28.181333-28.16 74.112-27.946667 102.570667 0.533333l195.925333 195.925334c16.426667 16.426667 23.445333 38.634667 21.056 59.904H896a42.666667 42.666667 0 0 1 42.666667 42.666666v490.666667a42.666667 42.666667 0 0 1-42.666667 42.666667H128a42.666667 42.666667 0 0 1-42.666667-42.666667V405.333333a42.666667 42.666667 0 0 1 42.666667-42.666666h45.077333z m48.96 0h39.104l169.194667-169.770667-27.328-10.389333c-11.2-4.245333-19.818667-7.530667-28.224-10.794667a1459.2 1459.2 0 0 1-42.197333-17.002667 20.522667 20.522667 0 0 0-26.901334 10.88L222.037333 362.666667z m108.842667 0h454.954667a23.509333 23.509333 0 0 0-5.290667-25.322667l-195.925333-195.925333a23.36 23.36 0 0 0-33.024-0.213334L330.88 362.666667zM128 405.333333v490.666667h768V405.333333H128z m597.333333 320a85.333333 85.333333 0 1 1 0-170.666666 85.333333 85.333333 0 0 1 0 170.666666z m0-42.666666a42.666667 42.666667 0 1 0 0-85.333334 42.666667 42.666667 0 0 0 0 85.333334z" fill="#4296d5" p-id="3034"></path></svg>

Before

Width:  |  Height:  |  Size: 1.5 KiB

2
src/assets/svg/pay/icon/wx_app.svg

@ -1,2 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1627279375144" class="icon" viewBox="0 0 1115 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4399" width="43.5546875" height="40" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.eot?#iefix") format("embedded-opentype"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.woff2") format("woff2"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.woff") format("woff"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.ttf") format("truetype"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.svg#iconfont") format("svg"); }
</style></defs><path d="M751.388 68.267a34.133 34.133 0 0 1 0-68.267h227.556a91.022 91.022 0 0 1 91.022 91.022v227.556a34.133 34.133 0 1 1-68.266 0V91.022a22.756 22.756 0 0 0-22.756-22.755H751.388M1001.7 705.422a34.133 34.133 0 0 1 68.266 0v227.556A91.022 91.022 0 0 1 978.944 1024H748.885a34.133 34.133 0 0 1 0-68.267H978.49a22.756 22.756 0 0 0 22.755-22.755V705.422M364.09 955.733a34.133 34.133 0 1 1 0 68.267H136.533a91.022 91.022 0 0 1-91.022-91.022V705.422a34.133 34.133 0 0 1 68.267 0v227.556a22.756 22.756 0 0 0 22.755 22.755H364.09M113.778 318.578a34.133 34.133 0 1 1-68.267 0V91.022A91.022 91.022 0 0 1 136.533 0H364.09a34.133 34.133 0 0 1 0 68.267H136.533a22.756 22.756 0 0 0-22.755 22.755v227.556M34.133 477.867a34.133 34.133 0 0 0 0 68.266h168.619v-68.266z m1046.756 0H912.27v68.266h168.619a34.133 34.133 0 0 0 0-68.266zM202.752 157.24h709.746v320.627H202.752z m0 388.893h709.746V866.76H202.752z" fill="#04C361" p-id="4400"></path></svg>

Before

Width:  |  Height:  |  Size: 1.7 KiB

1
src/assets/svg/pay/icon/wx_bar.svg

@ -1 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1627279586085" class="icon" viewBox="0 0 1036 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6737" xmlns:xlink="http://www.w3.org/1999/xlink" width="40.46875" height="40"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url(&quot;//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.eot?#iefix&quot;) format(&quot;embedded-opentype&quot;), url(&quot;//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.woff2&quot;) format(&quot;woff2&quot;), url(&quot;//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.woff&quot;) format(&quot;woff&quot;), url(&quot;//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.ttf&quot;) format(&quot;truetype&quot;), url(&quot;//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.svg#iconfont&quot;) format(&quot;svg&quot;); }</style></defs><path d="M27.587124 336.619083h69.148134a13.978733 13.978733 0 0 0 13.79235-13.978733V13.989916A13.978733 13.978733 0 0 0 96.735258 0.011183H27.587124a13.978733 13.978733 0 0 0-13.792351 13.978733v308.650434a13.978733 13.978733 0 0 0 13.792351 13.978733z m165.880969 0h27.584701a13.978733 13.978733 0 0 0 13.79235-13.978733V13.989916a13.978733 13.978733 0 0 0-13.79235-13.978733h-27.584701a13.978733 13.978733 0 0 0-13.79235 13.978733v308.650434a13.978733 13.978733 0 0 0 13.79235 13.978733z m138.109886 322.629167h-110.525185a27.771084 27.771084 0 0 0-27.584701 28.14385v111.829867a27.771084 27.771084 0 0 0 27.584701 28.14385h110.525185a27.957467 27.957467 0 0 0 27.584701-28.14385v-111.829867a27.957467 27.957467 0 0 0-27.584701-28.14385z m484.596091-322.629167h27.584701a13.978733 13.978733 0 0 0 13.79235-13.978733V13.989916a13.978733 13.978733 0 0 0-14.537883-13.978733h-27.5847a13.978733 13.978733 0 0 0-13.978734 13.978733v308.650434a13.978733 13.978733 0 0 0 13.978734 13.978733z m-469.871825 0H428.68358a13.978733 13.978733 0 0 0 13.792351-13.978733V13.989916A13.978733 13.978733 0 0 0 428.68358 0.011183h-83.126867a13.978733 13.978733 0 0 0-13.792351 13.978733v308.650434a13.978733 13.978733 0 0 0 13.792351 13.978733z m594.189361 0h69.148134a13.978733 13.978733 0 0 0 13.792351-13.978733V13.989916a13.978733 13.978733 0 0 0-14.537883-13.978733h-69.148135a13.978733 13.978733 0 0 0-13.79235 13.978733v308.650434a13.978733 13.978733 0 0 0 13.79235 13.978733z m-412.279444 126.181367H66.91396A67.470687 67.470687 0 0 0 0.002423 530.830286v425.139878a67.470687 67.470687 0 0 0 66.911537 68.029836h418.802853a67.470687 67.470687 0 0 0 66.911537-68.029836V487.775787a24.788954 24.788954 0 0 0-24.416188-24.975337z m-58.337914 433.899885a42.681733 42.681733 0 0 1-42.495349 43.054498H125.438257a42.681733 42.681733 0 0 1-42.495349-43.054498V590.100115a42.681733 42.681733 0 0 1 42.495349-43.054498h301.940642a42.681733 42.681733 0 0 1 42.495349 43.054498z m525.22761-433.899885a41.749817 41.749817 0 0 0-41.377051 42.122583v55.914934a41.377051 41.377051 0 1 0 82.940485 0v-55.914934a41.749817 41.749817 0 0 0-41.563434-42.122583z m0 223.659734a41.749817 41.749817 0 0 0-41.377051 42.122584V894.65012a45.477479 45.477479 0 0 1-45.291096 45.850246h-159.730327a43.240882 43.240882 0 0 0-43.613649 37.276622A41.9362 41.9362 0 0 0 745.534871 1024h233.538039a57.778765 57.778765 0 0 0 57.405999-58.337914V729.3283a41.749817 41.749817 0 0 0-41.377051-41.9362zM732.488053 322.64035V13.989916a13.978733 13.978733 0 0 0-13.79235-13.978733h-82.940485a13.978733 13.978733 0 0 0-13.79235 13.978733v308.650434a13.978733 13.978733 0 0 0 13.79235 13.978733h82.940485a13.978733 13.978733 0 0 0 13.79235-13.978733zM532.126208 0.011183c-11.36937 0-20.688525 6.337026-20.688526 13.978733v308.650434c0 7.828091 9.319156 13.978733 20.688526 13.978733s20.688525-6.337026 20.688525-13.978733V13.989916c0-7.641708-9.319156-13.978733-20.688525-13.978733z" p-id="6738" fill="#04C361"/><path d="M745.534871 462.80045a41.749817 41.749817 0 0 0-41.377051 42.122583v252.549117a41.377051 41.377051 0 1 0 82.940485 0V504.923033A41.749817 41.749817 0 0 0 745.534871 462.80045" p-id="6739" fill="#04C361"/></svg>

Before

Width:  |  Height:  |  Size: 4.0 KiB

1
src/assets/svg/pay/icon/wx_lite.svg

@ -1 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1676209433089" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2990" xmlns:xlink="http://www.w3.org/1999/xlink" width="128" height="128"><path d="M608.6 290.3c67.1 0 121.7 50.5 121.7 112.9 0 19.4-5.6 38.4-15.7 55.5-15.3 25-39.8 43.5-69.4 52.3-7.9 2.3-13.9 3.2-19.4 3.2-13 0-23.1-10.2-23.1-23.1 0-13 10.2-23.1 23.1-23.1 0.9 0 2.8 0 5.1-0.9 19.9-5.6 35.6-17.1 44.4-32.4 6-9.7 8.8-20.4 8.8-31.5 0-36.6-33.8-66.6-75-66.6-14.4 0-28.2 3.7-40.7 10.6-21.8 12.5-34.7 33.3-34.7 56v193.9c0 39.3-21.8 75.4-57.9 95.8-19.4 11.1-41.2 16.7-63.4 16.7-67.1 0-121.7-50.5-121.7-112.9 0-19.4 5.6-38.4 15.7-55.5 15.3-25 39.8-43.5 69.4-52.3 8.3-2.3 13.9-3.2 19.4-3.2 13 0 23.1 10.2 23.1 23.1 0 13-10.2 23.1-23.1 23.1-0.9 0-2.8 0-5.1 0.9-19.9 6-35.6 17.6-44.4 32.4-6 9.7-8.8 20.4-8.8 31.5 0 36.6 33.8 66.6 75.4 66.6 14.4 0 28.2-3.7 40.7-10.6 21.8-12.5 34.7-33.3 34.7-56V403.3c0-39.3 21.8-75.4 57.9-95.8 19-11.6 40.7-17.2 63-17.2zM510.8 929c231.1 0 418.4-187.3 418.4-418.4S741.9 92.1 510.8 92.1 92.4 279.5 92.4 510.6 279.7 929 510.8 929z m0 22C267.5 951 70.3 753.8 70.3 510.6S267.5 70.1 510.8 70.1s440.5 197.2 440.5 440.5S754.1 951 510.8 951z" p-id="2991" fill="#58bf6b"></path></svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB

1
src/assets/svg/pay/icon/wx_native.svg

@ -1 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1627279375144" class="icon" viewBox="0 0 1115 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4399" width="43.5546875" height="40" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url(&quot;//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.eot?#iefix&quot;) format(&quot;embedded-opentype&quot;), url(&quot;//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.woff2&quot;) format(&quot;woff2&quot;), url(&quot;//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.woff&quot;) format(&quot;woff&quot;), url(&quot;//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.ttf&quot;) format(&quot;truetype&quot;), url(&quot;//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.svg#iconfont&quot;) format(&quot;svg&quot;); }</style></defs><path d="M751.388 68.267a34.133 34.133 0 0 1 0-68.267h227.556a91.022 91.022 0 0 1 91.022 91.022v227.556a34.133 34.133 0 1 1-68.266 0V91.022a22.756 22.756 0 0 0-22.756-22.755H751.388M1001.7 705.422a34.133 34.133 0 0 1 68.266 0v227.556A91.022 91.022 0 0 1 978.944 1024H748.885a34.133 34.133 0 0 1 0-68.267H978.49a22.756 22.756 0 0 0 22.755-22.755V705.422M364.09 955.733a34.133 34.133 0 1 1 0 68.267H136.533a91.022 91.022 0 0 1-91.022-91.022V705.422a34.133 34.133 0 0 1 68.267 0v227.556a22.756 22.756 0 0 0 22.755 22.755H364.09M113.778 318.578a34.133 34.133 0 1 1-68.267 0V91.022A91.022 91.022 0 0 1 136.533 0H364.09a34.133 34.133 0 0 1 0 68.267H136.533a22.756 22.756 0 0 0-22.755 22.755v227.556M34.133 477.867a34.133 34.133 0 0 0 0 68.266h168.619v-68.266z m1046.756 0H912.27v68.266h168.619a34.133 34.133 0 0 0 0-68.266zM202.752 157.24h709.746v320.627H202.752z m0 388.893h709.746V866.76H202.752z" fill="#04C361" p-id="4400"/></svg>

Before

Width:  |  Height:  |  Size: 1.8 KiB

2
src/assets/svg/pay/icon/wx_pub.svg

@ -1,2 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1627279797174" class="icon" viewBox="0 0 1260 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7665" xmlns:xlink="http://www.w3.org/1999/xlink" width="49.21875" height="40"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.eot?#iefix") format("embedded-opentype"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.woff2") format("woff2"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.woff") format("woff"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.ttf") format("truetype"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.svg#iconfont") format("svg"); }
</style></defs><path d="M797.14798 481.753a269.194 269.194 0 0 0 102.892-211.929C900.03998 120.99 779.02998 0 630.15698 0 481.28298 0 360.27398 120.99 360.27398 269.824c0 85.878 40.33 162.462 102.912 211.929A450.974 450.974 0 0 0 309.84198 582.774c-85.543 85.524-132.608 199.208-132.608 320.236 0 25.01 0 51.712 0.197 76.367a44.898 44.898 0 0 0 44.82 44.623h816.01a44.8 44.8 0 0 0 44.82-44.623V903.01c0-121.009-47.066-234.732-132.609-320.236a451.072 451.072 0 0 0-153.344-101.021z" p-id="7666" fill="#04C361"></path><path d="M1186.18898 580.391A378.644 378.644 0 0 0 1061.81198 473.03a223.783 223.783 0 0 0 64.237-157.657c0-49.742-15.872-96.67-45.746-136.074A225.34 225.34 0 0 0 964.70998 99.9a37.297 37.297 0 0 0-46.14 25.718c-5.592 19.89 5.79 40.724 25.6 46.356 63.114 18.196 107.363 77.135 107.363 143.4a148.913 148.913 0 0 1-81.23 133.06 38.065 38.065 0 0 0-20.363 36.608c1.32 15.203 11.58 28.16 25.975 32.65 125.479 39.601 209.703 155.038 209.703 287.173v63.074c0 20.638 16.62 37.534 37.16 37.711h0.196a37.396 37.396 0 0 0 37.337-37.336V805.06c-0.197-81.644-25.777-159.35-74.142-224.69z m-901.77-62.503a36.982 36.982 0 0 0 25.955-32.65 37.455 37.455 0 0 0-20.362-36.628 148.913 148.913 0 0 1-81.231-133.06c0-66.245 44.071-125.184 107.382-143.4a37.612 37.612 0 0 0 25.58-46.356 37.376 37.376 0 0 0-46.139-25.718 225.32 225.32 0 0 0-115.593 79.4 223.252 223.252 0 0 0-45.746 136.074c0 60.258 23.533 116.381 64.237 157.676A380.475 380.475 0 0 0 74.14498 580.569 373.839 373.839 0 0 0 0.00198 805.258v63.232c0 20.657 16.798 37.356 37.356 37.356h0.197a37.317 37.317 0 0 0 37.14-37.73V805.06c0-132.332 84.401-247.769 209.723-287.173z" p-id="7667" fill="#04C361"></path></svg>

Before

Width:  |  Height:  |  Size: 2.4 KiB

245
src/enums/systemEnum.ts

@ -1,13 +1,3 @@
// ========== 静态变量 ==========
/**
*
*/
export const CommonStatusEnum = {
ENABLE: 0, // 开启
DISABLE: 1, // 禁用
}
/**
*
*/
@ -35,238 +25,3 @@ export const SystemDataScopeEnum = {
DEPT_AND_CHILD: 4, // 部门及以下数据权限
DEPT_SELF: 5, // 仅本人数据权限
}
/**
*
*/
export const InfraCodegenTemplateTypeEnum = {
CRUD: 1, // 基础 CRUD
TREE: 2, // 树形 CRUD
SUB: 3, // 主子表 CRUD
}
/**
*
*/
export const InfraJobStatusEnum = {
INIT: 0, // 初始化中
NORMAL: 1, // 运行中
STOP: 2, // 暂停运行
}
/**
* API
*/
export const InfraApiErrorLogProcessStatusEnum = {
INIT: 0, // 未处理
DONE: 1, // 已处理
IGNORE: 2, // 已忽略
}
/**
*
*/
export const SystemUserSocialTypeEnum = {
DINGTALK: {
title: '钉钉',
type: 20,
source: 'dingtalk',
img: 'https://s1.ax1x.com/2022/05/22/OzMDRs.png',
},
WECHAT_ENTERPRISE: {
title: '企业微信',
type: 30,
source: 'wechat_enterprise',
img: 'https://s1.ax1x.com/2022/05/22/OzMrzn.png',
},
}
/**
*
*/
export const PayChannelEnum = {
WX_PUB: {
code: 'wx_pub',
name: '微信 JSAPI 支付',
},
WX_LITE: {
code: 'wx_lite',
name: '微信小程序支付',
},
WX_APP: {
code: 'wx_app',
name: '微信 APP 支付',
},
WX_BAR: {
code: 'wx_bar',
name: '微信条码支付',
},
ALIPAY_PC: {
code: 'alipay_pc',
name: '支付宝 PC 网站支付',
},
ALIPAY_WAP: {
code: 'alipay_wap',
name: '支付宝 WAP 网站支付',
},
ALIPAY_APP: {
code: 'alipay_app',
name: '支付宝 APP 支付',
},
ALIPAY_QR: {
code: 'alipay_qr',
name: '支付宝扫码支付',
},
ALIPAY_BAR: {
code: 'alipay_bar',
name: '支付宝条码支付',
},
MOCK: {
code: 'mock',
name: '模拟支付',
},
}
/**
*
*/
export const PayDisplayModeEnum = {
URL: {
mode: 'url',
},
IFRAME: {
mode: 'iframe',
},
FORM: {
mode: 'form',
},
QR_CODE: {
mode: 'qr_code',
},
APP: {
mode: 'app',
},
}
/**
*
*/
export const PayType = {
WECHAT: 'WECHAT',
ALIPAY: 'ALIPAY',
MOCK: 'MOCK',
}
/**
*
*/
export const PayOrderStatusEnum = {
WAITING: {
status: 0,
name: '未支付',
},
SUCCESS: {
status: 10,
name: '已支付',
},
CLOSED: {
status: 20,
name: '未支付',
},
}
/**
* SPU
*/
export const ProductSpuStatusEnum = {
RECYCLE: {
status: -1,
name: '回收站',
},
DISABLE: {
status: 0,
name: '下架',
},
ENABLE: {
status: 1,
name: '上架',
},
}
/**
*
*/
export const PromotionDiscountTypeEnum = {
PRICE: {
type: 1,
name: '满减',
},
PERCENT: {
type: 2,
name: '折扣',
},
}
/**
*
*/
export const CouponTemplateValidityTypeEnum = {
DATE: {
type: 1,
name: '固定日期可用',
},
TERM: {
type: 2,
name: '领取之后可用',
},
}
/**
*
*/
export const PromotionProductScopeEnum = {
ALL: {
scope: 1,
name: '全部商品参与',
},
SPU: {
scope: 2,
name: '指定商品参与',
},
}
/**
*
*/
export const PromotionConditionTypeEnum = {
PRICE: {
type: 10,
name: '满 N 元',
},
COUNT: {
type: 20,
name: '满 N 件',
},
}
/**
*
*/
export const PromotionActivityStatusEnum = {
WAIT: {
type: 10,
name: '未开始',
},
RUN: {
type: 20,
name: '进行中',
},
END: {
type: 30,
name: '已结束',
},
CLOSE: {
type: 40,
name: '已关闭',
},
}