@ -0,0 +1,22 @@ |
|||
# 告诉EditorConfig插件,这是根文件,不用继续往上查找 |
|||
root = true |
|||
|
|||
# 匹配全部文件 |
|||
[*] |
|||
# 设置字符集 |
|||
charset = utf-8 |
|||
# 缩进风格,可选space、tab |
|||
indent_style = space |
|||
# 缩进的空格数 |
|||
indent_size = 2 |
|||
# 结尾换行符,可选lf、cr、crlf |
|||
end_of_line = lf |
|||
# 在文件结尾插入新行 |
|||
insert_final_newline = true |
|||
# 删除一行中的前后空格 |
|||
trim_trailing_whitespace = true |
|||
|
|||
# 匹配md结尾的文件 |
|||
[*.md] |
|||
insert_final_newline = false |
|||
trim_trailing_whitespace = false |
@ -0,0 +1,11 @@ |
|||
# 开发环境配置 |
|||
ENV = 'development' |
|||
|
|||
# 开发环境 |
|||
VUE_APP_BASE_API = 'http://192.168.31.182:8088' |
|||
|
|||
# 后台本地 |
|||
# VUE_APP_BASE_API = 'http://192.168.31.182:8088' |
|||
|
|||
# 路由懒加载 |
|||
VUE_CLI_BABEL_TRANSPILE_MODULES = true |
@ -0,0 +1,6 @@ |
|||
# 生产环境配置 |
|||
ENV = 'production' |
|||
|
|||
# DDT Wallet/生产环境 |
|||
# VUE_APP_BASE_API = https://pay-admin.bacddesi.com/stage-api |
|||
VUE_APP_BASE_API = /prod-api |
@ -0,0 +1,10 @@ |
|||
# 页面标题 |
|||
VUE_APP_TITLE = KAKA PAY |
|||
|
|||
NODE_ENV = production |
|||
|
|||
# 测试环境配置 |
|||
ENV = 'staging' |
|||
|
|||
# KAKA PAY/测试环境 |
|||
VUE_APP_BASE_API = '/stage-api' |
@ -0,0 +1,10 @@ |
|||
# 忽略build目录下类型为js的文件的语法检查 |
|||
build/*.js |
|||
# 忽略src/assets目录下文件的语法检查 |
|||
src/assets |
|||
# 忽略public目录下文件的语法检查 |
|||
public |
|||
# 忽略当前目录下为js的文件的语法检查 |
|||
*.js |
|||
# 忽略当前目录下为vue的文件的语法检查 |
|||
*.vue |
@ -0,0 +1,199 @@ |
|||
// ESlint 检查配置
|
|||
module.exports = { |
|||
root: true, |
|||
parserOptions: { |
|||
parser: 'babel-eslint', |
|||
sourceType: 'module' |
|||
}, |
|||
env: { |
|||
browser: true, |
|||
node: true, |
|||
es6: true, |
|||
}, |
|||
extends: ['plugin:vue/recommended', 'eslint:recommended'], |
|||
|
|||
// add your custom rules here
|
|||
//it is base on https://github.com/vuejs/eslint-config-vue
|
|||
rules: { |
|||
"vue/max-attributes-per-line": [2, { |
|||
"singleline": 10, |
|||
"multiline": { |
|||
"max": 1, |
|||
"allowFirstLine": false |
|||
} |
|||
}], |
|||
"vue/singleline-html-element-content-newline": "off", |
|||
"vue/multiline-html-element-content-newline":"off", |
|||
"vue/name-property-casing": ["error", "PascalCase"], |
|||
"vue/no-v-html": "off", |
|||
'accessor-pairs': 2, |
|||
'arrow-spacing': [2, { |
|||
'before': true, |
|||
'after': true |
|||
}], |
|||
'block-spacing': [2, 'always'], |
|||
'brace-style': [2, '1tbs', { |
|||
'allowSingleLine': true |
|||
}], |
|||
'camelcase': [0, { |
|||
'properties': 'always' |
|||
}], |
|||
'comma-dangle': [2, 'never'], |
|||
'comma-spacing': [2, { |
|||
'before': false, |
|||
'after': true |
|||
}], |
|||
'comma-style': [2, 'last'], |
|||
'constructor-super': 2, |
|||
'curly': [2, 'multi-line'], |
|||
'dot-location': [2, 'property'], |
|||
'eol-last': 2, |
|||
'eqeqeq': ["error", "always", {"null": "ignore"}], |
|||
'generator-star-spacing': [2, { |
|||
'before': true, |
|||
'after': true |
|||
}], |
|||
'handle-callback-err': [2, '^(err|error)$'], |
|||
'indent': [2, 2, { |
|||
'SwitchCase': 1 |
|||
}], |
|||
'jsx-quotes': [2, 'prefer-single'], |
|||
'key-spacing': [2, { |
|||
'beforeColon': false, |
|||
'afterColon': true |
|||
}], |
|||
'keyword-spacing': [2, { |
|||
'before': true, |
|||
'after': true |
|||
}], |
|||
'new-cap': [2, { |
|||
'newIsCap': true, |
|||
'capIsNew': false |
|||
}], |
|||
'new-parens': 2, |
|||
'no-array-constructor': 2, |
|||
'no-caller': 2, |
|||
'no-console': 'off', |
|||
'no-class-assign': 2, |
|||
'no-cond-assign': 2, |
|||
'no-const-assign': 2, |
|||
'no-control-regex': 0, |
|||
'no-delete-var': 2, |
|||
'no-dupe-args': 2, |
|||
'no-dupe-class-members': 2, |
|||
'no-dupe-keys': 2, |
|||
'no-duplicate-case': 2, |
|||
'no-empty-character-class': 2, |
|||
'no-empty-pattern': 2, |
|||
'no-eval': 2, |
|||
'no-ex-assign': 2, |
|||
'no-extend-native': 2, |
|||
'no-extra-bind': 2, |
|||
'no-extra-boolean-cast': 2, |
|||
'no-extra-parens': [2, 'functions'], |
|||
'no-fallthrough': 2, |
|||
'no-floating-decimal': 2, |
|||
'no-func-assign': 2, |
|||
'no-implied-eval': 2, |
|||
'no-inner-declarations': [2, 'functions'], |
|||
'no-invalid-regexp': 2, |
|||
'no-irregular-whitespace': 2, |
|||
'no-iterator': 2, |
|||
'no-label-var': 2, |
|||
'no-labels': [2, { |
|||
'allowLoop': false, |
|||
'allowSwitch': false |
|||
}], |
|||
'no-lone-blocks': 2, |
|||
'no-mixed-spaces-and-tabs': 2, |
|||
'no-multi-spaces': 2, |
|||
'no-multi-str': 2, |
|||
'no-multiple-empty-lines': [2, { |
|||
'max': 1 |
|||
}], |
|||
'no-native-reassign': 2, |
|||
'no-negated-in-lhs': 2, |
|||
'no-new-object': 2, |
|||
'no-new-require': 2, |
|||
'no-new-symbol': 2, |
|||
'no-new-wrappers': 2, |
|||
'no-obj-calls': 2, |
|||
'no-octal': 2, |
|||
'no-octal-escape': 2, |
|||
'no-path-concat': 2, |
|||
'no-proto': 2, |
|||
'no-redeclare': 2, |
|||
'no-regex-spaces': 2, |
|||
'no-return-assign': [2, 'except-parens'], |
|||
'no-self-assign': 2, |
|||
'no-self-compare': 2, |
|||
'no-sequences': 2, |
|||
'no-shadow-restricted-names': 2, |
|||
'no-spaced-func': 2, |
|||
'no-sparse-arrays': 2, |
|||
'no-this-before-super': 2, |
|||
'no-throw-literal': 2, |
|||
'no-trailing-spaces': 2, |
|||
'no-undef': 2, |
|||
'no-undef-init': 2, |
|||
'no-unexpected-multiline': 2, |
|||
'no-unmodified-loop-condition': 2, |
|||
'no-unneeded-ternary': [2, { |
|||
'defaultAssignment': false |
|||
}], |
|||
'no-unreachable': 2, |
|||
'no-unsafe-finally': 2, |
|||
'no-unused-vars': [2, { |
|||
'vars': 'all', |
|||
'args': 'none' |
|||
}], |
|||
'no-useless-call': 2, |
|||
'no-useless-computed-key': 2, |
|||
'no-useless-constructor': 2, |
|||
'no-useless-escape': 0, |
|||
'no-whitespace-before-property': 2, |
|||
'no-with': 2, |
|||
'one-var': [2, { |
|||
'initialized': 'never' |
|||
}], |
|||
'operator-linebreak': [2, 'after', { |
|||
'overrides': { |
|||
'?': 'before', |
|||
':': 'before' |
|||
} |
|||
}], |
|||
'padded-blocks': [2, 'never'], |
|||
'quotes': [2, 'single', { |
|||
'avoidEscape': true, |
|||
'allowTemplateLiterals': true |
|||
}], |
|||
'semi': [2, 'never'], |
|||
'semi-spacing': [2, { |
|||
'before': false, |
|||
'after': true |
|||
}], |
|||
'space-before-blocks': [2, 'always'], |
|||
'space-before-function-paren': [2, 'never'], |
|||
'space-in-parens': [2, 'never'], |
|||
'space-infix-ops': 2, |
|||
'space-unary-ops': [2, { |
|||
'words': true, |
|||
'nonwords': false |
|||
}], |
|||
'spaced-comment': [2, 'always', { |
|||
'markers': ['global', 'globals', 'eslint', 'eslint-disable', '*package', '!', ','] |
|||
}], |
|||
'template-curly-spacing': [2, 'never'], |
|||
'use-isnan': 2, |
|||
'valid-typeof': 2, |
|||
'wrap-iife': [2, 'any'], |
|||
'yield-star-spacing': [2, 'both'], |
|||
'yoda': [2, 'never'], |
|||
'prefer-const': 2, |
|||
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0, |
|||
'object-curly-spacing': [2, 'always', { |
|||
objectsInObjects: false |
|||
}], |
|||
'array-bracket-spacing': [2, 'never'] |
|||
} |
|||
} |
@ -0,0 +1,23 @@ |
|||
.DS_Store |
|||
node_modules/ |
|||
dist/ |
|||
npm-debug.log* |
|||
yarn-debug.log* |
|||
yarn-error.log* |
|||
**/*.log |
|||
|
|||
tests/**/coverage/ |
|||
tests/e2e/reports |
|||
selenium-debug.log |
|||
|
|||
# Editor directories and files |
|||
.idea |
|||
.vscode |
|||
*.suo |
|||
*.ntvs* |
|||
*.njsproj |
|||
*.sln |
|||
*.local |
|||
|
|||
package-lock.json |
|||
yarn.lock |
@ -0,0 +1,13 @@ |
|||
module.exports = { |
|||
presets: [ |
|||
// https://github.com/vuejs/vue-cli/tree/master/packages/@vue/babel-preset-app
|
|||
'@vue/cli-plugin-babel/preset' |
|||
], |
|||
'env': { |
|||
'development': { |
|||
// babel-plugin-dynamic-import-node plugin only does one thing by converting all import() to require().
|
|||
// This plugin can significantly increase the speed of hot updates, when you have a large number of pages.
|
|||
'plugins': ['dynamic-import-node'] |
|||
} |
|||
} |
|||
} |
@ -0,0 +1,12 @@ |
|||
@echo off |
|||
echo. |
|||
echo [信息] 打包Web工程,生成dist文件。 |
|||
echo. |
|||
|
|||
%~d0 |
|||
cd %~dp0 |
|||
|
|||
cd .. |
|||
npm run build:prod |
|||
|
|||
pause |
@ -0,0 +1,12 @@ |
|||
@echo off |
|||
echo. |
|||
echo [信息] 安装Web工程,生成node_modules文件。 |
|||
echo. |
|||
|
|||
%~d0 |
|||
cd %~dp0 |
|||
|
|||
cd .. |
|||
npm install --registry=https://registry.npmmirror.com |
|||
|
|||
pause |
@ -0,0 +1,12 @@ |
|||
@echo off |
|||
echo. |
|||
echo [信息] 使用 Vue CLI 命令运行 Web 工程。 |
|||
echo. |
|||
|
|||
%~d0 |
|||
cd %~dp0 |
|||
|
|||
cd .. |
|||
npm run dev |
|||
|
|||
pause |
@ -0,0 +1,35 @@ |
|||
const { run } = require('runjs') |
|||
const chalk = require('chalk') |
|||
const config = require('../vue.config.js') |
|||
const rawArgv = process.argv.slice(2) |
|||
const args = rawArgv.join(' ') |
|||
|
|||
if (process.env.npm_config_preview || rawArgv.includes('--preview')) { |
|||
const report = rawArgv.includes('--report') |
|||
|
|||
run(`vue-cli-service build ${args}`) |
|||
|
|||
const port = 9526 |
|||
const publicPath = config.publicPath |
|||
|
|||
var connect = require('connect') |
|||
var serveStatic = require('serve-static') |
|||
const app = connect() |
|||
|
|||
app.use( |
|||
publicPath, |
|||
serveStatic('./dist', { |
|||
index: ['index.html', '/'] |
|||
}) |
|||
) |
|||
|
|||
app.listen(port, function () { |
|||
console.log(chalk.green(`> Preview at http://localhost:${port}${publicPath}`)) |
|||
if (report) { |
|||
console.log(chalk.green(`> Report at http://localhost:${port}${publicPath}report.html`)) |
|||
} |
|||
|
|||
}) |
|||
} else { |
|||
run(`vue-cli-service build ${args}`) |
|||
} |
@ -0,0 +1,94 @@ |
|||
{ |
|||
"name": "ruoyi", |
|||
"version": "3.8.5", |
|||
"description": "KAKA PAY", |
|||
"author": "若依", |
|||
"license": "MIT", |
|||
"scripts": { |
|||
"dev": "vue-cli-service serve", |
|||
"build:prod": "vue-cli-service build", |
|||
"build:stage": "vue-cli-service build --mode staging", |
|||
"preview": "node build/index.js --preview", |
|||
"lint": "eslint --ext .js,.vue src" |
|||
}, |
|||
"husky": { |
|||
"hooks": { |
|||
"pre-commit": "lint-staged" |
|||
} |
|||
}, |
|||
"lint-staged": { |
|||
"src/**/*.{js,vue}": [ |
|||
"eslint --fix", |
|||
"git add" |
|||
] |
|||
}, |
|||
"keywords": [ |
|||
"vue", |
|||
"admin", |
|||
"dashboard", |
|||
"element-ui", |
|||
"boilerplate", |
|||
"admin-template", |
|||
"management-system" |
|||
], |
|||
"repository": { |
|||
"type": "git", |
|||
"url": "https://gitee.com/y_project/RuoYi-Vue.git" |
|||
}, |
|||
"dependencies": { |
|||
"@riophae/vue-treeselect": "0.4.0", |
|||
"axios": "0.24.0", |
|||
"clipboard": "2.0.8", |
|||
"core-js": "3.25.3", |
|||
"echarts": "5.4.0", |
|||
"element-ui": "2.15.12", |
|||
"file-saver": "2.0.5", |
|||
"fuse.js": "6.4.3", |
|||
"highlight.js": "9.18.5", |
|||
"jquery": "^3.6.3", |
|||
"js-beautify": "1.13.0", |
|||
"js-cookie": "3.0.1", |
|||
"js-md5": "^0.7.3", |
|||
"jsencrypt": "3.0.0-rc.1", |
|||
"nprogress": "0.2.0", |
|||
"qrcodejs2": "^0.0.2", |
|||
"quill": "1.3.7", |
|||
"screenfull": "5.0.2", |
|||
"sortablejs": "1.10.2", |
|||
"vue": "2.6.12", |
|||
"vue-clipboard2": "^0.3.3", |
|||
"vue-count-to": "1.0.13", |
|||
"vue-cropper": "0.5.5", |
|||
"vue-meta": "2.4.0", |
|||
"vue-router": "3.4.9", |
|||
"vuedraggable": "2.24.3", |
|||
"vuex": "3.6.0" |
|||
}, |
|||
"devDependencies": { |
|||
"@vue/cli-plugin-babel": "4.4.6", |
|||
"@vue/cli-plugin-eslint": "4.4.6", |
|||
"@vue/cli-service": "4.4.6", |
|||
"babel-eslint": "10.1.0", |
|||
"babel-plugin-dynamic-import-node": "2.3.3", |
|||
"chalk": "4.1.0", |
|||
"compression-webpack-plugin": "5.0.2", |
|||
"connect": "3.6.6", |
|||
"eslint": "7.15.0", |
|||
"eslint-plugin-vue": "7.2.0", |
|||
"lint-staged": "10.5.3", |
|||
"runjs": "4.4.2", |
|||
"sass": "1.32.13", |
|||
"sass-loader": "10.1.1", |
|||
"script-ext-html-webpack-plugin": "2.1.5", |
|||
"svg-sprite-loader": "5.1.1", |
|||
"vue-template-compiler": "2.6.12" |
|||
}, |
|||
"engines": { |
|||
"node": ">=8.9", |
|||
"npm": ">= 3.0.0" |
|||
}, |
|||
"browserslist": [ |
|||
"> 1%", |
|||
"last 2 versions" |
|||
] |
|||
} |
After Width: | Height: | Size: 17 KiB |
@ -0,0 +1,208 @@ |
|||
<!DOCTYPE html> |
|||
<html> |
|||
<head> |
|||
<meta charset="utf-8"> |
|||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
|||
<meta name="renderer" content="webkit"> |
|||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> |
|||
<link rel="icon" href="<%= BASE_URL %>favicon.ico"> |
|||
<title><%= webpackConfig.name %></title> |
|||
<!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]--> |
|||
<style> |
|||
html, |
|||
body, |
|||
#app { |
|||
height: 100%; |
|||
margin: 0px; |
|||
padding: 0px; |
|||
} |
|||
.chromeframe { |
|||
margin: 0.2em 0; |
|||
background: #ccc; |
|||
color: #000; |
|||
padding: 0.2em 0; |
|||
} |
|||
|
|||
#loader-wrapper { |
|||
position: fixed; |
|||
top: 0; |
|||
left: 0; |
|||
width: 100%; |
|||
height: 100%; |
|||
z-index: 999999; |
|||
} |
|||
|
|||
#loader { |
|||
display: block; |
|||
position: relative; |
|||
left: 50%; |
|||
top: 50%; |
|||
width: 150px; |
|||
height: 150px; |
|||
margin: -75px 0 0 -75px; |
|||
border-radius: 50%; |
|||
border: 3px solid transparent; |
|||
border-top-color: #FFF; |
|||
-webkit-animation: spin 2s linear infinite; |
|||
-ms-animation: spin 2s linear infinite; |
|||
-moz-animation: spin 2s linear infinite; |
|||
-o-animation: spin 2s linear infinite; |
|||
animation: spin 2s linear infinite; |
|||
z-index: 1001; |
|||
} |
|||
|
|||
#loader:before { |
|||
content: ""; |
|||
position: absolute; |
|||
top: 5px; |
|||
left: 5px; |
|||
right: 5px; |
|||
bottom: 5px; |
|||
border-radius: 50%; |
|||
border: 3px solid transparent; |
|||
border-top-color: #FFF; |
|||
-webkit-animation: spin 3s linear infinite; |
|||
-moz-animation: spin 3s linear infinite; |
|||
-o-animation: spin 3s linear infinite; |
|||
-ms-animation: spin 3s linear infinite; |
|||
animation: spin 3s linear infinite; |
|||
} |
|||
|
|||
#loader:after { |
|||
content: ""; |
|||
position: absolute; |
|||
top: 15px; |
|||
left: 15px; |
|||
right: 15px; |
|||
bottom: 15px; |
|||
border-radius: 50%; |
|||
border: 3px solid transparent; |
|||
border-top-color: #FFF; |
|||
-moz-animation: spin 1.5s linear infinite; |
|||
-o-animation: spin 1.5s linear infinite; |
|||
-ms-animation: spin 1.5s linear infinite; |
|||
-webkit-animation: spin 1.5s linear infinite; |
|||
animation: spin 1.5s linear infinite; |
|||
} |
|||
|
|||
|
|||
@-webkit-keyframes spin { |
|||
0% { |
|||
-webkit-transform: rotate(0deg); |
|||
-ms-transform: rotate(0deg); |
|||
transform: rotate(0deg); |
|||
} |
|||
100% { |
|||
-webkit-transform: rotate(360deg); |
|||
-ms-transform: rotate(360deg); |
|||
transform: rotate(360deg); |
|||
} |
|||
} |
|||
|
|||
@keyframes spin { |
|||
0% { |
|||
-webkit-transform: rotate(0deg); |
|||
-ms-transform: rotate(0deg); |
|||
transform: rotate(0deg); |
|||
} |
|||
100% { |
|||
-webkit-transform: rotate(360deg); |
|||
-ms-transform: rotate(360deg); |
|||
transform: rotate(360deg); |
|||
} |
|||
} |
|||
|
|||
|
|||
#loader-wrapper .loader-section { |
|||
position: fixed; |
|||
top: 0; |
|||
width: 51%; |
|||
height: 100%; |
|||
background: #197CFE; |
|||
z-index: 1000; |
|||
-webkit-transform: translateX(0); |
|||
-ms-transform: translateX(0); |
|||
transform: translateX(0); |
|||
} |
|||
|
|||
#loader-wrapper .loader-section.section-left { |
|||
left: 0; |
|||
} |
|||
|
|||
#loader-wrapper .loader-section.section-right { |
|||
right: 0; |
|||
} |
|||
|
|||
|
|||
.loaded #loader-wrapper .loader-section.section-left { |
|||
-webkit-transform: translateX(-100%); |
|||
-ms-transform: translateX(-100%); |
|||
transform: translateX(-100%); |
|||
-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000); |
|||
transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000); |
|||
} |
|||
|
|||
.loaded #loader-wrapper .loader-section.section-right { |
|||
-webkit-transform: translateX(100%); |
|||
-ms-transform: translateX(100%); |
|||
transform: translateX(100%); |
|||
-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000); |
|||
transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000); |
|||
} |
|||
|
|||
.loaded #loader { |
|||
opacity: 0; |
|||
-webkit-transition: all 0.3s ease-out; |
|||
transition: all 0.3s ease-out; |
|||
} |
|||
|
|||
.loaded #loader-wrapper { |
|||
visibility: hidden; |
|||
-webkit-transform: translateY(-100%); |
|||
-ms-transform: translateY(-100%); |
|||
transform: translateY(-100%); |
|||
-webkit-transition: all 0.3s 1s ease-out; |
|||
transition: all 0.3s 1s ease-out; |
|||
} |
|||
|
|||
.no-js #loader-wrapper { |
|||
display: none; |
|||
} |
|||
|
|||
.no-js h1 { |
|||
color: #222222; |
|||
} |
|||
|
|||
#loader-wrapper .load_title { |
|||
font-family: 'Open Sans'; |
|||
color: #FFF; |
|||
font-size: 19px; |
|||
width: 100%; |
|||
text-align: center; |
|||
z-index: 9999999999999; |
|||
position: absolute; |
|||
top: 60%; |
|||
opacity: 1; |
|||
line-height: 30px; |
|||
} |
|||
|
|||
#loader-wrapper .load_title span { |
|||
font-weight: normal; |
|||
font-style: italic; |
|||
font-size: 13px; |
|||
color: #FFF; |
|||
opacity: 0.5; |
|||
} |
|||
</style> |
|||
</head> |
|||
<body> |
|||
<div id="app"> |
|||
<div id="loader-wrapper"> |
|||
<div id="loader"></div> |
|||
<div class="loader-section section-left"></div> |
|||
<div class="loader-section section-right"></div> |
|||
<div class="load_title">正在加载系统资源,请耐心等待</div> |
|||
</div> |
|||
</div> |
|||
</body> |
|||
</html> |
@ -0,0 +1,2 @@ |
|||
User-agent: * |
|||
Disallow: / |
@ -0,0 +1,274 @@ |
|||
<template> |
|||
<div id="app"> |
|||
<router-view /> |
|||
<theme-picker /> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
import ThemePicker from "@/components/ThemePicker"; |
|||
|
|||
export default { |
|||
name: "App", |
|||
components: { ThemePicker }, |
|||
metaInfo() { |
|||
return { |
|||
title: this.$store.state.settings.dynamicTitle && this.$store.state.settings.title, |
|||
titleTemplate: title => { |
|||
return title ? `${title} - ${process.env.VUE_APP_TITLE}` : process.env.VUE_APP_TITLE |
|||
} |
|||
} |
|||
} |
|||
}; |
|||
</script> |
|||
|
|||
<style> |
|||
.avatar { |
|||
width: 100px; |
|||
height: 100px; |
|||
display: block; |
|||
} |
|||
.avatar-uploader .el-upload { |
|||
border: 1px dashed #d9d9d9; |
|||
border-radius: 6px; |
|||
cursor: pointer; |
|||
position: relative; |
|||
overflow: hidden; |
|||
} |
|||
|
|||
.avatar-uploader .el-upload:hover { |
|||
border-color: #409eff; |
|||
} |
|||
|
|||
.avatar-uploader-icon { |
|||
font-size: 28px; |
|||
color: #8c939d; |
|||
width: 128px; |
|||
height: 128px; |
|||
line-height: 128px; |
|||
text-align: center; |
|||
border: 1px dotted #dddddd; |
|||
} |
|||
|
|||
.el-table .el-table__header-wrapper th, .el-table .el-table__fixed-header-wrapper th { |
|||
font-size: 12px; |
|||
} |
|||
.el-table { |
|||
font-size: 13px; |
|||
} |
|||
.download{ |
|||
font-size: 14px; |
|||
margin-left: 35px; |
|||
} |
|||
.download a{ |
|||
text-decoration: underline; |
|||
color: #46AEEA; |
|||
} |
|||
.cred{ |
|||
color: red; |
|||
font-size: 14px; |
|||
} |
|||
.updatePassword { |
|||
color: #197CFE; |
|||
cursor: pointer; |
|||
display: flex; |
|||
justify-content: right; |
|||
} |
|||
|
|||
.bg .rig div { |
|||
padding: 10px; |
|||
border-radius: 8px; |
|||
background: #197CFE; |
|||
color: #fff; |
|||
margin-left: 20px; |
|||
font-size: 14px; |
|||
} |
|||
|
|||
.arl { |
|||
cursor: pointer; |
|||
color: #197CFE; |
|||
} |
|||
|
|||
.el-table .cell { |
|||
white-space: pre-wrap; |
|||
} |
|||
|
|||
.pagination-container .el-pagination { |
|||
right: 80px; |
|||
} |
|||
|
|||
.pagButton { |
|||
position: absolute; |
|||
right: 20px; |
|||
top: 15px; |
|||
} |
|||
|
|||
.el-input--mini .el-input__inner { |
|||
height: 35px; |
|||
line-height: 35px; |
|||
} |
|||
|
|||
.el-pagination.is-background .el-pager li:not(.disabled).active { |
|||
background-color: #006EFF; |
|||
} |
|||
|
|||
.pagination-container .el-pagination { |
|||
display: flex; |
|||
align-items: center; |
|||
} |
|||
|
|||
.el-pagination span:not([class*=suffix]), |
|||
.el-pagination button { |
|||
min-width: 75px; |
|||
height: 35px; |
|||
line-height: 35px; |
|||
} |
|||
|
|||
.searchTop .el-button--primary.is-plain:hover, |
|||
.searchTop .el-button--primary.is-plain:focus, |
|||
.searchTop .el-button--success.is-plain:hover, |
|||
.el-button--success.is-plain:focus, |
|||
.searchTop .el-button--danger.is-plain:hover, |
|||
.el-button--danger.is-plain:focus, |
|||
.searchTop .el-button--warning.is-plain:hover, |
|||
.el-button--warning.is-plain:focus, |
|||
.searchTop .el-button--info.is-plain:hover, |
|||
.el-button--info.is-plain:focus { |
|||
background: #006EFF !important; |
|||
color: #FFFFFF !important; |
|||
} |
|||
|
|||
.searchTop .el-button--primary.is-plain, |
|||
.searchTop .el-button--success, |
|||
.searchTop .el-button--danger, |
|||
.searchTop .el-button--warning, |
|||
.searchTop .el-button--success.is-plain.is-disabled, |
|||
.el-button--success.is-plain.is-disabled:hover, |
|||
.el-button--success.is-plain.is-disabled:focus, |
|||
.el-button--success.is-plain.is-disabled:active, |
|||
.searchTop .el-button--danger.is-plain.is-disabled, |
|||
.el-button--danger.is-plain.is-disabled:hover, |
|||
.el-button--danger.is-plain.is-disabled:focus, |
|||
.el-button--danger.is-plain.is-disabled:active, |
|||
.searchTop .el-button--info.is-plain { |
|||
border-color: unset; |
|||
/* width: 90px; */ |
|||
height: 45px; |
|||
border: none; |
|||
background: #DBEBFF; |
|||
color: #006EFF; |
|||
} |
|||
|
|||
.el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell { |
|||
/* background:#fff; */ |
|||
} |
|||
|
|||
.form .el-button--primary { |
|||
background-color: #006EFF; |
|||
} |
|||
|
|||
.form .el-button--primary:hover, |
|||
.form .el-button--primary:focus { |
|||
background: #006effc0; |
|||
border-color: #006effc0; |
|||
color: #FFFFFF; |
|||
} |
|||
|
|||
.form .el-input__inner:focus { |
|||
border-color: rgb(0, 110, 255) !important; |
|||
} |
|||
|
|||
.form .el-input__inner { |
|||
border-color: #E6F1FF; |
|||
} |
|||
|
|||
.form .el-input--medium .el-input__inner, |
|||
.form .el-range-editor.el-input__inner { |
|||
height: 45px; |
|||
line-height: 45px; |
|||
} |
|||
|
|||
.el-table { |
|||
color: #333; |
|||
} |
|||
|
|||
.el-table .el-table__header-wrapper th, |
|||
.el-table .el-table__fixed-header-wrapper th { |
|||
color: #999; |
|||
} |
|||
|
|||
.app-container { |
|||
padding: 30px; |
|||
margin-top: 30px; |
|||
} |
|||
|
|||
.el-table .el-table__header-wrapper th, |
|||
.el-table .el-table__fixed-header-wrapper th { |
|||
background-color: unset; |
|||
} |
|||
|
|||
.bg { |
|||
border-radius: 15px; |
|||
background: #fff; |
|||
box-shadow: 4px 4px 40px rgb(0 0 0 / 8%); |
|||
border-color: rgba(0, 0, 0, 0.05); |
|||
padding: 30px 0; |
|||
} |
|||
|
|||
.m20 { |
|||
margin-bottom: 30px; |
|||
} |
|||
.title{ |
|||
margin: 0 !important; |
|||
margin-bottom: 30px !important; |
|||
} |
|||
.title .bar { |
|||
width: 26px; |
|||
height: 8px; |
|||
background: #006EFF; |
|||
border-radius: 50px; |
|||
margin-right: 15px; |
|||
} |
|||
|
|||
.title .text { |
|||
font-size: 26px; |
|||
} |
|||
|
|||
.app-main { |
|||
background: #F3F8FF; |
|||
} |
|||
|
|||
.sidebar-logo-container { |
|||
height: 100px !important; |
|||
line-height: 100px !important; |
|||
} |
|||
|
|||
.sidebar-logo-container .sidebar-logo-link .sidebar-title { |
|||
font-size: 21px !important; |
|||
} |
|||
|
|||
.flexBet { |
|||
display: flex; |
|||
justify-content: space-between; |
|||
} |
|||
.flexar { |
|||
display: flex; |
|||
justify-content: space-around; |
|||
} |
|||
.flex { |
|||
display: flex; |
|||
align-items: center; |
|||
flex-wrap: wrap; |
|||
} |
|||
|
|||
.el-submenu__title { |
|||
font-size: 14px; |
|||
} |
|||
.tCenter{ |
|||
text-align: center; |
|||
} |
|||
</style> |
|||
<style scoped> |
|||
#app .theme-picker { |
|||
display: none; |
|||
}</style> |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询卡商列表
|
|||
export function listCarddealer(query) { |
|||
return request({ |
|||
url: '/carddealer/carddealer/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询卡商详细
|
|||
export function getCarddealer(id) { |
|||
return request({ |
|||
url: '/carddealer/carddealer/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增卡商
|
|||
export function addCarddealer(data) { |
|||
return request({ |
|||
url: '/carddealer/carddealer', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改卡商
|
|||
export function updateCarddealer(data) { |
|||
return request({ |
|||
url: '/carddealer/carddealer', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除卡商
|
|||
export function delCarddealer(id) { |
|||
return request({ |
|||
url: '/carddealer/carddealer/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出卡商
|
|||
export function exportCarddealer(query) { |
|||
return request({ |
|||
url: '/carddealer/carddealer/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询卡商-银行卡列表
|
|||
export function listCarddealerAddr(query) { |
|||
return request({ |
|||
url: '/carddealer/carddealerAddr/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询卡商-银行卡详细
|
|||
export function getCarddealerAddr(id) { |
|||
return request({ |
|||
url: '/carddealer/carddealerAddr/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增卡商-银行卡
|
|||
export function addCarddealerAddr(data) { |
|||
return request({ |
|||
url: '/carddealer/carddealerAddr', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改卡商-银行卡
|
|||
export function updateCarddealerAddr(data) { |
|||
return request({ |
|||
url: '/carddealer/carddealerAddr', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除卡商-银行卡
|
|||
export function delCarddealerAddr(id) { |
|||
return request({ |
|||
url: '/carddealer/carddealerAddr/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出卡商-银行卡
|
|||
export function exportCarddealerAddr(query) { |
|||
return request({ |
|||
url: '/carddealer/carddealerAddr/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询卡商-银行卡列表
|
|||
export function listCarddealerCard(query) { |
|||
return request({ |
|||
url: '/carddealer/carddealerCard/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询卡商-银行卡详细
|
|||
export function getCarddealerCard(id) { |
|||
return request({ |
|||
url: '/carddealer/carddealerCard/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增卡商-银行卡
|
|||
export function addCarddealerCard(data) { |
|||
return request({ |
|||
url: '/carddealer/carddealerCard', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改卡商-银行卡
|
|||
export function updateCarddealerCard(data) { |
|||
return request({ |
|||
url: '/carddealer/carddealerCard', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除卡商-银行卡
|
|||
export function delCarddealerCard(id) { |
|||
return request({ |
|||
url: '/carddealer/carddealerCard/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出卡商-银行卡
|
|||
export function exportCarddealerCard(query) { |
|||
return request({ |
|||
url: '/carddealer/carddealerCard/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询卡商通道配置列表
|
|||
export function listCarddealerChannel(query) { |
|||
return request({ |
|||
url: '/carddealer/carddealerChannel/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询卡商通道配置详细
|
|||
export function getCarddealerChannel(id) { |
|||
return request({ |
|||
url: '/carddealer/carddealerChannel/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增卡商通道配置
|
|||
export function addCarddealerChannel(data) { |
|||
return request({ |
|||
url: '/carddealer/carddealerChannel', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改卡商通道配置
|
|||
export function updateCarddealerChannel(data) { |
|||
return request({ |
|||
url: '/carddealer/carddealerChannel', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除卡商通道配置
|
|||
export function delCarddealerChannel(id) { |
|||
return request({ |
|||
url: '/carddealer/carddealerChannel/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出卡商通道配置
|
|||
export function exportCarddealerChannel(query) { |
|||
return request({ |
|||
url: '/carddealer/carddealerChannel/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询设备列表
|
|||
export function listCarddealerDev(query) { |
|||
return request({ |
|||
url: '/carddealer/carddealerDev/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询设备详细
|
|||
export function getCarddealerDev(id) { |
|||
return request({ |
|||
url: '/carddealer/carddealerDev/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增设备
|
|||
export function addCarddealerDev(data) { |
|||
return request({ |
|||
url: '/carddealer/carddealerDev', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改设备
|
|||
export function updateCarddealerDev(data) { |
|||
return request({ |
|||
url: '/carddealer/carddealerDev', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除设备
|
|||
export function delCarddealerDev(id) { |
|||
return request({ |
|||
url: '/carddealer/carddealerDev/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出设备
|
|||
export function exportCarddealerDev(query) { |
|||
return request({ |
|||
url: '/carddealer/carddealerDev/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询卡商设备-拉卡拉列表
|
|||
export function listCarddealerLakala(query) { |
|||
return request({ |
|||
url: '/carddealer/carddealerLakala/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询卡商设备-拉卡拉详细
|
|||
export function getCarddealerLakala(id) { |
|||
return request({ |
|||
url: '/carddealer/carddealerLakala/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增卡商设备-拉卡拉
|
|||
export function addCarddealerLakala(data) { |
|||
return request({ |
|||
url: '/carddealer/carddealerLakala', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改卡商设备-拉卡拉
|
|||
export function updateCarddealerLakala(data) { |
|||
return request({ |
|||
url: '/carddealer/carddealerLakala', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除卡商设备-拉卡拉
|
|||
export function delCarddealerLakala(id) { |
|||
return request({ |
|||
url: '/carddealer/carddealerLakala/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出卡商设备-拉卡拉
|
|||
export function exportCarddealerLakala(query) { |
|||
return request({ |
|||
url: '/carddealer/carddealerLakala/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询短信列列表
|
|||
export function listCarddealerSms(query) { |
|||
return request({ |
|||
url: '/carddealer/carddealerSms/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询短信列详细
|
|||
export function getCarddealerSms(id) { |
|||
return request({ |
|||
url: '/carddealer/carddealerSms/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增短信列
|
|||
export function addCarddealerSms(data) { |
|||
return request({ |
|||
url: '/carddealer/carddealerSms', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改短信列
|
|||
export function updateCarddealerSms(data) { |
|||
return request({ |
|||
url: '/carddealer/carddealerSms', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除短信列
|
|||
export function delCarddealerSms(id) { |
|||
return request({ |
|||
url: '/carddealer/carddealerSms/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出短信列
|
|||
export function exportCarddealerSms(query) { |
|||
return request({ |
|||
url: '/carddealer/carddealerSms/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询短信模版列表
|
|||
export function listCarddealerSmsTemp(query) { |
|||
return request({ |
|||
url: '/carddealer/carddealerSmsTemp/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询短信模版详细
|
|||
export function getCarddealerSmsTemp(id) { |
|||
return request({ |
|||
url: '/carddealer/carddealerSmsTemp/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增短信模版
|
|||
export function addCarddealerSmsTemp(data) { |
|||
return request({ |
|||
url: '/carddealer/carddealerSmsTemp', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改短信模版
|
|||
export function updateCarddealerSmsTemp(data) { |
|||
return request({ |
|||
url: '/carddealer/carddealerSmsTemp', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除短信模版
|
|||
export function delCarddealerSmsTemp(id) { |
|||
return request({ |
|||
url: '/carddealer/carddealerSmsTemp/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出短信模版
|
|||
export function exportCarddealerSmsTemp(query) { |
|||
return request({ |
|||
url: '/carddealer/carddealerSmsTemp/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询卡商资金变动列表
|
|||
export function listCarddealerWalletLog(query) { |
|||
return request({ |
|||
url: '/carddealer/carddealerWalletLog/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询卡商资金变动详细
|
|||
export function getCarddealerWalletLog(id) { |
|||
return request({ |
|||
url: '/carddealer/carddealerWalletLog/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增卡商资金变动
|
|||
export function addCarddealerWalletLog(data) { |
|||
return request({ |
|||
url: '/carddealer/carddealerWalletLog', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改卡商资金变动
|
|||
export function updateCarddealerWalletLog(data) { |
|||
return request({ |
|||
url: '/carddealer/carddealerWalletLog', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除卡商资金变动
|
|||
export function delCarddealerWalletLog(id) { |
|||
return request({ |
|||
url: '/carddealer/carddealerWalletLog/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出卡商资金变动
|
|||
export function exportCarddealerWalletLog(query) { |
|||
return request({ |
|||
url: '/carddealer/carddealerWalletLog/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询卡商操作日志列表
|
|||
export function listCarddealerWebLog(query) { |
|||
return request({ |
|||
url: '/carddealer/carddealerWebLog/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询卡商操作日志详细
|
|||
export function getCarddealerWebLog(logNo) { |
|||
return request({ |
|||
url: '/carddealer/carddealerWebLog/' + logNo, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增卡商操作日志
|
|||
export function addCarddealerWebLog(data) { |
|||
return request({ |
|||
url: '/carddealer/carddealerWebLog', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改卡商操作日志
|
|||
export function updateCarddealerWebLog(data) { |
|||
return request({ |
|||
url: '/carddealer/carddealerWebLog', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除卡商操作日志
|
|||
export function delCarddealerWebLog(logNo) { |
|||
return request({ |
|||
url: '/carddealer/carddealerWebLog/' + logNo, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出卡商操作日志
|
|||
export function exportCarddealerWebLog(query) { |
|||
return request({ |
|||
url: '/carddealer/carddealerWebLog/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询卡商-银行卡列表
|
|||
export function listCarddealerWithdrawCard(query) { |
|||
return request({ |
|||
url: '/carddealer/carddealerWithdrawCard/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询卡商-银行卡详细
|
|||
export function getCarddealerWithdrawCard(id) { |
|||
return request({ |
|||
url: '/carddealer/carddealerWithdrawCard/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增卡商-银行卡
|
|||
export function addCarddealerWithdrawCard(data) { |
|||
return request({ |
|||
url: '/carddealer/carddealerWithdrawCard', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改卡商-银行卡
|
|||
export function updateCarddealerWithdrawCard(data) { |
|||
return request({ |
|||
url: '/carddealer/carddealerWithdrawCard', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除卡商-银行卡
|
|||
export function delCarddealerWithdrawCard(id) { |
|||
return request({ |
|||
url: '/carddealer/carddealerWithdrawCard/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出卡商-银行卡
|
|||
export function exportCarddealerWithdrawCard(query) { |
|||
return request({ |
|||
url: '/carddealer/carddealerWithdrawCard/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询代付订单分佣列表
|
|||
export function listCarddealerWithdrawCommissionLog(query) { |
|||
return request({ |
|||
url: '/carddealer/carddealerWithdrawCommissionLog/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询代付订单分佣详细
|
|||
export function getCarddealerWithdrawCommissionLog(id) { |
|||
return request({ |
|||
url: '/carddealer/carddealerWithdrawCommissionLog/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增代付订单分佣
|
|||
export function addCarddealerWithdrawCommissionLog(data) { |
|||
return request({ |
|||
url: '/carddealer/carddealerWithdrawCommissionLog', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改代付订单分佣
|
|||
export function updateCarddealerWithdrawCommissionLog(data) { |
|||
return request({ |
|||
url: '/carddealer/carddealerWithdrawCommissionLog', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除代付订单分佣
|
|||
export function delCarddealerWithdrawCommissionLog(id) { |
|||
return request({ |
|||
url: '/carddealer/carddealerWithdrawCommissionLog/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出代付订单分佣
|
|||
export function exportCarddealerWithdrawCommissionLog(query) { |
|||
return request({ |
|||
url: '/carddealer/carddealerWithdrawCommissionLog/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,609 @@ |
|||
import request from '@/utils/request' |
|||
import qs from 'qs' |
|||
import { |
|||
getToken |
|||
} from "@/utils/auth"; |
|||
/** |
|||
* |
|||
* @returns |
|||
* 通用数据 - 接口 |
|||
* start |
|||
* |
|||
*/ |
|||
export const common_api = { |
|||
//查询所有银行列表
|
|||
bankListAll: (query) => { |
|||
return request({ |
|||
url: '/platform/bank/listAll', |
|||
method: 'get', |
|||
params: query, |
|||
}) |
|||
}, |
|||
// 首页数据
|
|||
homeData: (query) => { |
|||
return request({ |
|||
url: '/platform/statistics/home', |
|||
method: 'get', |
|||
params: query, |
|||
}) |
|||
}, |
|||
// 查询所有通道
|
|||
platformChannelAll: () => { |
|||
return request({ |
|||
url: '/platform/platformChannel/allList', |
|||
method: 'get', |
|||
}) |
|||
}, |
|||
// 查询所有码商
|
|||
carddealerChannelAll: () => { |
|||
return request({ |
|||
url: '/carddealer/carddealer/allList', |
|||
method: 'get', |
|||
}) |
|||
}, |
|||
} |
|||
|
|||
|
|||
/** |
|||
* 商户模块 |
|||
*/ |
|||
export const payMerchant = { |
|||
// 获取通道
|
|||
getChannelList: (id) => { |
|||
return request({ |
|||
url: '/system/merchant/getChannel/' + id, |
|||
method: 'get', |
|||
}) |
|||
}, |
|||
// 获取提现配置
|
|||
getWithdrawConfig: (id) => { |
|||
return request({ |
|||
url: '/system/merchant/getWithdrawConfig/' + id, |
|||
method: 'get', |
|||
}) |
|||
}, |
|||
// 获取商户MD5
|
|||
getmd5Key: (id) => { |
|||
return request({ |
|||
url: '/system/merchant/getmd5Key/' + id, |
|||
method: 'get', |
|||
}) |
|||
}, |
|||
// 谷歌密钥
|
|||
getKey: (id) => { |
|||
return request({ |
|||
url: '/system/merchant/getGoogleSecret/' + id, |
|||
method: 'get', |
|||
}) |
|||
}, |
|||
// 重置md5
|
|||
resetMd5Key: (id) => { |
|||
return request({ |
|||
url: '/system/merchant/resetMd5Key/' + id, |
|||
method: 'PUT', |
|||
}) |
|||
}, |
|||
// 重置谷歌key
|
|||
resetGoogleSecret: (id) => { |
|||
return request({ |
|||
url: '/system/merchant/resetGoogleSecret/' + id, |
|||
method: 'PUT', |
|||
}) |
|||
}, |
|||
// 登录ip
|
|||
getLoginIp: (id) => { |
|||
return request({ |
|||
url: '/system/merchant/getIpWhite/' + id, |
|||
method: 'get', |
|||
}) |
|||
}, |
|||
// 重置登录ip
|
|||
resetIpWhite: (data) => { |
|||
return request({ |
|||
url: '/system/merchant/resetIpWhite?' + qs.stringify(data), |
|||
method: 'post', |
|||
}) |
|||
}, |
|||
//修改提现
|
|||
upWithdrawConfig: (data) => { |
|||
return request({ |
|||
url: '/system/merchant/upWithdrawConfig', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
}, |
|||
//修改通道
|
|||
upChannel: (data) => { |
|||
return request({ |
|||
url: '/system/merchant/upChannel', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
}, |
|||
//绑定通道
|
|||
bindChannel: (data) => { |
|||
return request({ |
|||
url: '/system/merchant/bindChannel?' + qs.stringify(data), |
|||
method: 'put', |
|||
}) |
|||
}, |
|||
|
|||
// 支付ip
|
|||
getPayIp: (id) => { |
|||
return request({ |
|||
url: '/system/merchant/getPayapiWhitelistIp/' + id, |
|||
method: 'get', |
|||
}) |
|||
}, |
|||
// 重置支付ip
|
|||
resetPayapiWhitelistIp: (data) => { |
|||
return request({ |
|||
url: '/system/merchant/resetPayapiWhitelistIp?' + qs.stringify(data), |
|||
method: 'post', |
|||
}) |
|||
}, |
|||
// 操作金额
|
|||
operatingBalance: (data) => { |
|||
return request({ |
|||
url: '/system/merchant/operatingBalance?' + qs.stringify(data), |
|||
method: 'post', |
|||
}) |
|||
}, |
|||
// 修改商户登录密码
|
|||
editLoginPwd: (data) => { |
|||
return request({ |
|||
url: '/system/merchant/editLoginPwd?' + qs.stringify(data), |
|||
method: 'post', |
|||
}) |
|||
}, |
|||
// 修改商户支付密码
|
|||
editPayPwd: (data) => { |
|||
return request({ |
|||
url: '/system/merchant/editPayPwd?' + qs.stringify(data), |
|||
method: 'post', |
|||
}) |
|||
}, |
|||
|
|||
// 商户或代理商列表
|
|||
listInfo: (query) => { |
|||
return request({ |
|||
url: '/system/user/storeOrAgentList', |
|||
method: 'get', |
|||
params: query, |
|||
headers: { |
|||
Authorization: "Bearer " + getToken(), |
|||
}, |
|||
}) |
|||
}, |
|||
// 删除费率
|
|||
delInfo: (id) => { |
|||
return request({ |
|||
url: '/system/merchant/delChannel/' + id, |
|||
method: 'delete' |
|||
}) |
|||
}, |
|||
|
|||
} |
|||
|
|||
|
|||
/** |
|||
* 码商模块 |
|||
*/ |
|||
export const payCard = { |
|||
//修改通道
|
|||
upChannel: (data) => { |
|||
return request({ |
|||
url: '/carddealer/carddealer/editChannel', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
}, |
|||
// 删除费率
|
|||
delInfo: (id) => { |
|||
return request({ |
|||
url: '/carddealer/carddealer/delChannel/' + id, |
|||
method: 'delete' |
|||
}) |
|||
}, |
|||
//绑定通道
|
|||
bindChannel: (data) => { |
|||
return request({ |
|||
url: '/carddealer/carddealer/bindChannel', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
}, |
|||
// 获取所有通道
|
|||
carddealerGetAllChannel: (id) => { |
|||
return request({ |
|||
url: '/carddealer/carddealer/getAllChannel/' + id, |
|||
method: 'get', |
|||
}) |
|||
}, |
|||
// 获取通道
|
|||
carddealerGetChannel: (id) => { |
|||
return request({ |
|||
url: '/carddealer/carddealer/getChannel/' + id, |
|||
method: 'get', |
|||
}) |
|||
}, |
|||
// 详情
|
|||
getInfo: (id) => { |
|||
return request({ |
|||
url: '/carddealer/carddealer/' + id, |
|||
method: 'get', |
|||
}) |
|||
}, |
|||
// 重置谷歌key
|
|||
resetGoogleSecret: (id) => { |
|||
return request({ |
|||
url: '/carddealer/carddealer/resetGoogleSecret/' + id, |
|||
method: 'PUT', |
|||
}) |
|||
}, |
|||
// 下级
|
|||
getSubCardDealerList: (id) => { |
|||
return request({ |
|||
url: '/carddealer/carddealer/getSubCardDealerList/' + id, |
|||
method: 'get', |
|||
}) |
|||
}, |
|||
// 登录白名单
|
|||
getLoginIp: (id) => { |
|||
return request({ |
|||
url: '/carddealer/carddealer/getIpWhite/' + id, |
|||
method: 'get', |
|||
}) |
|||
}, |
|||
//新增
|
|||
addInfo: (data) => { |
|||
return request({ |
|||
url: '/carddealer/carddealer', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
}, |
|||
// 修改
|
|||
updateInfo: (data) => { |
|||
return request({ |
|||
url: '/carddealer/carddealer', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
}, |
|||
// 重置登录ip
|
|||
resetIpWhite: (data) => { |
|||
return request({ |
|||
url: '/carddealer/carddealer/resetIpWhite?' + qs.stringify(data), |
|||
method: 'post', |
|||
}) |
|||
}, |
|||
|
|||
// 操作金额
|
|||
operatingBalance: (data) => { |
|||
return request({ |
|||
url: '/carddealer/carddealer/operatingBalance?' + qs.stringify(data), |
|||
method: 'post', |
|||
}) |
|||
}, |
|||
|
|||
// 修改操作人密码
|
|||
editDevicePassword: (data) => { |
|||
return request({ |
|||
url: '/carddealer/carddealer/editDevicePassword?' + qs.stringify(data), |
|||
method: 'post', |
|||
}) |
|||
}, |
|||
// 修改登录密码
|
|||
editLoginPwd: (data) => { |
|||
return request({ |
|||
url: '/carddealer/carddealer/editLoginPwd?' + qs.stringify(data), |
|||
method: 'post', |
|||
}) |
|||
}, |
|||
// 修改支付密码
|
|||
editPayPwd: (data) => { |
|||
return request({ |
|||
url: '/carddealer/carddealer/editPayPwd?' + qs.stringify(data), |
|||
method: 'post', |
|||
}) |
|||
}, |
|||
|
|||
|
|||
} |
|||
|
|||
/** |
|||
* 设备 |
|||
*/ |
|||
|
|||
export const payDev = { |
|||
// 修改
|
|||
updateInfo: (data) => { |
|||
return request({ |
|||
url: '/carddealer/carddealerDev', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
}, |
|||
// 详情
|
|||
getInfo: (id) => { |
|||
return request({ |
|||
url: '/carddealer/carddealerDev/' + id, |
|||
method: 'get', |
|||
}) |
|||
}, |
|||
|
|||
} |
|||
|
|||
/** |
|||
* 收款卡 |
|||
*/ |
|||
export const payShouCard = { |
|||
// 详情
|
|||
getInfo: (id) => { |
|||
return request({ |
|||
url: '/carddealer/carddealer/' + id, |
|||
method: 'get', |
|||
}) |
|||
}, |
|||
// 修改
|
|||
updateInfo: (data) => { |
|||
return request({ |
|||
url: '/carddealer/carddealerCard', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
}, |
|||
|
|||
// 修改支付密码
|
|||
editPayPwd: (data) => { |
|||
return request({ |
|||
url: '/carddealer/carddealer/editPayPwd?' + qs.stringify(data), |
|||
method: 'post', |
|||
}) |
|||
}, |
|||
|
|||
|
|||
} |
|||
|
|||
|
|||
/** |
|||
* 短信模板 |
|||
*/ |
|||
export const paySes = { |
|||
// 测试短信模版
|
|||
test: (data) => { |
|||
return request({ |
|||
url: '/carddealer/carddealerSmsTemp/test?' + qs.stringify(data), |
|||
method: 'post', |
|||
}) |
|||
}, |
|||
// 识别
|
|||
identify: (id) => { |
|||
return request({ |
|||
url: '/carddealer/carddealerSms/identify/' + id, |
|||
method: 'put', |
|||
}) |
|||
}, |
|||
} |
|||
|
|||
/** |
|||
* 统计管理 |
|||
*/ |
|||
export const payRecordStatics = { |
|||
// 商户实时统计
|
|||
listInfo: (query) => { |
|||
return request({ |
|||
url: '/platform/statistics/merchantRealStatistics', |
|||
method: 'get', |
|||
params: query, |
|||
}) |
|||
}, |
|||
// 码商实时统计
|
|||
carddealerRealStatistics: (query) => { |
|||
return request({ |
|||
url: '/platform/statistics/carddealerRealStatistics', |
|||
method: 'get', |
|||
params: query, |
|||
}) |
|||
}, |
|||
// 日运营报表
|
|||
dailyReport: (query) => { |
|||
return request({ |
|||
url: '/platform/statistics/dailyReport', |
|||
method: 'get', |
|||
params: query, |
|||
}) |
|||
}, |
|||
// 导出日结报表
|
|||
export: (query) => { |
|||
return request({ |
|||
url: '/platform/statistics/exportAccountDailyStatement', |
|||
method: 'get', |
|||
params: query, |
|||
}) |
|||
}, |
|||
// 导出商户实时
|
|||
exportMerchant: (query) => { |
|||
return request({ |
|||
url: '/platform/statistics/exportMerchantRealStatistics', |
|||
method: 'get', |
|||
params: query, |
|||
}) |
|||
}, |
|||
// 导出码商实时
|
|||
exportCarddealer: (query) => { |
|||
return request({ |
|||
url: '/platform/statistics/exportCarddealerRealStatistics', |
|||
method: 'get', |
|||
params: query, |
|||
}) |
|||
}, |
|||
// 导出日结
|
|||
exportAccountDailyStatement: (query) => { |
|||
return request({ |
|||
url: '/platform/statistics/exportAccountDailyStatement', |
|||
method: 'get', |
|||
params: query, |
|||
}) |
|||
}, |
|||
// 日结报表
|
|||
accountDailyStatement: (query) => { |
|||
return request({ |
|||
url: '/platform/statistics/accountDailyStatement', |
|||
method: 'get', |
|||
params: query, |
|||
}) |
|||
}, |
|||
|
|||
// 收款卡数据统计
|
|||
cardDataStatistics: (query) => { |
|||
return request({ |
|||
url: '/platform/statistics/cardDataStatistics', |
|||
method: 'get', |
|||
params: query, |
|||
}) |
|||
}, |
|||
// 导出收款卡数据统计
|
|||
exportDataStatistics: (query) => { |
|||
return request({ |
|||
url: '/platform/statistics/exportDataStatistics', |
|||
method: 'get', |
|||
params: query, |
|||
}) |
|||
}, |
|||
} |
|||
|
|||
|
|||
/** |
|||
* 财务管理 |
|||
*/ |
|||
export const payFinance = { |
|||
// 查询平台流水明细列表
|
|||
listInfo: (query) => { |
|||
return request({ |
|||
url: '/platform/platformChannel/platformWalletLogList', |
|||
method: 'get', |
|||
params: query, |
|||
}) |
|||
}, |
|||
// 导出平台流水明细列表
|
|||
export: (query) => { |
|||
return request({ |
|||
url: '/platform/platformChannel/exportPlatformWalletLogList', |
|||
method: 'get', |
|||
params: query, |
|||
}) |
|||
}, |
|||
} |
|||
|
|||
/** |
|||
* 配置管理 |
|||
*/ |
|||
export const payConfig = { |
|||
// 获取代收配置
|
|||
getDefaultPayConfig: (query) => { |
|||
return request({ |
|||
url: '/platform/configuration/getDefaultPayConfig', |
|||
method: 'get', |
|||
params: query, |
|||
}) |
|||
}, |
|||
// 更新代收配置
|
|||
upDefaultPayConfig: (data) => { |
|||
return request({ |
|||
url: '/platform/configuration/upDefaultPayConfig?' + qs.stringify(data), |
|||
method: 'post', |
|||
}) |
|||
}, |
|||
// 获取代付配置
|
|||
getDefaultTransferConfig: (query) => { |
|||
return request({ |
|||
url: '/platform/configuration/getDefaultTransferConfig', |
|||
method: 'get', |
|||
params: query, |
|||
}) |
|||
}, |
|||
|
|||
// 更新代付配置
|
|||
upDefaultTransferConfig: (data) => { |
|||
return request({ |
|||
url: '/platform/configuration/upDefaultTransferConfig?' + qs.stringify(data), |
|||
method: 'post', |
|||
}) |
|||
}, |
|||
// 获取提现配置
|
|||
getDefaultWithdrawConfig: (query) => { |
|||
return request({ |
|||
url: '/platform/configuration/getDefaultWithdrawConfig', |
|||
method: 'get', |
|||
params: query, |
|||
}) |
|||
}, |
|||
// 更新提现配置
|
|||
upDefaultWithdrawConfig: (data) => { |
|||
return request({ |
|||
url: '/platform/configuration/upDefaultWithdrawConfig?' + qs.stringify(data), |
|||
method: 'post', |
|||
}) |
|||
}, |
|||
// 获取短信配置
|
|||
getSmsConfig: (query) => { |
|||
return request({ |
|||
url: '/platform/configuration/getSmsConfig', |
|||
method: 'get', |
|||
params: query, |
|||
}) |
|||
}, |
|||
// 更新短信配置
|
|||
upSmsConfig: (data) => { |
|||
return request({ |
|||
url: '/platform/configuration/upSmsConfig?' + qs.stringify(data), |
|||
method: 'post', |
|||
}) |
|||
}, |
|||
} |
|||
|
|||
|
|||
/** |
|||
* 商户充值订单管理 |
|||
*/ |
|||
export const payToOrder = { |
|||
// 获取代收配置
|
|||
getDefaultPayConfig: (query) => { |
|||
return request({ |
|||
url: '/platform/configuration/getDefaultPayConfig', |
|||
method: 'get', |
|||
params: query, |
|||
}) |
|||
}, |
|||
|
|||
// 通知
|
|||
notify: (data) => { |
|||
return request({ |
|||
url: '/order/payOrder/notify/' + data, |
|||
method: 'put', |
|||
}) |
|||
}, |
|||
|
|||
} |
|||
|
|||
/** |
|||
* 商户代付订单管理 |
|||
*/ |
|||
export const payOutOrder = { |
|||
// 通知
|
|||
notify: (data) => { |
|||
return request({ |
|||
url: '/order/TransferOrder/notify/' + data, |
|||
method: 'put', |
|||
}) |
|||
}, |
|||
// 获取凭证
|
|||
getCertificate: (data) => { |
|||
return request({ |
|||
url: '/order/TransferOrder/getCertificate/' + data, |
|||
method: 'get', |
|||
}) |
|||
}, |
|||
} |
@ -0,0 +1,55 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 登录方法
|
|||
export function login(username, password, code, uuid) { |
|||
const data = { |
|||
username, |
|||
password, |
|||
code, |
|||
uuid, |
|||
} |
|||
return request({ |
|||
url: '/login', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
// 注册方法
|
|||
export function register(data) { |
|||
return request({ |
|||
url: '/register', |
|||
headers: { |
|||
isToken: false |
|||
}, |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 获取用户详细信息
|
|||
export function getInfo() { |
|||
return request({ |
|||
url: '/getInfo', |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 退出方法
|
|||
export function logout() { |
|||
return request({ |
|||
url: '/logout', |
|||
method: 'post' |
|||
}) |
|||
} |
|||
|
|||
// 获取验证码
|
|||
export function getCodeImg() { |
|||
return request({ |
|||
url: '/captchaImage', |
|||
headers: { |
|||
isToken: false |
|||
}, |
|||
method: 'get', |
|||
timeout: 20000 |
|||
}) |
|||
} |
@ -0,0 +1,9 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 获取路由
|
|||
export const getRouters = () => { |
|||
return request({ |
|||
url: '/getRouters', |
|||
method: 'get' |
|||
}) |
|||
} |
@ -0,0 +1,55 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
|
|||
|
|||
// 查询商户列表
|
|||
export function listMerchant(query) { |
|||
return request({ |
|||
url: '/system/merchant/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询商户详细
|
|||
export function getMerchant(id) { |
|||
return request({ |
|||
url: '/system/merchant/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增商户
|
|||
export function addMerchant(data) { |
|||
return request({ |
|||
url: '/merchant/merchant', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改商户
|
|||
export function updateMerchant(data) { |
|||
return request({ |
|||
url: '/merchant/merchant', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除商户
|
|||
export function delMerchant(id) { |
|||
return request({ |
|||
url: '/system/merchant/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出商户
|
|||
export function exportMerchant(query) { |
|||
return request({ |
|||
url: '/system/merchant/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询商户银行卡列表
|
|||
export function listMerchantBankCard(query) { |
|||
return request({ |
|||
url: '/merchant/merchantBankCard/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询商户银行卡详细
|
|||
export function getMerchantBankCard(id) { |
|||
return request({ |
|||
url: '/merchant/merchantBankCard/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增商户银行卡
|
|||
export function addMerchantBankCard(data) { |
|||
return request({ |
|||
url: '/merchant/merchantBankCard', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改商户银行卡
|
|||
export function updateMerchantBankCard(data) { |
|||
return request({ |
|||
url: '/merchant/merchantBankCard', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除商户银行卡
|
|||
export function delMerchantBankCard(id) { |
|||
return request({ |
|||
url: '/merchant/merchantBankCard/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出商户银行卡
|
|||
export function exportMerchantBankCard(query) { |
|||
return request({ |
|||
url: '/merchant/merchantBankCard/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询商户通道列表
|
|||
export function listMerchantChannel(query) { |
|||
return request({ |
|||
url: '/merchant/merchantChannel/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询商户通道详细
|
|||
export function getMerchantChannel(id) { |
|||
return request({ |
|||
url: '/merchant/merchantChannel/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增商户通道
|
|||
export function addMerchantChannel(data) { |
|||
return request({ |
|||
url: '/merchant/merchantChannel', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改商户通道
|
|||
export function updateMerchantChannel(data) { |
|||
return request({ |
|||
url: '/merchant/merchantChannel', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除商户通道
|
|||
export function delMerchantChannel(id) { |
|||
return request({ |
|||
url: '/merchant/merchantChannel/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出商户通道
|
|||
export function exportMerchantChannel(query) { |
|||
return request({ |
|||
url: '/merchant/merchantChannel/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询商户钱包流水列表
|
|||
export function listMerchantWalletLog(query) { |
|||
return request({ |
|||
url: '/merchant/merchantWalletLog/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询商户钱包流水详细
|
|||
export function getMerchantWalletLog(id) { |
|||
return request({ |
|||
url: '/merchant/merchantWalletLog/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增商户钱包流水
|
|||
export function addMerchantWalletLog(data) { |
|||
return request({ |
|||
url: '/merchant/merchantWalletLog', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改商户钱包流水
|
|||
export function updateMerchantWalletLog(data) { |
|||
return request({ |
|||
url: '/merchant/merchantWalletLog', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除商户钱包流水
|
|||
export function delMerchantWalletLog(id) { |
|||
return request({ |
|||
url: '/merchant/merchantWalletLog/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出商户钱包流水
|
|||
export function exportMerchantWalletLog(query) { |
|||
return request({ |
|||
url: '/merchant/merchantWalletLog/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询商户提现设置列表
|
|||
export function listMerchantWithdrawConfig(query) { |
|||
return request({ |
|||
url: '/merchant/merchantWithdrawConfig/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询商户提现设置详细
|
|||
export function getMerchantWithdrawConfig(id) { |
|||
return request({ |
|||
url: '/merchant/merchantWithdrawConfig/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增商户提现设置
|
|||
export function addMerchantWithdrawConfig(data) { |
|||
return request({ |
|||
url: '/merchant/merchantWithdrawConfig', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改商户提现设置
|
|||
export function updateMerchantWithdrawConfig(data) { |
|||
return request({ |
|||
url: '/merchant/merchantWithdrawConfig', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除商户提现设置
|
|||
export function delMerchantWithdrawConfig(id) { |
|||
return request({ |
|||
url: '/merchant/merchantWithdrawConfig/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出商户提现设置
|
|||
export function exportMerchantWithdrawConfig(query) { |
|||
return request({ |
|||
url: '/merchant/merchantWithdrawConfig/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,57 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询缓存详细
|
|||
export function getCache() { |
|||
return request({ |
|||
url: '/monitor/cache', |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 查询缓存名称列表
|
|||
export function listCacheName() { |
|||
return request({ |
|||
url: '/monitor/cache/getNames', |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 查询缓存键名列表
|
|||
export function listCacheKey(cacheName) { |
|||
return request({ |
|||
url: '/monitor/cache/getKeys/' + cacheName, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 查询缓存内容
|
|||
export function getCacheValue(cacheName, cacheKey) { |
|||
return request({ |
|||
url: '/monitor/cache/getValue/' + cacheName + '/' + cacheKey, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 清理指定名称缓存
|
|||
export function clearCacheName(cacheName) { |
|||
return request({ |
|||
url: '/monitor/cache/clearCacheName/' + cacheName, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 清理指定键名缓存
|
|||
export function clearCacheKey(cacheKey) { |
|||
return request({ |
|||
url: '/monitor/cache/clearCacheKey/' + cacheKey, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 清理全部缓存
|
|||
export function clearCacheAll() { |
|||
return request({ |
|||
url: '/monitor/cache/clearCacheAll', |
|||
method: 'delete' |
|||
}) |
|||
} |
@ -0,0 +1,71 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询定时任务调度列表
|
|||
export function listJob(query) { |
|||
return request({ |
|||
url: '/monitor/job/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询定时任务调度详细
|
|||
export function getJob(jobId) { |
|||
return request({ |
|||
url: '/monitor/job/' + jobId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增定时任务调度
|
|||
export function addJob(data) { |
|||
return request({ |
|||
url: '/monitor/job', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改定时任务调度
|
|||
export function updateJob(data) { |
|||
return request({ |
|||
url: '/monitor/job', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除定时任务调度
|
|||
export function delJob(jobId) { |
|||
return request({ |
|||
url: '/monitor/job/' + jobId, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 任务状态修改
|
|||
export function changeJobStatus(jobId, status) { |
|||
const data = { |
|||
jobId, |
|||
status |
|||
} |
|||
return request({ |
|||
url: '/monitor/job/changeStatus', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
|
|||
// 定时任务立即执行一次
|
|||
export function runJob(jobId, jobGroup) { |
|||
const data = { |
|||
jobId, |
|||
jobGroup |
|||
} |
|||
return request({ |
|||
url: '/monitor/job/run', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
@ -0,0 +1,26 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询调度日志列表
|
|||
export function listJobLog(query) { |
|||
return request({ |
|||
url: '/monitor/jobLog/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 删除调度日志
|
|||
export function delJobLog(jobLogId) { |
|||
return request({ |
|||
url: '/monitor/jobLog/' + jobLogId, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 清空调度日志
|
|||
export function cleanJobLog() { |
|||
return request({ |
|||
url: '/monitor/jobLog/clean', |
|||
method: 'delete' |
|||
}) |
|||
} |
@ -0,0 +1,34 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询登录日志列表
|
|||
export function list(query) { |
|||
return request({ |
|||
url: '/monitor/logininfor/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 删除登录日志
|
|||
export function delLogininfor(infoId) { |
|||
return request({ |
|||
url: '/monitor/logininfor/' + infoId, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 解锁用户登录状态
|
|||
export function unlockLogininfor(userName) { |
|||
return request({ |
|||
url: '/monitor/logininfor/unlock/' + userName, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 清空登录日志
|
|||
export function cleanLogininfor() { |
|||
return request({ |
|||
url: '/monitor/logininfor/clean', |
|||
method: 'delete' |
|||
}) |
|||
} |
@ -0,0 +1,18 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询在线用户列表
|
|||
export function list(query) { |
|||
return request({ |
|||
url: '/monitor/online/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 强退用户
|
|||
export function forceLogout(tokenId) { |
|||
return request({ |
|||
url: '/monitor/online/' + tokenId, |
|||
method: 'delete' |
|||
}) |
|||
} |
@ -0,0 +1,26 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询操作日志列表
|
|||
export function list(query) { |
|||
return request({ |
|||
url: '/monitor/operlog/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 删除操作日志
|
|||
export function delOperlog(operId) { |
|||
return request({ |
|||
url: '/monitor/operlog/' + operId, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 清空操作日志
|
|||
export function cleanOperlog() { |
|||
return request({ |
|||
url: '/monitor/operlog/clean', |
|||
method: 'delete' |
|||
}) |
|||
} |
@ -0,0 +1,9 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 获取服务信息
|
|||
export function getServer() { |
|||
return request({ |
|||
url: '/monitor/server', |
|||
method: 'get' |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询批量订单列表
|
|||
export function listTransferBatchOrder(query) { |
|||
return request({ |
|||
url: '/order/TransferBatchOrder/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询批量订单详细
|
|||
export function getTransferBatchOrder(id) { |
|||
return request({ |
|||
url: '/order/TransferBatchOrder/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增批量订单
|
|||
export function addTransferBatchOrder(data) { |
|||
return request({ |
|||
url: '/order/TransferBatchOrder', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改批量订单
|
|||
export function updateTransferBatchOrder(data) { |
|||
return request({ |
|||
url: '/order/TransferBatchOrder', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除批量订单
|
|||
export function delTransferBatchOrder(id) { |
|||
return request({ |
|||
url: '/order/TransferBatchOrder/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出批量订单
|
|||
export function exportTransferBatchOrder(query) { |
|||
return request({ |
|||
url: '/order/TransferBatchOrder/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询代付订单列表
|
|||
export function listTransferOrder(query) { |
|||
return request({ |
|||
url: '/order/TransferOrder/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询代付订单详细
|
|||
export function getTransferOrder(id) { |
|||
return request({ |
|||
url: '/order/TransferOrder/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增代付订单
|
|||
export function addTransferOrder(data) { |
|||
return request({ |
|||
url: '/order/TransferOrder', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改代付订单
|
|||
export function updateTransferOrder(data) { |
|||
return request({ |
|||
url: '/order/TransferOrder', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除代付订单
|
|||
export function delTransferOrder(id) { |
|||
return request({ |
|||
url: '/order/TransferOrder/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出代付订单
|
|||
export function exportTransferOrder(query) { |
|||
return request({ |
|||
url: '/order/TransferOrder/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询代付订单分佣列表
|
|||
export function listTransferOrderCommissionLog(query) { |
|||
return request({ |
|||
url: '/order/TransferOrderCommissionLog/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询代付订单分佣详细
|
|||
export function getTransferOrderCommissionLog(id) { |
|||
return request({ |
|||
url: '/order/TransferOrderCommissionLog/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增代付订单分佣
|
|||
export function addTransferOrderCommissionLog(data) { |
|||
return request({ |
|||
url: '/order/TransferOrderCommissionLog', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改代付订单分佣
|
|||
export function updateTransferOrderCommissionLog(data) { |
|||
return request({ |
|||
url: '/order/TransferOrderCommissionLog', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除代付订单分佣
|
|||
export function delTransferOrderCommissionLog(id) { |
|||
return request({ |
|||
url: '/order/TransferOrderCommissionLog/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出代付订单分佣
|
|||
export function exportTransferOrderCommissionLog(query) { |
|||
return request({ |
|||
url: '/order/TransferOrderCommissionLog/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询代付子订单列表
|
|||
export function listTransferOrderSub(query) { |
|||
return request({ |
|||
url: '/order/TransferOrderSub/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询代付子订单详细
|
|||
export function getTransferOrderSub(id) { |
|||
return request({ |
|||
url: '/order/TransferOrderSub/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增代付子订单
|
|||
export function addTransferOrderSub(data) { |
|||
return request({ |
|||
url: '/order/TransferOrderSub', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改代付子订单
|
|||
export function updateTransferOrderSub(data) { |
|||
return request({ |
|||
url: '/order/TransferOrderSub', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除代付子订单
|
|||
export function delTransferOrderSub(id) { |
|||
return request({ |
|||
url: '/order/TransferOrderSub/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出代付子订单
|
|||
export function exportTransferOrderSub(query) { |
|||
return request({ |
|||
url: '/order/TransferOrderSub/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询卡商充值订单列表
|
|||
export function listCarddealerRechargeOrder(query) { |
|||
return request({ |
|||
url: '/order/carddealerRechargeOrder/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询卡商充值订单详细
|
|||
export function getCarddealerRechargeOrder(id) { |
|||
return request({ |
|||
url: '/order/carddealerRechargeOrder/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增卡商充值订单
|
|||
export function addCarddealerRechargeOrder(data) { |
|||
return request({ |
|||
url: '/order/carddealerRechargeOrder', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改卡商充值订单
|
|||
export function updateCarddealerRechargeOrder(data) { |
|||
return request({ |
|||
url: '/order/carddealerRechargeOrder', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除卡商充值订单
|
|||
export function delCarddealerRechargeOrder(id) { |
|||
return request({ |
|||
url: '/order/carddealerRechargeOrder/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出卡商充值订单
|
|||
export function exportCarddealerRechargeOrder(query) { |
|||
return request({ |
|||
url: '/order/carddealerRechargeOrder/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询卡商提现订单列表
|
|||
export function listCarddealerWithdrawOrder(query) { |
|||
return request({ |
|||
url: '/order/carddealerWithdrawOrder/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询卡商提现订单详细
|
|||
export function getCarddealerWithdrawOrder(id) { |
|||
return request({ |
|||
url: '/order/carddealerWithdrawOrder/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增卡商提现订单
|
|||
export function addCarddealerWithdrawOrder(data) { |
|||
return request({ |
|||
url: '/order/carddealerWithdrawOrder', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改卡商提现订单
|
|||
export function updateCarddealerWithdrawOrder(data) { |
|||
return request({ |
|||
url: '/order/carddealerWithdrawOrder', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除卡商提现订单
|
|||
export function delCarddealerWithdrawOrder(id) { |
|||
return request({ |
|||
url: '/order/carddealerWithdrawOrder/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出卡商提现订单
|
|||
export function exportCarddealerWithdrawOrder(query) { |
|||
return request({ |
|||
url: '/order/carddealerWithdrawOrder/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询代付子订单列表
|
|||
export function listCarddealerWithdrawOrderSub(query) { |
|||
return request({ |
|||
url: '/order/carddealerWithdrawOrderSub/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询代付子订单详细
|
|||
export function getCarddealerWithdrawOrderSub(id) { |
|||
return request({ |
|||
url: '/order/carddealerWithdrawOrderSub/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增代付子订单
|
|||
export function addCarddealerWithdrawOrderSub(data) { |
|||
return request({ |
|||
url: '/order/carddealerWithdrawOrderSub', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改代付子订单
|
|||
export function updateCarddealerWithdrawOrderSub(data) { |
|||
return request({ |
|||
url: '/order/carddealerWithdrawOrderSub', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除代付子订单
|
|||
export function delCarddealerWithdrawOrderSub(id) { |
|||
return request({ |
|||
url: '/order/carddealerWithdrawOrderSub/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出代付子订单
|
|||
export function exportCarddealerWithdrawOrderSub(query) { |
|||
return request({ |
|||
url: '/order/carddealerWithdrawOrderSub/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询商户充值订单列表
|
|||
export function listMerchantRechargeOrder(query) { |
|||
return request({ |
|||
url: '/order/merchantRechargeOrder/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询商户充值订单详细
|
|||
export function getMerchantRechargeOrder(id) { |
|||
return request({ |
|||
url: '/order/merchantRechargeOrder/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增商户充值订单
|
|||
export function addMerchantRechargeOrder(data) { |
|||
return request({ |
|||
url: '/order/merchantRechargeOrder', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改商户充值订单
|
|||
export function updateMerchantRechargeOrder(data) { |
|||
return request({ |
|||
url: '/order/merchantRechargeOrder', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除商户充值订单
|
|||
export function delMerchantRechargeOrder(id) { |
|||
return request({ |
|||
url: '/order/merchantRechargeOrder/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出商户充值订单
|
|||
export function exportMerchantRechargeOrder(query) { |
|||
return request({ |
|||
url: '/order/merchantRechargeOrder/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询订单统计日志列表
|
|||
export function listOrderCountLog(query) { |
|||
return request({ |
|||
url: '/order/orderCountLog/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询订单统计日志详细
|
|||
export function getOrderCountLog(id) { |
|||
return request({ |
|||
url: '/order/orderCountLog/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增订单统计日志
|
|||
export function addOrderCountLog(data) { |
|||
return request({ |
|||
url: '/order/orderCountLog', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改订单统计日志
|
|||
export function updateOrderCountLog(data) { |
|||
return request({ |
|||
url: '/order/orderCountLog', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除订单统计日志
|
|||
export function delOrderCountLog(id) { |
|||
return request({ |
|||
url: '/order/orderCountLog/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出订单统计日志
|
|||
export function exportOrderCountLog(query) { |
|||
return request({ |
|||
url: '/order/orderCountLog/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询订单回调日志列表
|
|||
export function listOrderNotifyLog(query) { |
|||
return request({ |
|||
url: '/order/orderNotifyLog/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询订单回调日志详细
|
|||
export function getOrderNotifyLog(id) { |
|||
return request({ |
|||
url: '/order/orderNotifyLog/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增订单回调日志
|
|||
export function addOrderNotifyLog(data) { |
|||
return request({ |
|||
url: '/order/orderNotifyLog', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改订单回调日志
|
|||
export function updateOrderNotifyLog(data) { |
|||
return request({ |
|||
url: '/order/orderNotifyLog', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除订单回调日志
|
|||
export function delOrderNotifyLog(id) { |
|||
return request({ |
|||
url: '/order/orderNotifyLog/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出订单回调日志
|
|||
export function exportOrderNotifyLog(query) { |
|||
return request({ |
|||
url: '/order/orderNotifyLog/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询代收订单列表
|
|||
export function listPayOrder(query) { |
|||
return request({ |
|||
url: '/order/payOrder/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询代收订单详细
|
|||
export function getPayOrder(id) { |
|||
return request({ |
|||
url: '/order/payOrder/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增代收订单
|
|||
export function addPayOrder(data) { |
|||
return request({ |
|||
url: '/order/payOrder', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改代收订单
|
|||
export function updatePayOrder(data) { |
|||
return request({ |
|||
url: '/order/payOrder', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除代收订单
|
|||
export function delPayOrder(id) { |
|||
return request({ |
|||
url: '/order/payOrder/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出代收订单
|
|||
export function exportPayOrder(query) { |
|||
return request({ |
|||
url: '/order/payOrder/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询代收订单分佣列表
|
|||
export function listPayOrderCommissionLog(query) { |
|||
return request({ |
|||
url: '/order/payOrderCommissionLog/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询代收订单分佣详细
|
|||
export function getPayOrderCommissionLog(id) { |
|||
return request({ |
|||
url: '/order/payOrderCommissionLog/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增代收订单分佣
|
|||
export function addPayOrderCommissionLog(data) { |
|||
return request({ |
|||
url: '/order/payOrderCommissionLog', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改代收订单分佣
|
|||
export function updatePayOrderCommissionLog(data) { |
|||
return request({ |
|||
url: '/order/payOrderCommissionLog', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除代收订单分佣
|
|||
export function delPayOrderCommissionLog(id) { |
|||
return request({ |
|||
url: '/order/payOrderCommissionLog/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出代收订单分佣
|
|||
export function exportPayOrderCommissionLog(query) { |
|||
return request({ |
|||
url: '/order/payOrderCommissionLog/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询银行列表
|
|||
export function listBank(query) { |
|||
return request({ |
|||
url: '/platform/bank/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询银行详细
|
|||
export function getBank(id) { |
|||
return request({ |
|||
url: '/platform/bank/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增银行
|
|||
export function addBank(data) { |
|||
return request({ |
|||
url: '/platform/bank', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改银行
|
|||
export function updateBank(data) { |
|||
return request({ |
|||
url: '/platform/bank', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除银行
|
|||
export function delBank(id) { |
|||
return request({ |
|||
url: '/platform/bank/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出银行
|
|||
export function exportBank(query) { |
|||
return request({ |
|||
url: '/platform/bank/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询国家列表
|
|||
export function listCurrency(query) { |
|||
return request({ |
|||
url: '/platform/currency/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询国家详细
|
|||
export function getCurrency(id) { |
|||
return request({ |
|||
url: '/platform/currency/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增国家
|
|||
export function addCurrency(data) { |
|||
return request({ |
|||
url: '/platform/currency', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改国家
|
|||
export function updateCurrency(data) { |
|||
return request({ |
|||
url: '/platform/currency', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除国家
|
|||
export function delCurrency(id) { |
|||
return request({ |
|||
url: '/platform/currency/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出国家
|
|||
export function exportCurrency(query) { |
|||
return request({ |
|||
url: '/platform/currency/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询账户日结总列表
|
|||
export function listDailyRemain(query) { |
|||
return request({ |
|||
url: '/platform/dailyRemain/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询账户日结总详细
|
|||
export function getDailyRemain(logNo) { |
|||
return request({ |
|||
url: '/platform/dailyRemain/' + logNo, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增账户日结总
|
|||
export function addDailyRemain(data) { |
|||
return request({ |
|||
url: '/platform/dailyRemain', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改账户日结总
|
|||
export function updateDailyRemain(data) { |
|||
return request({ |
|||
url: '/platform/dailyRemain', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除账户日结总
|
|||
export function delDailyRemain(logNo) { |
|||
return request({ |
|||
url: '/platform/dailyRemain/' + logNo, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出账户日结总
|
|||
export function exportDailyRemain(query) { |
|||
return request({ |
|||
url: '/platform/dailyRemain/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询账户日结详列表
|
|||
export function listDailyRemainDetail(query) { |
|||
return request({ |
|||
url: '/platform/dailyRemainDetail/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询账户日结详详细
|
|||
export function getDailyRemainDetail(logNo) { |
|||
return request({ |
|||
url: '/platform/dailyRemainDetail/' + logNo, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增账户日结详
|
|||
export function addDailyRemainDetail(data) { |
|||
return request({ |
|||
url: '/platform/dailyRemainDetail', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改账户日结详
|
|||
export function updateDailyRemainDetail(data) { |
|||
return request({ |
|||
url: '/platform/dailyRemainDetail', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除账户日结详
|
|||
export function delDailyRemainDetail(logNo) { |
|||
return request({ |
|||
url: '/platform/dailyRemainDetail/' + logNo, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出账户日结详
|
|||
export function exportDailyRemainDetail(query) { |
|||
return request({ |
|||
url: '/platform/dailyRemainDetail/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询过滤银行列表
|
|||
export function listFilterBank(query) { |
|||
return request({ |
|||
url: '/platform/filterBank/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询过滤银行详细
|
|||
export function getFilterBank(bankName) { |
|||
return request({ |
|||
url: '/platform/filterBank/' + bankName, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增过滤银行
|
|||
export function addFilterBank(data) { |
|||
return request({ |
|||
url: '/platform/filterBank', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改过滤银行
|
|||
export function updateFilterBank(data) { |
|||
return request({ |
|||
url: '/platform/filterBank', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除过滤银行
|
|||
export function delFilterBank(bankName) { |
|||
return request({ |
|||
url: '/platform/filterBank/' + bankName, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出过滤银行
|
|||
export function exportFilterBank(query) { |
|||
return request({ |
|||
url: '/platform/filterBank/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询平台银行卡列表
|
|||
export function listPlatformBankCard(query) { |
|||
return request({ |
|||
url: '/platform/platformBankCard/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询平台银行卡详细
|
|||
export function getPlatformBankCard(id) { |
|||
return request({ |
|||
url: '/platform/platformBankCard/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增平台银行卡
|
|||
export function addPlatformBankCard(data) { |
|||
return request({ |
|||
url: '/platform/platformBankCard', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改平台银行卡
|
|||
export function updatePlatformBankCard(data) { |
|||
return request({ |
|||
url: '/platform/platformBankCard', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除平台银行卡
|
|||
export function delPlatformBankCard(id) { |
|||
return request({ |
|||
url: '/platform/platformBankCard/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出平台银行卡
|
|||
export function exportPlatformBankCard(query) { |
|||
return request({ |
|||
url: '/platform/platformBankCard/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询平台通道列表
|
|||
export function listPlatformChannel(query) { |
|||
return request({ |
|||
url: '/platform/platformChannel/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询平台通道详细
|
|||
export function getPlatformChannel(id) { |
|||
return request({ |
|||
url: '/platform/platformChannel/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增平台通道
|
|||
export function addPlatformChannel(data) { |
|||
return request({ |
|||
url: '/platform/platformChannel', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改平台通道
|
|||
export function updatePlatformChannel(data) { |
|||
return request({ |
|||
url: '/platform/platformChannel', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除平台通道
|
|||
export function delPlatformChannel(id) { |
|||
return request({ |
|||
url: '/platform/platformChannel/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出平台通道
|
|||
export function exportPlatformChannel(query) { |
|||
return request({ |
|||
url: '/platform/platformChannel/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,53 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询平台钱包日志列表
|
|||
export function listPlatformWalletLog(query) { |
|||
return request({ |
|||
url: '/platform/platformWalletLog/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询平台钱包日志详细
|
|||
export function getPlatformWalletLog(id) { |
|||
return request({ |
|||
url: '/platform/platformWalletLog/' + id, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增平台钱包日志
|
|||
export function addPlatformWalletLog(data) { |
|||
return request({ |
|||
url: '/platform/platformWalletLog', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改平台钱包日志
|
|||
export function updatePlatformWalletLog(data) { |
|||
return request({ |
|||
url: '/platform/platformWalletLog', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除平台钱包日志
|
|||
export function delPlatformWalletLog(id) { |
|||
return request({ |
|||
url: '/platform/platformWalletLog/' + id, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 导出平台钱包日志
|
|||
export function exportPlatformWalletLog(query) { |
|||
return request({ |
|||
url: '/platform/platformWalletLog/export', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
@ -0,0 +1,60 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询参数列表
|
|||
export function listConfig(query) { |
|||
return request({ |
|||
url: '/system/config/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询参数详细
|
|||
export function getConfig(configId) { |
|||
return request({ |
|||
url: '/system/config/' + configId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 根据参数键名查询参数值
|
|||
export function getConfigKey(configKey) { |
|||
return request({ |
|||
url: '/system/config/configKey/' + configKey, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增参数配置
|
|||
export function addConfig(data) { |
|||
return request({ |
|||
url: '/system/config', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改参数配置
|
|||
export function updateConfig(data) { |
|||
return request({ |
|||
url: '/system/config', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除参数配置
|
|||
export function delConfig(configId) { |
|||
return request({ |
|||
url: '/system/config/' + configId, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 刷新参数缓存
|
|||
export function refreshCache() { |
|||
return request({ |
|||
url: '/system/config/refreshCache', |
|||
method: 'delete' |
|||
}) |
|||
} |
@ -0,0 +1,59 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询部门列表
|
|||
export function listDept(query) { |
|||
return request({ |
|||
url: '/system/dept/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
// 查询部门下拉树结构
|
|||
export function treeselect(query) { |
|||
return request({ |
|||
url: '/system/dept/treeselect', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
// 查询部门列表(排除节点)
|
|||
export function listDeptExcludeChild(deptId) { |
|||
return request({ |
|||
url: '/system/dept/list/exclude/' + deptId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 查询部门详细
|
|||
export function getDept(deptId) { |
|||
return request({ |
|||
url: '/system/dept/' + deptId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增部门
|
|||
export function addDept(data) { |
|||
return request({ |
|||
url: '/system/dept', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改部门
|
|||
export function updateDept(data) { |
|||
return request({ |
|||
url: '/system/dept', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除部门
|
|||
export function delDept(deptId) { |
|||
return request({ |
|||
url: '/system/dept/' + deptId, |
|||
method: 'delete' |
|||
}) |
|||
} |
@ -0,0 +1,52 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询字典数据列表
|
|||
export function listData(query) { |
|||
return request({ |
|||
url: '/system/dict/data/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询字典数据详细
|
|||
export function getData(dictCode) { |
|||
return request({ |
|||
url: '/system/dict/data/' + dictCode, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 根据字典类型查询字典数据信息
|
|||
export function getDicts(dictType) { |
|||
return request({ |
|||
url: '/system/dict/data/type/' + dictType, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增字典数据
|
|||
export function addData(data) { |
|||
return request({ |
|||
url: '/system/dict/data', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改字典数据
|
|||
export function updateData(data) { |
|||
return request({ |
|||
url: '/system/dict/data', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除字典数据
|
|||
export function delData(dictCode) { |
|||
return request({ |
|||
url: '/system/dict/data/' + dictCode, |
|||
method: 'delete' |
|||
}) |
|||
} |
@ -0,0 +1,60 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询字典类型列表
|
|||
export function listType(query) { |
|||
return request({ |
|||
url: '/system/dict/type/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询字典类型详细
|
|||
export function getType(dictId) { |
|||
return request({ |
|||
url: '/system/dict/type/' + dictId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增字典类型
|
|||
export function addType(data) { |
|||
return request({ |
|||
url: '/system/dict/type', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改字典类型
|
|||
export function updateType(data) { |
|||
return request({ |
|||
url: '/system/dict/type', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除字典类型
|
|||
export function delType(dictId) { |
|||
return request({ |
|||
url: '/system/dict/type/' + dictId, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 刷新字典缓存
|
|||
export function refreshCache() { |
|||
return request({ |
|||
url: '/system/dict/type/refreshCache', |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 获取字典选择框列表
|
|||
export function optionselect() { |
|||
return request({ |
|||
url: '/system/dict/type/optionselect', |
|||
method: 'get' |
|||
}) |
|||
} |
@ -0,0 +1,60 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询菜单列表
|
|||
export function listMenu(query) { |
|||
return request({ |
|||
url: '/system/menu/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询菜单详细
|
|||
export function getMenu(menuId) { |
|||
return request({ |
|||
url: '/system/menu/' + menuId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 查询菜单下拉树结构
|
|||
export function treeselect() { |
|||
return request({ |
|||
url: '/system/menu/treeselect', |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 根据角色ID查询菜单下拉树结构
|
|||
export function roleMenuTreeselect(roleId) { |
|||
return request({ |
|||
url: '/system/menu/roleMenuTreeselect/' + roleId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增菜单
|
|||
export function addMenu(data) { |
|||
return request({ |
|||
url: '/system/menu', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改菜单
|
|||
export function updateMenu(data) { |
|||
return request({ |
|||
url: '/system/menu', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除菜单
|
|||
export function delMenu(menuId) { |
|||
return request({ |
|||
url: '/system/menu/' + menuId, |
|||
method: 'delete' |
|||
}) |
|||
} |
@ -0,0 +1,44 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询公告列表
|
|||
export function listNotice(query) { |
|||
return request({ |
|||
url: '/system/notice/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询公告详细
|
|||
export function getNotice(noticeId) { |
|||
return request({ |
|||
url: '/system/notice/' + noticeId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增公告
|
|||
export function addNotice(data) { |
|||
return request({ |
|||
url: '/system/notice', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改公告
|
|||
export function updateNotice(data) { |
|||
return request({ |
|||
url: '/system/notice', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除公告
|
|||
export function delNotice(noticeId) { |
|||
return request({ |
|||
url: '/system/notice/' + noticeId, |
|||
method: 'delete' |
|||
}) |
|||
} |
@ -0,0 +1,44 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询岗位列表
|
|||
export function listPost(query) { |
|||
return request({ |
|||
url: '/system/post/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询岗位详细
|
|||
export function getPost(postId) { |
|||
return request({ |
|||
url: '/system/post/' + postId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增岗位
|
|||
export function addPost(data) { |
|||
return request({ |
|||
url: '/system/post', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改岗位
|
|||
export function updatePost(data) { |
|||
return request({ |
|||
url: '/system/post', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除岗位
|
|||
export function delPost(postId) { |
|||
return request({ |
|||
url: '/system/post/' + postId, |
|||
method: 'delete' |
|||
}) |
|||
} |
@ -0,0 +1,119 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询角色列表
|
|||
export function listRole(query) { |
|||
return request({ |
|||
url: '/system/role/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询角色详细
|
|||
export function getRole(roleId) { |
|||
return request({ |
|||
url: '/system/role/' + roleId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增角色
|
|||
export function addRole(data) { |
|||
return request({ |
|||
url: '/system/role', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改角色
|
|||
export function updateRole(data) { |
|||
return request({ |
|||
url: '/system/role', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 角色数据权限
|
|||
export function dataScope(data) { |
|||
return request({ |
|||
url: '/system/role/dataScope', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 角色状态修改
|
|||
export function changeRoleStatus(roleId, status) { |
|||
const data = { |
|||
roleId, |
|||
status |
|||
} |
|||
return request({ |
|||
url: '/system/role/changeStatus', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除角色
|
|||
export function delRole(roleId) { |
|||
return request({ |
|||
url: '/system/role/' + roleId, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 查询角色已授权用户列表
|
|||
export function allocatedUserList(query) { |
|||
return request({ |
|||
url: '/system/role/authUser/allocatedList', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询角色未授权用户列表
|
|||
export function unallocatedUserList(query) { |
|||
return request({ |
|||
url: '/system/role/authUser/unallocatedList', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 取消用户授权角色
|
|||
export function authUserCancel(data) { |
|||
return request({ |
|||
url: '/system/role/authUser/cancel', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 批量取消用户授权角色
|
|||
export function authUserCancelAll(data) { |
|||
return request({ |
|||
url: '/system/role/authUser/cancelAll', |
|||
method: 'put', |
|||
params: data |
|||
}) |
|||
} |
|||
|
|||
// 授权用户选择
|
|||
export function authUserSelectAll(data) { |
|||
return request({ |
|||
url: '/system/role/authUser/selectAll', |
|||
method: 'put', |
|||
params: data |
|||
}) |
|||
} |
|||
|
|||
// 根据角色ID查询部门树结构
|
|||
export function deptTreeSelect(roleId) { |
|||
return request({ |
|||
url: '/system/role/deptTree/' + roleId, |
|||
method: 'get' |
|||
}) |
|||
} |
@ -0,0 +1,136 @@ |
|||
import request from '@/utils/request' |
|||
import { parseStrEmpty } from "@/utils/ruoyi"; |
|||
|
|||
// 查询用户列表
|
|||
export function listUser(query) { |
|||
return request({ |
|||
url: '/system/user/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询用户详细
|
|||
export function getUser(userId) { |
|||
return request({ |
|||
url: '/system/user/' + parseStrEmpty(userId), |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 新增用户
|
|||
export function addUser(data) { |
|||
return request({ |
|||
url: '/system/user', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 修改用户
|
|||
export function updateUser(data) { |
|||
return request({ |
|||
url: '/system/user', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 删除用户
|
|||
export function delUser(userId) { |
|||
return request({ |
|||
url: '/system/user/' + userId, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 用户密码重置
|
|||
export function resetUserPwd(userId, password,withdrawalsPwd) { |
|||
const data = { |
|||
userId, |
|||
password, |
|||
withdrawalsPwd |
|||
} |
|||
return request({ |
|||
url: '/system/user/resetPwd', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 用户状态修改
|
|||
export function changeUserStatus(userId, status) { |
|||
const data = { |
|||
userId, |
|||
status |
|||
} |
|||
return request({ |
|||
url: '/system/user/changeStatus', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 查询用户个人信息
|
|||
export function getUserProfile() { |
|||
return request({ |
|||
url: '/system/user/profile', |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 修改用户个人信息
|
|||
export function updateUserProfile(data) { |
|||
return request({ |
|||
url: '/system/user/profile', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 用户密码重置
|
|||
export function updateUserPwd(oldPassword, newPassword) { |
|||
const data = { |
|||
oldPassword, |
|||
newPassword |
|||
} |
|||
return request({ |
|||
url: '/system/user/profile/updatePwd', |
|||
method: 'put', |
|||
params: data |
|||
}) |
|||
} |
|||
|
|||
// 用户头像上传
|
|||
export function uploadAvatar(data) { |
|||
return request({ |
|||
url: '/system/user/profile/avatar', |
|||
method: 'post', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 查询授权角色
|
|||
export function getAuthRole(userId) { |
|||
return request({ |
|||
url: '/system/user/authRole/' + userId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 保存授权角色
|
|||
export function updateAuthRole(data) { |
|||
return request({ |
|||
url: '/system/user/authRole', |
|||
method: 'put', |
|||
params: data |
|||
}) |
|||
} |
|||
|
|||
// 查询部门下拉树结构
|
|||
export function deptTreeSelect() { |
|||
return request({ |
|||
url: '/system/user/deptTree', |
|||
method: 'get' |
|||
}) |
|||
} |
@ -0,0 +1,76 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 查询生成表数据
|
|||
export function listTable(query) { |
|||
return request({ |
|||
url: '/tool/gen/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
// 查询db数据库列表
|
|||
export function listDbTable(query) { |
|||
return request({ |
|||
url: '/tool/gen/db/list', |
|||
method: 'get', |
|||
params: query |
|||
}) |
|||
} |
|||
|
|||
// 查询表详细信息
|
|||
export function getGenTable(tableId) { |
|||
return request({ |
|||
url: '/tool/gen/' + tableId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 修改代码生成信息
|
|||
export function updateGenTable(data) { |
|||
return request({ |
|||
url: '/tool/gen', |
|||
method: 'put', |
|||
data: data |
|||
}) |
|||
} |
|||
|
|||
// 导入表
|
|||
export function importTable(data) { |
|||
return request({ |
|||
url: '/tool/gen/importTable', |
|||
method: 'post', |
|||
params: data |
|||
}) |
|||
} |
|||
|
|||
// 预览生成代码
|
|||
export function previewTable(tableId) { |
|||
return request({ |
|||
url: '/tool/gen/preview/' + tableId, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 删除表数据
|
|||
export function delTable(tableId) { |
|||
return request({ |
|||
url: '/tool/gen/' + tableId, |
|||
method: 'delete' |
|||
}) |
|||
} |
|||
|
|||
// 生成代码(自定义路径)
|
|||
export function genCode(tableName) { |
|||
return request({ |
|||
url: '/tool/gen/genCode/' + tableName, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 同步数据库
|
|||
export function synchDb(tableName) { |
|||
return request({ |
|||
url: '/tool/gen/synchDb/' + tableName, |
|||
method: 'get' |
|||
}) |
|||
} |
After Width: | Height: | Size: 160 KiB |
After Width: | Height: | Size: 96 KiB |
After Width: | Height: | Size: 4.7 KiB |
@ -0,0 +1,9 @@ |
|||
import Vue from 'vue' |
|||
import SvgIcon from '@/components/SvgIcon'// svg component
|
|||
|
|||
// register globally
|
|||
Vue.component('svg-icon', SvgIcon) |
|||
|
|||
const req = require.context('./svg', false, /\.svg$/) |
|||
const requireAll = requireContext => requireContext.keys().map(requireContext) |
|||
requireAll(req) |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 954 B |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 179 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 971 B |
After Width: | Height: | Size: 717 B |
After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 418 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 356 B |
After Width: | Height: | Size: 724 B |
After Width: | Height: | Size: 818 B |