8 Commits

Author SHA1 Message Date
  CYF 7ba975fd96 CYF 1 month ago
  CYF 47bd754cfa Merge branch 'master' of https://gitee.com/oracular-wind/pet-admin 1 month ago
  cc 3b90cd98a7 123 1 month ago
  CYF 89398638f9 更改 1 month ago
  CYF 6aed95856a 更改 1 month ago
  CYF b594c5962a CYF 1 month ago
  CYF 2332ea6716 CYF 1 month ago
  CYF dfb41d69f0 CYF 1 month ago
644 changed files with 58728 additions and 307 deletions
Split View
  1. +22
    -0
      CatmDogd-Mall-Front-test/.editorconfig
  2. +12
    -0
      CatmDogd-Mall-Front-test/.env.development
  3. +9
    -0
      CatmDogd-Mall-Front-test/.env.production
  4. +10
    -0
      CatmDogd-Mall-Front-test/.env.staging
  5. +10
    -0
      CatmDogd-Mall-Front-test/.eslintignore
  6. +199
    -0
      CatmDogd-Mall-Front-test/.eslintrc.js
  7. +23
    -0
      CatmDogd-Mall-Front-test/.gitignore
  8. +21
    -0
      CatmDogd-Mall-Front-test/LICENSE
  9. +71
    -0
      CatmDogd-Mall-Front-test/README.md
  10. +13
    -0
      CatmDogd-Mall-Front-test/babel.config.js
  11. +12
    -0
      CatmDogd-Mall-Front-test/bin/build.bat
  12. +12
    -0
      CatmDogd-Mall-Front-test/bin/package.bat
  13. +12
    -0
      CatmDogd-Mall-Front-test/bin/run-web.bat
  14. +35
    -0
      CatmDogd-Mall-Front-test/build/index.js
  15. BIN
      CatmDogd-Mall-Front-test/demo.zip
  16. BIN
      CatmDogd-Mall-Front-test/doc/datacall.jpg
  17. BIN
      CatmDogd-Mall-Front-test/doc/h5演示.png
  18. BIN
      CatmDogd-Mall-Front-test/doc/qqgroup.jpg
  19. BIN
      CatmDogd-Mall-Front-test/doc/小程序演示.jpg
  20. BIN
      CatmDogd-Mall-Front-test/doc/快递小程序.jpg
  21. +9
    -0
      CatmDogd-Mall-Front-test/jsconfig.json
  22. +23
    -0
      CatmDogd-Mall-Front-test/operate.sql
  23. +99
    -0
      CatmDogd-Mall-Front-test/package.json
  24. BIN
      CatmDogd-Mall-Front-test/public/favicon.ico
  25. +46
    -0
      CatmDogd-Mall-Front-test/public/html/ie.html
  26. +210
    -0
      CatmDogd-Mall-Front-test/public/index.html
  27. +2
    -0
      CatmDogd-Mall-Front-test/public/robots.txt
  28. +22
    -0
      CatmDogd-Mall-Front-test/src/App.vue
  29. +54
    -0
      CatmDogd-Mall-Front-test/src/api/aws/systemStatistics.js
  30. +59
    -0
      CatmDogd-Mall-Front-test/src/api/login.js
  31. +62
    -0
      CatmDogd-Mall-Front-test/src/api/marketing/wechatMemberCoupon.js
  32. +53
    -0
      CatmDogd-Mall-Front-test/src/api/marketing/wechatStock.js
  33. +9
    -0
      CatmDogd-Mall-Front-test/src/api/menu.js
  34. +44
    -0
      CatmDogd-Mall-Front-test/src/api/model/AppExaminationInstructions.js
  35. +44
    -0
      CatmDogd-Mall-Front-test/src/api/model/AppInvite.js
  36. +44
    -0
      CatmDogd-Mall-Front-test/src/api/model/CurrentConfig.js
  37. +44
    -0
      CatmDogd-Mall-Front-test/src/api/model/FinalConfig.js
  38. +44
    -0
      CatmDogd-Mall-Front-test/src/api/model/ShortAnswerQuestions.js
  39. +44
    -0
      CatmDogd-Mall-Front-test/src/api/model/Training.js
  40. +44
    -0
      CatmDogd-Mall-Front-test/src/api/model/TransactionDetails.js
  41. +44
    -0
      CatmDogd-Mall-Front-test/src/api/model/UserBindingConfig.js
  42. +44
    -0
      CatmDogd-Mall-Front-test/src/api/model/Wallet.js
  43. +44
    -0
      CatmDogd-Mall-Front-test/src/api/model/WithdrawalConfig.js
  44. +44
    -0
      CatmDogd-Mall-Front-test/src/api/model/answer.js
  45. +44
    -0
      CatmDogd-Mall-Front-test/src/api/model/banner.js
  46. +44
    -0
      CatmDogd-Mall-Front-test/src/api/model/config.js
  47. +44
    -0
      CatmDogd-Mall-Front-test/src/api/model/examination.js
  48. +44
    -0
      CatmDogd-Mall-Front-test/src/api/model/indexConfigIcon.js
  49. +44
    -0
      CatmDogd-Mall-Front-test/src/api/model/indexPartnerConfig.js
  50. +44
    -0
      CatmDogd-Mall-Front-test/src/api/model/license.js
  51. +44
    -0
      CatmDogd-Mall-Front-test/src/api/model/petType.js
  52. +57
    -0
      CatmDogd-Mall-Front-test/src/api/monitor/cache.js
  53. +71
    -0
      CatmDogd-Mall-Front-test/src/api/monitor/job.js
  54. +26
    -0
      CatmDogd-Mall-Front-test/src/api/monitor/jobLog.js
  55. +26
    -0
      CatmDogd-Mall-Front-test/src/api/monitor/logininfor.js
  56. +18
    -0
      CatmDogd-Mall-Front-test/src/api/monitor/online.js
  57. +26
    -0
      CatmDogd-Mall-Front-test/src/api/monitor/operlog.js
  58. +9
    -0
      CatmDogd-Mall-Front-test/src/api/monitor/server.js
  59. +70
    -0
      CatmDogd-Mall-Front-test/src/api/oms/aftersale.js
  60. +54
    -0
      CatmDogd-Mall-Front-test/src/api/oms/aftersaleItem.js
  61. +98
    -0
      CatmDogd-Mall-Front-test/src/api/oms/order.js
  62. +54
    -0
      CatmDogd-Mall-Front-test/src/api/oms/orderDeliveryHistory.js
  63. +54
    -0
      CatmDogd-Mall-Front-test/src/api/oms/orderItem.js
  64. +54
    -0
      CatmDogd-Mall-Front-test/src/api/oms/orderOperateHistory.js
  65. +53
    -0
      CatmDogd-Mall-Front-test/src/api/oms/orderService.js
  66. +54
    -0
      CatmDogd-Mall-Front-test/src/api/oms/wechatPaymentHistory.js
  67. +62
    -0
      CatmDogd-Mall-Front-test/src/api/pms/brand.js
  68. +54
    -0
      CatmDogd-Mall-Front-test/src/api/pms/product.js
  69. +54
    -0
      CatmDogd-Mall-Front-test/src/api/pms/productCategory.js
  70. +54
    -0
      CatmDogd-Mall-Front-test/src/api/pms/sku.js
  71. +32
    -0
      CatmDogd-Mall-Front-test/src/api/statistics/index.js
  72. +10
    -0
      CatmDogd-Mall-Front-test/src/api/system/common.js
  73. +60
    -0
      CatmDogd-Mall-Front-test/src/api/system/config.js
  74. +68
    -0
      CatmDogd-Mall-Front-test/src/api/system/dept.js
  75. +69
    -0
      CatmDogd-Mall-Front-test/src/api/system/dict/data.js
  76. +60
    -0
      CatmDogd-Mall-Front-test/src/api/system/dict/type.js
  77. +44
    -0
      CatmDogd-Mall-Front-test/src/api/system/image.js
  78. +60
    -0
      CatmDogd-Mall-Front-test/src/api/system/menu.js
  79. +44
    -0
      CatmDogd-Mall-Front-test/src/api/system/notice.js
  80. +44
    -0
      CatmDogd-Mall-Front-test/src/api/system/post.js
  81. +111
    -0
      CatmDogd-Mall-Front-test/src/api/system/role.js
  82. +44
    -0
      CatmDogd-Mall-Front-test/src/api/system/staff.js
  83. +127
    -0
      CatmDogd-Mall-Front-test/src/api/system/user.js
  84. +76
    -0
      CatmDogd-Mall-Front-test/src/api/tool/gen.js
  85. +53
    -0
      CatmDogd-Mall-Front-test/src/api/ums/doorLock.js
  86. +88
    -0
      CatmDogd-Mall-Front-test/src/api/ums/member.js
  87. +54
    -0
      CatmDogd-Mall-Front-test/src/api/ums/memberAddress.js
  88. +54
    -0
      CatmDogd-Mall-Front-test/src/api/ums/memberCart.js
  89. +54
    -0
      CatmDogd-Mall-Front-test/src/api/ums/memberLogininfor.js
  90. +54
    -0
      CatmDogd-Mall-Front-test/src/api/ums/memberWechat.js
  91. +63
    -0
      CatmDogd-Mall-Front-test/src/api/ums/pet.js
  92. +53
    -0
      CatmDogd-Mall-Front-test/src/api/ums/petCare.js
  93. BIN
      CatmDogd-Mall-Front-test/src/assets/401_images/401.gif
  94. BIN
      CatmDogd-Mall-Front-test/src/assets/404_images/404.png
  95. BIN
      CatmDogd-Mall-Front-test/src/assets/404_images/404_cloud.png
  96. BIN
      CatmDogd-Mall-Front-test/src/assets/QRCode/express.jpg
  97. BIN
      CatmDogd-Mall-Front-test/src/assets/QRCode/h5.png
  98. BIN
      CatmDogd-Mall-Front-test/src/assets/QRCode/wechat_mini.jpg
  99. +9
    -0
      CatmDogd-Mall-Front-test/src/assets/icons/index.js
  100. +1
    -0
      CatmDogd-Mall-Front-test/src/assets/icons/svg/404.svg

+ 22
- 0
CatmDogd-Mall-Front-test/.editorconfig View File

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

+ 12
- 0
CatmDogd-Mall-Front-test/.env.development View File

@ -0,0 +1,12 @@
# 页面标题
VUE_APP_TITLE = 猫妈狗爸商城管理平台
# 开发环境配置
ENV = 'development'
# 若依管理系统/开发环境 https://api-test.catmdogd.com/test-api
VUE_APP_BASE_API = 'http://localhost:8081'
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true
VUE_APP_JUDGE_STAR = 0

+ 9
- 0
CatmDogd-Mall-Front-test/.env.production View File

@ -0,0 +1,9 @@
# 页面标题
VUE_APP_TITLE = 猫妈狗爸商城管理平台测试环境
# 生产环境配置
ENV = 'production'
# 若依管理系统/生产环境
VUE_APP_BASE_API = '/test-api'
VUE_APP_JUDGE_STAR = 0

+ 10
- 0
CatmDogd-Mall-Front-test/.env.staging View File

@ -0,0 +1,10 @@
# 页面标题
VUE_APP_TITLE = 猫妈狗爸商城管理平台测试环境
NODE_ENV = production
# 测试环境配置
ENV = 'staging'
# 若依管理系统/测试环境
VUE_APP_BASE_API = '/test-api'

+ 10
- 0
CatmDogd-Mall-Front-test/.eslintignore View File

@ -0,0 +1,10 @@
# 忽略build目录下类型为js的文件的语法检查
build/*.js
# 忽略src/assets目录下文件的语法检查
src/assets
# 忽略public目录下文件的语法检查
public
# 忽略当前目录下为js的文件的语法检查
*.js
# 忽略当前目录下为vue的文件的语法检查
*.vue

+ 199
- 0
CatmDogd-Mall-Front-test/.eslintrc.js View File

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

+ 23
- 0
CatmDogd-Mall-Front-test/.gitignore View File

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

+ 21
- 0
CatmDogd-Mall-Front-test/LICENSE View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2022 Zhaochencheng
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

+ 71
- 0
CatmDogd-Mall-Front-test/README.md View File

@ -0,0 +1,71 @@
## B站讲解视频
https://www.bilibili.com/video/BV16N4y1d7MM
## 开发
```bash
# 安装依赖
npm install
# 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
npm install --registry=https://registry.npmmirror.com
# 启动服务
npm run dev
```
## 发布
```bash
# 构建测试环境
npm run build:stage
# 构建生产环境
npm run build:prod
```
## 项目地址
| | gitee | github |
|:---------:|:-------------------------------------------|:---------------------------------------------|
| service | https://gitee.com/zccbbg/RuoYi-Mall | https://github.com/zccbbg/ruoyi-mall |
| h5 uniapp | https://gitee.com/zccbbg/ruoyi-mall-uniapp | https://github.com/zccbbg/ruoyi-mall-uniapp |
## 在线体验
### 管理后台演示地址
http://mall.ichengle.top
### 小程序和h5
<img src="doc/小程序演示.jpg" width="200px">
<img src="doc/快递小程序.jpg" width="200px">
<img src="doc/h5演示.png" width="200px">
## CSDN若依技术专栏
- 常见问题:https://blog.csdn.net/qq_27575627/category_12336113.html
- 后端技术:https://blog.csdn.net/qq_27575627/category_12331868.html
- 前端技术:https://blog.csdn.net/qq_27575627/category_12331867.html
- 运维:https://blog.csdn.net/qq_27575627/category_12332546.html
## 若依mall简介
若依是一套全部开源的快速开发平台,毫无保留给个人及企业免费使用。我们在此基础上开发了ruoyi-mall。希望能给做商城的朋友减轻工作量。
* 前端采用Vue、Element UI(ant design 正在开发中)。
* 后端采用Spring Boot、Spring Security、Redis & Jwt。
* 权限认证使用Jwt,支持多终端认证系统。
* 支持加载动态权限菜单,多方式轻松权限控制。
* 高效率开发,使用代码生成器可以一键生成前后端代码。
## 若依mall功能
1. 首页:
2. PMS商品管理:
3. UMS会员管理:
4. OMS订单管理:
5. SMS营销管理:
6. CMS内容管理:
## 关于我们
* 开发团队成立5年,我们前端开发、后端架构,有一颗热爱开源的心,致力于打造企业级的通用产品设计UI体系让项目 或者更直观,更高效、更简单,未来将持续关注UI交互,持续推出高质量的交互产品。
* 这五年我主要做isv对接淘宝、拼多多、抖音、美团等平台的订单处理应用,日处理订单300w条,因为要熟悉业务也开过淘宝和拼多多店铺运营了一个网易严选的品牌。我们的公众号会陆续更新一些我一边撸代码一边做客服的经历。也会更新一些我的读书笔记以及编程、创业、生活中踩坑的文章。另外还会开放一些米哈游、博世、企查查、同程、阿里、京东、拼多多等大厂、中厂或外企的内推岗位!
## 加群/技术支持
| 公众号 |
|:------------------------------------------:|
| <img src="doc/datacall.jpg" width="200px"> |
扫公众号二维码,关注后回复:“支持”或者“加群”

+ 13
- 0
CatmDogd-Mall-Front-test/babel.config.js View File

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

+ 12
- 0
CatmDogd-Mall-Front-test/bin/build.bat View File

@ -0,0 +1,12 @@
@echo off
echo.
echo [信息] 打包Web工程,生成dist文件。
echo.
%~d0
cd %~dp0
cd ..
npm run build:prod
pause

+ 12
- 0
CatmDogd-Mall-Front-test/bin/package.bat View File

@ -0,0 +1,12 @@
@echo off
echo.
echo [信息] 安装Web工程,生成node_modules文件。
echo.
%~d0
cd %~dp0
cd ..
npm install --registry=https://registry.npmmirror.com
pause

+ 12
- 0
CatmDogd-Mall-Front-test/bin/run-web.bat View File

@ -0,0 +1,12 @@
@echo off
echo.
echo [信息] 使用 Vue CLI 命令运行 Web 工程。
echo.
%~d0
cd %~dp0
cd ..
npm run dev
pause

+ 35
- 0
CatmDogd-Mall-Front-test/build/index.js View File

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

BIN
CatmDogd-Mall-Front-test/demo.zip View File


BIN
CatmDogd-Mall-Front-test/doc/datacall.jpg View File

Before After
Width: 826  |  Height: 919  |  Size: 80 KiB

BIN
CatmDogd-Mall-Front-test/doc/h5演示.png View File

Before After
Width: 400  |  Height: 400  |  Size: 4.0 KiB

BIN
CatmDogd-Mall-Front-test/doc/qqgroup.jpg View File

Before After
Width: 342  |  Height: 394  |  Size: 57 KiB

BIN
CatmDogd-Mall-Front-test/doc/小程序演示.jpg View File

Before After
Width: 430  |  Height: 430  |  Size: 114 KiB

BIN
CatmDogd-Mall-Front-test/doc/快递小程序.jpg View File

Before After
Width: 295  |  Height: 295  |  Size: 38 KiB

+ 9
- 0
CatmDogd-Mall-Front-test/jsconfig.json View File

@ -0,0 +1,9 @@
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
}
},
"exclude": ["node_modules", "dist"]
}

+ 23
- 0
CatmDogd-Mall-Front-test/operate.sql View File

@ -0,0 +1,23 @@
select * from oms_order where member_username = '用户0951';
SELECT * from oms_order where id in ('5643280142665728','5678349869418496','5691927813097472','5691927941580800');
SELECT * from oms_order_item where order_id in ('5643280142665728','5678349869418496','5691927813097472','5691927941580800');
SELECT * from oms_order_service where order_id in ('5643280142665728','5678349869418496','5691927813097472','5691927941580800');
SELECT * from oms_wechat_payment_history where order_id in ('5643280142665728','5678349869418496','5691927813097472','5691927941580800');
delete from oms_order where id in ('5643280142665728','5678349869418496','5691927813097472','5691927941580800');
delete from oms_order_item where order_id in ('5643280142665728','5678349869418496','5691927813097472','5691927941580800');
delete from oms_order_service where order_id in ('5643280142665728','5678349869418496','5691927813097472','5691927941580800');
select * from oms_order where member_username = '用户4070';
delete from oms_order where id in ('5643216264595456','5643216273197056','5643219524683776','5643220870989824','5643220882245632','5643264262195200','5690007030106112');
delete from oms_order_item where order_id in ('5643216264595456','5643216273197056','5643219524683776','5643220870989824','5643220882245632','5643264262195200','5690007030106112');
delete from oms_order_service where order_id in ('5643216264595456','5643216273197056','5643219524683776','5643220870989824','5643220882245632','5643264262195200','5690007030106112');
select * from oms_order where status = 4 and id != '5655640702076928';
delete from oms_order where id in (select * from oms_order where status = 4 and id != '5655640702076928');
delete from oms_order_item where order_id in (select * from oms_order where status = 4 and id != '5655640702076928');
delete from oms_order_service where order_id in (select * from oms_order where status = 4 and id != '5655640702076928');

+ 99
- 0
CatmDogd-Mall-Front-test/package.json View File

@ -0,0 +1,99 @@
{
"name": "ruoyi-ui-merge",
"version": "3.8.3",
"description": "猫妈狗爸商城管理测试环境",
"author": "若依",
"license": "MIT",
"scripts": {
"dev": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve",
"start": "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.19.1",
"echarts": "4.9.0",
"v-charts": "^1.19.0",
"element-ui": "2.15.8",
"file-saver": "2.0.5",
"fuse.js": "6.4.3",
"highlight.js": "9.18.5",
"js-beautify": "1.13.0",
"js-cookie": "3.0.1",
"jsencrypt": "3.0.0-rc.1",
"kr-print-designer": "^1.1.8",
"moment": "^2.24.0",
"nprogress": "0.2.0",
"quill": "1.3.7",
"screenfull": "5.0.2",
"sortablejs": "1.10.2",
"vue": "2.6.12",
"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",
"html-webpack-plugin": "^4.5.2",
"lint-staged": "10.5.3",
"pug": "^2.0.3",
"pug-plain-loader": "^1.0.0",
"runjs": "4.4.2",
"sass": "1.32.13",
"sass-loader": "10.1.1",
"script-ext-html-webpack-plugin": "2.1.5",
"stylus": "^0.54.5",
"stylus-loader": "^3.0.2",
"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"
]
}

BIN
CatmDogd-Mall-Front-test/public/favicon.ico View File

Before After
Width: 64  |  Height: 64  |  Size: 5.5 KiB

+ 46
- 0
CatmDogd-Mall-Front-test/public/html/ie.html
File diff suppressed because it is too large
View File


+ 210
- 0
CatmDogd-Mall-Front-test/public/index.html View File

@ -0,0 +1,210 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="keywords" content="猫妈狗爸商场管理平台">
<meta name="description" content="猫妈狗爸商场管理平台">
<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: #7171C6;
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>

+ 2
- 0
CatmDogd-Mall-Front-test/public/robots.txt View File

@ -0,0 +1,2 @@
User-agent: *
Disallow: /

+ 22
- 0
CatmDogd-Mall-Front-test/src/App.vue View File

@ -0,0 +1,22 @@
<template>
<div id="app">
<router-view />
</div>
</template>
<script>
export default {
name: 'App',
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 lang="stylus">
@import "base"
</style>

+ 54
- 0
CatmDogd-Mall-Front-test/src/api/aws/systemStatistics.js View File

@ -0,0 +1,54 @@
import request from '@/utils/request'
// 查询系统数据统计列表
export function listAwsSystemStatistics(query, pageReq) {
return request({
url: '/aws/systemStatistics/list',
method: 'post',
data: query,
params: pageReq
})
}
// 查询系统数据统计详细
export function getAwsSystemStatistics(id) {
return request({
url: '/aws/systemStatistics/' + id,
method: 'get'
})
}
// 新增系统数据统计
export function addAwsSystemStatistics(data) {
return request({
url: '/aws/systemStatistics',
method: 'post',
data: data
})
}
// 修改系统数据统计
export function updateAwsSystemStatistics(data) {
return request({
url: '/aws/systemStatistics',
method: 'put',
data: data
})
}
// 删除系统数据统计
export function delAwsSystemStatistics(id) {
return request({
url: '/aws/systemStatistics/' + id,
method: 'delete'
})
}
// 导出系统数据统计
export function exportAwsSystemStatistics(query) {
return request({
url: '/aws/systemStatistics/export',
method: 'get',
params: query
})
}

+ 59
- 0
CatmDogd-Mall-Front-test/src/api/login.js View File

@ -0,0 +1,59 @@
import request from '@/utils/request'
// 登录方法
export function login(username, password, code, uuid) {
const data = {
username,
password,
code,
uuid
}
return request({
url: '/login',
headers: {
isToken: false
},
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
})
}

+ 62
- 0
CatmDogd-Mall-Front-test/src/api/marketing/wechatMemberCoupon.js View File

@ -0,0 +1,62 @@
import request from '@/utils/request'
// 查询会员券发放记录列表
export function listWechatMemberCoupon(query) {
return request({
url: '/mall/wechatMemberCoupon/list',
method: 'get',
params: query
})
}
// 查询会员券发放记录详细
export function getWechatMemberCoupon(id) {
return request({
url: '/mall/wechatMemberCoupon/' + id,
method: 'get'
})
}
// 新增会员券发放记录
export function addWechatMemberCoupon(data) {
return request({
url: '/mall/wechatMemberCoupon',
method: 'post',
data: data
})
}
// 发放会员券
export function sendCoupon(data) {
return request({
url: '/mall/wechatMemberCoupon/send',
method: 'post',
data: data
})
}
// 修改会员券发放记录
export function updateWechatMemberCoupon(data) {
return request({
url: '/mall/wechatMemberCoupon',
method: 'put',
data: data
})
}
// 删除会员券发放记录
export function delWechatMemberCoupon(id) {
return request({
url: '/mall/wechatMemberCoupon/' + id,
method: 'delete'
})
}
// 导出会员券发放记录
export function exportWechatMemberCoupon(query) {
return request({
url: '/mall/wechatMemberCoupon/export',
method: 'get',
params: query
})
}

+ 53
- 0
CatmDogd-Mall-Front-test/src/api/marketing/wechatStock.js View File

@ -0,0 +1,53 @@
import request from '@/utils/request'
// 查询微信商家券列表
export function listWechatStock(query) {
return request({
url: '/mall/wechatStock/list',
method: 'get',
params: query
})
}
// 查询微信商家券详细
export function getWechatStock(id) {
return request({
url: '/mall/wechatStock/' + id,
method: 'get'
})
}
// 新增微信商家券
export function addWechatStock(data) {
return request({
url: '/mall/wechatStock',
method: 'post',
data: data
})
}
// 修改微信商家券
export function updateWechatStock(data) {
return request({
url: '/mall/wechatStock',
method: 'put',
data: data
})
}
// 删除微信商家券
export function delWechatStock(id) {
return request({
url: '/mall/wechatStock/' + id,
method: 'delete'
})
}
// 导出微信商家券
export function exportWechatStock(query) {
return request({
url: '/mall/wechatStock/export',
method: 'get',
params: query
})
}

+ 9
- 0
CatmDogd-Mall-Front-test/src/api/menu.js View File

@ -0,0 +1,9 @@
import request from '@/utils/request'
// 获取路由
export const getRouters = () => {
return request({
url: '/getRouters',
method: 'get'
})
}

+ 44
- 0
CatmDogd-Mall-Front-test/src/api/model/AppExaminationInstructions.js View File

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询考核说明配置列表
export function listAppExaminationInstructions(query) {
return request({
url: '/model/AppExaminationInstructions/list',
method: 'get',
params: query
})
}
// 查询考核说明配置详细
export function getAppExaminationInstructions(examinationInstructionsId) {
return request({
url: '/model/AppExaminationInstructions/' + examinationInstructionsId,
method: 'get'
})
}
// 新增考核说明配置
export function addAppExaminationInstructions(data) {
return request({
url: '/model/AppExaminationInstructions',
method: 'post',
data: data
})
}
// 修改考核说明配置
export function updateAppExaminationInstructions(data) {
return request({
url: '/model/AppExaminationInstructions',
method: 'put',
data: data
})
}
// 删除考核说明配置
export function delAppExaminationInstructions(examinationInstructionsId) {
return request({
url: '/model/AppExaminationInstructions/' + examinationInstructionsId,
method: 'delete'
})
}

+ 44
- 0
CatmDogd-Mall-Front-test/src/api/model/AppInvite.js View File

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询邀请海报配置列表
export function listAppInvite(query) {
return request({
url: '/model/AppInvite/list',
method: 'get',
params: query
})
}
// 查询邀请海报配置详细
export function getAppInvite(id) {
return request({
url: '/model/AppInvite/' + id,
method: 'get'
})
}
// 新增邀请海报配置
export function addAppInvite(data) {
return request({
url: '/model/AppInvite',
method: 'post',
data: data
})
}
// 修改邀请海报配置
export function updateAppInvite(data) {
return request({
url: '/model/AppInvite',
method: 'put',
data: data
})
}
// 删除邀请海报配置
export function delAppInvite(id) {
return request({
url: '/model/AppInvite/' + id,
method: 'delete'
})
}

+ 44
- 0
CatmDogd-Mall-Front-test/src/api/model/CurrentConfig.js View File

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询等级配置列表
export function listCurrentConfig(query) {
return request({
url: '/model/CurrentConfig/list',
method: 'get',
params: query
})
}
// 查询等级配置详细
export function getCurrentConfig(currentId) {
return request({
url: '/model/CurrentConfig/' + currentId,
method: 'get'
})
}
// 新增等级配置
export function addCurrentConfig(data) {
return request({
url: '/model/CurrentConfig',
method: 'post',
data: data
})
}
// 修改等级配置
export function updateCurrentConfig(data) {
return request({
url: '/model/CurrentConfig',
method: 'put',
data: data
})
}
// 删除等级配置
export function delCurrentConfig(currentId) {
return request({
url: '/model/CurrentConfig/' + currentId,
method: 'delete'
})
}

+ 44
- 0
CatmDogd-Mall-Front-test/src/api/model/FinalConfig.js View File

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询最终准备页面配置列表
export function listFinalConfig(query) {
return request({
url: '/model/FinalConfig/list',
method: 'get',
params: query
})
}
// 查询最终准备页面配置详细
export function getFinalConfig(id) {
return request({
url: '/model/FinalConfig/' + id,
method: 'get'
})
}
// 新增最终准备页面配置
export function addFinalConfig(data) {
return request({
url: '/model/FinalConfig',
method: 'post',
data: data
})
}
// 修改最终准备页面配置
export function updateFinalConfig(data) {
return request({
url: '/model/FinalConfig',
method: 'put',
data: data
})
}
// 删除最终准备页面配置
export function delFinalConfig(id) {
return request({
url: '/model/FinalConfig/' + id,
method: 'delete'
})
}

+ 44
- 0
CatmDogd-Mall-Front-test/src/api/model/ShortAnswerQuestions.js View File

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询简答题考试记录列表
export function listShortAnswerQuestions(query) {
return request({
url: '/model/ShortAnswerQuestions/list',
method: 'get',
params: query
})
}
// 查询简答题考试记录详细
export function getShortAnswerQuestions(shortAnswerQuestionsId) {
return request({
url: '/model/ShortAnswerQuestions/' + shortAnswerQuestionsId,
method: 'get'
})
}
// 新增简答题考试记录
export function addShortAnswerQuestions(data) {
return request({
url: '/model/ShortAnswerQuestions',
method: 'post',
data: data
})
}
// 修改简答题考试记录
export function updateShortAnswerQuestions(data) {
return request({
url: '/model/ShortAnswerQuestions',
method: 'put',
data: data
})
}
// 删除简答题考试记录
export function delShortAnswerQuestions(shortAnswerQuestionsId) {
return request({
url: '/model/ShortAnswerQuestions/' + shortAnswerQuestionsId,
method: 'delete'
})
}

+ 44
- 0
CatmDogd-Mall-Front-test/src/api/model/Training.js View File

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询考核培训列表
export function listTraining(query) {
return request({
url: '/model/Training/list',
method: 'get',
params: query
})
}
// 查询考核培训详细
export function getTraining(trainingId) {
return request({
url: '/model/Training/' + trainingId,
method: 'get'
})
}
// 新增考核培训
export function addTraining(data) {
return request({
url: '/model/Training',
method: 'post',
data: data
})
}
// 修改考核培训
export function updateTraining(data) {
return request({
url: '/model/Training',
method: 'put',
data: data
})
}
// 删除考核培训
export function delTraining(trainingId) {
return request({
url: '/model/Training/' + trainingId,
method: 'delete'
})
}

+ 44
- 0
CatmDogd-Mall-Front-test/src/api/model/TransactionDetails.js View File

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询交易明细记录列表
export function listTransactionDetails(query) {
return request({
url: '/model/TransactionDetails/list',
method: 'get',
params: query
})
}
// 查询交易明细记录详细
export function getTransactionDetails(id) {
return request({
url: '/model/TransactionDetails/' + id,
method: 'get'
})
}
// 新增交易明细记录
export function addTransactionDetails(data) {
return request({
url: '/model/TransactionDetails',
method: 'post',
data: data
})
}
// 修改交易明细记录
export function updateTransactionDetails(data) {
return request({
url: '/model/TransactionDetails',
method: 'put',
data: data
})
}
// 删除交易明细记录
export function delTransactionDetails(id) {
return request({
url: '/model/TransactionDetails/' + id,
method: 'delete'
})
}

+ 44
- 0
CatmDogd-Mall-Front-test/src/api/model/UserBindingConfig.js View File

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询合伙人绑定页面配置列表
export function listUserBindingConfig(query) {
return request({
url: '/model/UserBindingConfig/list',
method: 'get',
params: query
})
}
// 查询合伙人绑定页面配置详细
export function getUserBindingConfig(id) {
return request({
url: '/model/UserBindingConfig/' + id,
method: 'get'
})
}
// 新增合伙人绑定页面配置
export function addUserBindingConfig(data) {
return request({
url: '/model/UserBindingConfig',
method: 'post',
data: data
})
}
// 修改合伙人绑定页面配置
export function updateUserBindingConfig(data) {
return request({
url: '/model/UserBindingConfig',
method: 'put',
data: data
})
}
// 删除合伙人绑定页面配置
export function delUserBindingConfig(id) {
return request({
url: '/model/UserBindingConfig/' + id,
method: 'delete'
})
}

+ 44
- 0
CatmDogd-Mall-Front-test/src/api/model/Wallet.js View File

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询钱包列表
export function listWallet(query) {
return request({
url: '/model/Wallet/list',
method: 'get',
params: query
})
}
// 查询钱包详细
export function getWallet(id) {
return request({
url: '/model/Wallet/' + id,
method: 'get'
})
}
// 新增钱包
export function addWallet(data) {
return request({
url: '/model/Wallet',
method: 'post',
data: data
})
}
// 修改钱包
export function updateWallet(data) {
return request({
url: '/model/Wallet',
method: 'put',
data: data
})
}
// 删除钱包
export function delWallet(id) {
return request({
url: '/model/Wallet/' + id,
method: 'delete'
})
}

+ 44
- 0
CatmDogd-Mall-Front-test/src/api/model/WithdrawalConfig.js View File

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询钱包提现配置列表
export function listWithdrawalConfig(query) {
return request({
url: '/model/WithdrawalConfig/list',
method: 'get',
params: query
})
}
// 查询钱包提现配置详细
export function getWithdrawalConfig(id) {
return request({
url: '/model/WithdrawalConfig/' + id,
method: 'get'
})
}
// 新增钱包提现配置
export function addWithdrawalConfig(data) {
return request({
url: '/model/WithdrawalConfig',
method: 'post',
data: data
})
}
// 修改钱包提现配置
export function updateWithdrawalConfig(data) {
return request({
url: '/model/WithdrawalConfig',
method: 'put',
data: data
})
}
// 删除钱包提现配置
export function delWithdrawalConfig(id) {
return request({
url: '/model/WithdrawalConfig/' + id,
method: 'delete'
})
}

+ 44
- 0
CatmDogd-Mall-Front-test/src/api/model/answer.js View File

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询选择题答案管理列表
export function listAnswer(query) {
return request({
url: '/model/answer/list',
method: 'get',
params: query
})
}
// 查询选择题答案管理详细
export function getAnswer(answerId) {
return request({
url: '/model/answer/' + answerId,
method: 'get'
})
}
// 新增选择题答案管理
export function addAnswer(data) {
return request({
url: '/model/answer',
method: 'post',
data: data
})
}
// 修改选择题答案管理
export function updateAnswer(data) {
return request({
url: '/model/answer',
method: 'put',
data: data
})
}
// 删除选择题答案管理
export function delAnswer(answerId) {
return request({
url: '/model/answer/' + answerId,
method: 'delete'
})
}

+ 44
- 0
CatmDogd-Mall-Front-test/src/api/model/banner.js View File

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询轮播图列表
export function listBanner(query) {
return request({
url: '/model/banner/list',
method: 'get',
params: query
})
}
// 查询轮播图详细
export function getBanner(id) {
return request({
url: '/model/banner/' + id,
method: 'get'
})
}
// 新增轮播图
export function addBanner(data) {
return request({
url: '/model/banner',
method: 'post',
data: data
})
}
// 修改轮播图
export function updateBanner(data) {
return request({
url: '/model/banner',
method: 'put',
data: data
})
}
// 删除轮播图
export function delBanner(id) {
return request({
url: '/model/banner/' + id,
method: 'delete'
})
}

+ 44
- 0
CatmDogd-Mall-Front-test/src/api/model/config.js View File

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询考核认证配置列表
export function listConfig(query) {
return request({
url: '/model/config/list',
method: 'get',
params: query
})
}
// 查询考核认证配置详细
export function getConfig(id) {
return request({
url: '/model/config/' + id,
method: 'get'
})
}
// 新增考核认证配置
export function addConfig(data) {
return request({
url: '/model/config',
method: 'post',
data: data
})
}
// 修改考核认证配置
export function updateConfig(data) {
return request({
url: '/model/config',
method: 'put',
data: data
})
}
// 删除考核认证配置
export function delConfig(id) {
return request({
url: '/model/config/' + id,
method: 'delete'
})
}

+ 44
- 0
CatmDogd-Mall-Front-test/src/api/model/examination.js View File

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询考核列表
export function listExamination(query) {
return request({
url: '/model/examination/list',
method: 'get',
params: query
})
}
// 查询考核详细
export function getExamination(examinationId) {
return request({
url: '/model/examination/' + examinationId,
method: 'get'
})
}
// 新增考核
export function addExamination(data) {
return request({
url: '/model/examination',
method: 'post',
data: data
})
}
// 修改考核
export function updateExamination(data) {
return request({
url: '/model/examination',
method: 'put',
data: data
})
}
// 删除考核
export function delExamination(examinationId) {
return request({
url: '/model/examination/' + examinationId,
method: 'delete'
})
}

+ 44
- 0
CatmDogd-Mall-Front-test/src/api/model/indexConfigIcon.js View File

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询工作台图标列表
export function listIndexConfigIcon(query) {
return request({
url: '/model/indexConfigIcon/list',
method: 'get',
params: query
})
}
// 查询工作台图标详细
export function getIndexConfigIcon(id) {
return request({
url: '/model/indexConfigIcon/' + id,
method: 'get'
})
}
// 新增工作台图标
export function addIndexConfigIcon(data) {
return request({
url: '/model/indexConfigIcon',
method: 'post',
data: data
})
}
// 修改工作台图标
export function updateIndexConfigIcon(data) {
return request({
url: '/model/indexConfigIcon',
method: 'put',
data: data
})
}
// 删除工作台图标
export function delIndexConfigIcon(id) {
return request({
url: '/model/indexConfigIcon/' + id,
method: 'delete'
})
}

+ 44
- 0
CatmDogd-Mall-Front-test/src/api/model/indexPartnerConfig.js View File

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询加入合伙人提示配置列表
export function listIndexPartnerConfig(query) {
return request({
url: '/model/indexPartnerConfig/list',
method: 'get',
params: query
})
}
// 查询加入合伙人提示配置详细
export function getIndexPartnerConfig(partnerBackground) {
return request({
url: '/model/indexPartnerConfig/' + partnerBackground,
method: 'get'
})
}
// 新增加入合伙人提示配置
export function addIndexPartnerConfig(data) {
return request({
url: '/model/indexPartnerConfig',
method: 'post',
data: data
})
}
// 修改加入合伙人提示配置
export function updateIndexPartnerConfig(data) {
return request({
url: '/model/indexPartnerConfig',
method: 'put',
data: data
})
}
// 删除加入合伙人提示配置
export function delIndexPartnerConfig(partnerBackground) {
return request({
url: '/model/indexPartnerConfig/' + partnerBackground,
method: 'delete'
})
}

+ 44
- 0
CatmDogd-Mall-Front-test/src/api/model/license.js View File

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询执照列表
export function listLicense(query) {
return request({
url: '/model/license/list',
method: 'get',
params: query
})
}
// 查询执照详细
export function getLicense(licenseId) {
return request({
url: '/model/license/' + licenseId,
method: 'get'
})
}
// 新增执照
export function addLicense(data) {
return request({
url: '/model/license',
method: 'post',
data: data
})
}
// 修改执照
export function updateLicense(data) {
return request({
url: '/model/license',
method: 'put',
data: data
})
}
// 删除执照
export function delLicense(licenseId) {
return request({
url: '/model/license/' + licenseId,
method: 'delete'
})
}

+ 44
- 0
CatmDogd-Mall-Front-test/src/api/model/petType.js View File

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询宠物类型列表
export function listPetType(query) {
return request({
url: '/model/petType/list',
method: 'get',
params: query
})
}
// 查询宠物类型详细
export function getPetType(petTypeId) {
return request({
url: '/model/petType/' + petTypeId,
method: 'get'
})
}
// 新增宠物类型
export function addPetType(data) {
return request({
url: '/model/petType',
method: 'post',
data: data
})
}
// 修改宠物类型
export function updatePetType(data) {
return request({
url: '/model/petType',
method: 'put',
data: data
})
}
// 删除宠物类型
export function delPetType(petTypeId) {
return request({
url: '/model/petType/' + petTypeId,
method: 'delete'
})
}

+ 57
- 0
CatmDogd-Mall-Front-test/src/api/monitor/cache.js View File

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

+ 71
- 0
CatmDogd-Mall-Front-test/src/api/monitor/job.js View File

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

+ 26
- 0
CatmDogd-Mall-Front-test/src/api/monitor/jobLog.js View File

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

+ 26
- 0
CatmDogd-Mall-Front-test/src/api/monitor/logininfor.js View File

@ -0,0 +1,26 @@
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 cleanLogininfor() {
return request({
url: '/monitor/logininfor/clean',
method: 'delete'
})
}

+ 18
- 0
CatmDogd-Mall-Front-test/src/api/monitor/online.js View File

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

+ 26
- 0
CatmDogd-Mall-Front-test/src/api/monitor/operlog.js View File

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

+ 9
- 0
CatmDogd-Mall-Front-test/src/api/monitor/server.js View File

@ -0,0 +1,9 @@
import request from '@/utils/request'
// 获取服务信息
export function getServer() {
return request({
url: '/monitor/server',
method: 'get'
})
}

+ 70
- 0
CatmDogd-Mall-Front-test/src/api/oms/aftersale.js View File

@ -0,0 +1,70 @@
import request from '@/utils/request'
// 查询订单售后列表
export function listOmsAftersale(query, pageReq) {
return request({
url: '/oms/aftersale/list',
method: 'post',
data: query,
params: pageReq
})
}
// 查询订单售后详细
export function getOmsAftersale(id) {
return request({
url: '/oms/aftersale/' + id,
method: 'get'
})
}
// 新增订单售后
export function addOmsAftersale(data) {
return request({
url: '/oms/aftersale',
method: 'post',
data: data
})
}
// 修改订单售后
export function updateOmsAftersale(data) {
return request({
url: '/oms/aftersale',
method: 'put',
data: data
})
}
// 删除订单售后
export function delOmsAftersale(id) {
return request({
url: '/oms/aftersale/' + id,
method: 'delete'
})
}
// 导出订单售后
export function exportOmsAftersale(query) {
return request({
url: '/oms/aftersale/export',
method: 'get',
params: query
})
}
// 售后订单操作
export function dealWithAftersale(data){
return request({
url: '/oms/aftersale/dealWith',
method: 'post',
data: data
})
}
export function viewLog(orderId){
return request({
url: `/oms/aftersale/log/` + orderId,
method: 'get'
})
}

+ 54
- 0
CatmDogd-Mall-Front-test/src/api/oms/aftersaleItem.js View File

@ -0,0 +1,54 @@
import request from '@/utils/request'
// 查询订单售后列表
export function listOmsAftersaleItem(query, pageReq) {
return request({
url: '/oms/aftersaleItem/list',
method: 'post',
data: query,
params: pageReq
})
}
// 查询订单售后详细
export function getOmsAftersaleItem(id) {
return request({
url: '/oms/aftersaleItem/' + id,
method: 'get'
})
}
// 新增订单售后
export function addOmsAftersaleItem(data) {
return request({
url: '/oms/aftersaleItem',
method: 'post',
data: data
})
}
// 修改订单售后
export function updateOmsAftersaleItem(data) {
return request({
url: '/oms/aftersaleItem',
method: 'put',
data: data
})
}
// 删除订单售后
export function delOmsAftersaleItem(id) {
return request({
url: '/oms/aftersaleItem/' + id,
method: 'delete'
})
}
// 导出订单售后
export function exportOmsAftersaleItem(query) {
return request({
url: '/oms/aftersaleItem/export',
method: 'get',
params: query
})
}

+ 98
- 0
CatmDogd-Mall-Front-test/src/api/oms/order.js View File

@ -0,0 +1,98 @@
import request from '@/utils/request'
// 查询订单表列表
export function listOmsOrder(query, pageReq) {
return request({
url: '/oms/order/list',
method: 'post',
data: query,
params: pageReq
})
}
// 查询订单表详细
export function getOmsOrder(id) {
return request({
url: '/oms/order/' + id,
method: 'get'
})
}
// 新增订单表
export function addOmsOrder(data) {
return request({
url: '/oms/order',
method: 'post',
data: data
})
}
// 修改订单表
export function updateOmsOrder(data) {
return request({
url: '/oms/order',
method: 'put',
data: data
})
}
// 删除订单表
export function delOmsOrder(id) {
return request({
url: '/oms/order/' + id,
method: 'delete'
})
}
// 导出订单表
export function exportOmsOrder(query) {
return request({
url: '/oms/order/export',
method: 'get',
params: query
})
}
// 保存商家备注
export function saveMerchantNote(data){
return request({
url: '/oms/order/merchantNote/add',
method: 'post',
data: data
})
}
// 发货
export function deliverProduct(data){
return request({
url: '/oms/order/deliverProduct',
method: 'post',
data: data
})
}
// 完成订单
export function completeOrder(data){
return request({
url: '/oms/order/completeOrder',
method: 'post',
data: data
})
}
// 查看订单操作日志
export function viewLog(orderId){
return request({
url:`/oms/order/log/` + orderId,
method: 'get'
})
}
// 完成订单
export function applyRefund(data){
return request({
url: '/oms/order/applyRefund',
method: 'post',
data: data
})
}

+ 54
- 0
CatmDogd-Mall-Front-test/src/api/oms/orderDeliveryHistory.js View File

@ -0,0 +1,54 @@
import request from '@/utils/request'
// 查询订单发货记录列表
export function listOmsOrderDeliveryHistory(query, pageReq) {
return request({
url: '/oms/orderDeliveryHistory/list',
method: 'post',
data: query,
params: pageReq
})
}
// 查询订单发货记录详细
export function getOmsOrderDeliveryHistory(id) {
return request({
url: '/oms/orderDeliveryHistory/' + id,
method: 'get'
})
}
// 新增订单发货记录
export function addOmsOrderDeliveryHistory(data) {
return request({
url: '/oms/orderDeliveryHistory',
method: 'post',
data: data
})
}
// 修改订单发货记录
export function updateOmsOrderDeliveryHistory(data) {
return request({
url: '/oms/orderDeliveryHistory',
method: 'put',
data: data
})
}
// 删除订单发货记录
export function delOmsOrderDeliveryHistory(id) {
return request({
url: '/oms/orderDeliveryHistory/' + id,
method: 'delete'
})
}
// 导出订单发货记录
export function exportOmsOrderDeliveryHistory(query) {
return request({
url: '/oms/orderDeliveryHistory/export',
method: 'get',
params: query
})
}

+ 54
- 0
CatmDogd-Mall-Front-test/src/api/oms/orderItem.js View File

@ -0,0 +1,54 @@
import request from '@/utils/request'
// 查询订单中所包含的商品列表
export function listOmsOrderItem(query, pageReq) {
return request({
url: '/oms/orderItem/list',
method: 'post',
data: query,
params: pageReq
})
}
// 查询订单中所包含的商品详细
export function getOmsOrderItem(id) {
return request({
url: '/oms/orderItem/' + id,
method: 'get'
})
}
// 新增订单中所包含的商品
export function addOmsOrderItem(data) {
return request({
url: '/oms/orderItem',
method: 'post',
data: data
})
}
// 修改订单中所包含的商品
export function updateOmsOrderItem(data) {
return request({
url: '/oms/orderItem',
method: 'put',
data: data
})
}
// 删除订单中所包含的商品
export function delOmsOrderItem(id) {
return request({
url: '/oms/orderItem/' + id,
method: 'delete'
})
}
// 导出订单中所包含的商品
export function exportOmsOrderItem(query) {
return request({
url: '/oms/orderItem/export',
method: 'get',
params: query
})
}

+ 54
- 0
CatmDogd-Mall-Front-test/src/api/oms/orderOperateHistory.js View File

@ -0,0 +1,54 @@
import request from '@/utils/request'
// 查询订单操作历史记录列表
export function listOmsOrderOperateHistory(query, pageReq) {
return request({
url: '/oms/orderOperateHistory/list',
method: 'post',
data: query,
params: pageReq
})
}
// 查询订单操作历史记录详细
export function getOmsOrderOperateHistory(id) {
return request({
url: '/oms/orderOperateHistory/' + id,
method: 'get'
})
}
// 新增订单操作历史记录
export function addOmsOrderOperateHistory(data) {
return request({
url: '/oms/orderOperateHistory',
method: 'post',
data: data
})
}
// 修改订单操作历史记录
export function updateOmsOrderOperateHistory(data) {
return request({
url: '/oms/orderOperateHistory',
method: 'put',
data: data
})
}
// 删除订单操作历史记录
export function delOmsOrderOperateHistory(id) {
return request({
url: '/oms/orderOperateHistory/' + id,
method: 'delete'
})
}
// 导出订单操作历史记录
export function exportOmsOrderOperateHistory(query) {
return request({
url: '/oms/orderOperateHistory/export',
method: 'get',
params: query
})
}

+ 53
- 0
CatmDogd-Mall-Front-test/src/api/oms/orderService.js View File

@ -0,0 +1,53 @@
import request from '@/utils/request'
// 查询预约订单服务详细信息记录表列表
export function listOmsOrderService(query) {
return request({
url: '/order/omsOrderService/list',
method: 'get',
params: query
})
}
// 查询预约订单服务详细信息记录表详细
export function getOmsOrderService(id) {
return request({
url: '/order/omsOrderService/' + id,
method: 'get'
})
}
// 新增预约订单服务详细信息记录表
export function addOmsOrderService(data) {
return request({
url: '/order/omsOrderService',
method: 'post',
data: data
})
}
// 修改预约订单服务详细信息记录表
export function updateOmsOrderService(data) {
return request({
url: '/order/omsOrderService',
method: 'put',
data: data
})
}
// 删除预约订单服务详细信息记录表
export function delOmsOrderService(id) {
return request({
url: '/order/omsOrderService/' + id,
method: 'delete'
})
}
// 导出预约订单服务详细信息记录表
export function exportOmsOrderService(query) {
return request({
url: '/order/omsOrderService/export',
method: 'get',
params: query
})
}

+ 54
- 0
CatmDogd-Mall-Front-test/src/api/oms/wechatPaymentHistory.js View File

@ -0,0 +1,54 @@
import request from '@/utils/request'
// 查询微信订单表列表
export function listOmsWechatPaymentHistory(query, pageReq) {
return request({
url: '/pms/omsWechatPaymentHistory/list',
method: 'post',
data: query,
params: pageReq
})
}
// 查询微信订单表详细
export function getOmsWechatPaymentHistory(id) {
return request({
url: '/pms/omsWechatPaymentHistory/' + id,
method: 'get'
})
}
// 新增微信订单表
export function addOmsWechatPaymentHistory(data) {
return request({
url: '/pms/omsWechatPaymentHistory',
method: 'post',
data: data
})
}
// 修改微信订单表
export function updateOmsWechatPaymentHistory(data) {
return request({
url: '/pms/omsWechatPaymentHistory',
method: 'put',
data: data
})
}
// 删除微信订单表
export function delOmsWechatPaymentHistory(id) {
return request({
url: '/pms/omsWechatPaymentHistory/' + id,
method: 'delete'
})
}
// 导出微信订单表
export function exportOmsWechatPaymentHistory(query) {
return request({
url: '/pms/omsWechatPaymentHistory/export',
method: 'get',
params: query
})
}

+ 62
- 0
CatmDogd-Mall-Front-test/src/api/pms/brand.js View File

@ -0,0 +1,62 @@
import request from '@/utils/request'
// 查询品牌管理列表
export function listPmsBrand(query, pageReq) {
return request({
url: '/pms/brand/list',
method: 'post',
data: query,
params: pageReq
})
}
export function allBrand(query, pageReq) {
return request({
url: '/pms/brand/all',
method: 'post',
data: query,
params: pageReq
})
}
// 查询品牌管理详细
export function getPmsBrand(id) {
return request({
url: '/pms/brand/' + id,
method: 'get'
})
}
// 新增品牌管理
export function addPmsBrand(data) {
return request({
url: '/pms/brand',
method: 'post',
data: data
})
}
// 修改品牌管理
export function updatePmsBrand(data) {
return request({
url: '/pms/brand',
method: 'put',
data: data
})
}
// 删除品牌管理
export function delPmsBrand(id) {
return request({
url: '/pms/brand/' + id,
method: 'delete'
})
}
// 导出品牌管理
export function exportPmsBrand(query) {
return request({
url: '/pms/brand/export',
method: 'get',
params: query
})
}

+ 54
- 0
CatmDogd-Mall-Front-test/src/api/pms/product.js View File

@ -0,0 +1,54 @@
import request from '@/utils/request'
// 查询商品信息列表
export function listPmsProduct(query, pageReq) {
return request({
url: '/pms/product/list',
method: 'post',
data: query,
params: pageReq
})
}
// 查询商品信息详细
export function getPmsProduct(id) {
return request({
url: '/pms/product/' + id,
method: 'get'
})
}
// 新增商品信息
export function addPmsProduct(data) {
return request({
url: '/pms/product',
method: 'post',
data: data
})
}
// 修改商品信息
export function updatePmsProduct(data) {
return request({
url: '/pms/product',
method: 'put',
data: data
})
}
// 删除商品信息
export function delPmsProduct(id) {
return request({
url: '/pms/product/' + id,
method: 'delete'
})
}
// 导出商品信息
export function exportPmsProduct(query) {
return request({
url: '/pms/product/export',
method: 'get',
params: query
})
}

+ 54
- 0
CatmDogd-Mall-Front-test/src/api/pms/productCategory.js View File

@ -0,0 +1,54 @@
import request from '@/utils/request'
// 查询商品分类列表
export function listPmsProductCategory(query, pageReq) {
return request({
url: '/pms/productCategory/list',
method: 'post',
data: query,
params: pageReq
})
}
// 查询商品分类详细
export function getPmsProductCategory(id) {
return request({
url: '/pms/productCategory/' + id,
method: 'get'
})
}
// 新增商品分类
export function addPmsProductCategory(data) {
return request({
url: '/pms/productCategory',
method: 'post',
data: data
})
}
// 修改商品分类
export function updatePmsProductCategory(data) {
return request({
url: '/pms/productCategory',
method: 'put',
data: data
})
}
// 删除商品分类
export function delPmsProductCategory(id) {
return request({
url: '/pms/productCategory/' + id,
method: 'delete'
})
}
// 导出商品分类
export function exportPmsProductCategory(query) {
return request({
url: '/pms/productCategory/export',
method: 'get',
params: query
})
}

+ 54
- 0
CatmDogd-Mall-Front-test/src/api/pms/sku.js View File

@ -0,0 +1,54 @@
import request from '@/utils/request'
// 查询sku信息列表
export function listPmsSku(query, pageReq) {
return request({
url: '/pms/sku/list',
method: 'post',
data: query,
params: pageReq
})
}
// 查询sku信息详细
export function getPmsSku(id) {
return request({
url: '/pms/sku/' + id,
method: 'get'
})
}
// 新增sku信息
export function addPmsSku(data) {
return request({
url: '/pms/sku',
method: 'post',
data: data
})
}
// 修改sku信息
export function updatePmsSku(data) {
return request({
url: '/pms/sku',
method: 'put',
data: data
})
}
// 删除sku信息
export function delPmsSku(id) {
return request({
url: '/pms/sku/' + id,
method: 'delete'
})
}
// 导出sku信息
export function exportPmsSku(query) {
return request({
url: '/pms/sku/export',
method: 'get',
params: query
})
}

+ 32
- 0
CatmDogd-Mall-Front-test/src/api/statistics/index.js View File

@ -0,0 +1,32 @@
import request from '@/utils/request'
// 获取首页查询热卖商品TOP
export function goodsStatistics(query) {
return request({
url: '/dev/statistics/index/goodsStatistics',
method: 'get',
params: query
})
}
export function memberAndCartStatistics() {
return request({
url: '/dev/statistics/index/memberAndCart/statistics',
method: 'get'
})
}
export function orderAndAftersaleStatistics() {
return request({
url: '/dev/statistics/index/order/aftersale/statistics',
method: 'get'
})
}
// 获取订单信息
export function orderStatistics(query) {
return request({
url: '/dev/statistics/index/orderStatistics',
method: 'post',
data: query
})
}

+ 10
- 0
CatmDogd-Mall-Front-test/src/api/system/common.js View File

@ -0,0 +1,10 @@
import request from '@/utils/request'
// 查询省市区列表
export function areaSelect(query) {
return request({
url: '/common/area',
method: 'get',
params: query
})
}

+ 60
- 0
CatmDogd-Mall-Front-test/src/api/system/config.js View File

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

+ 68
- 0
CatmDogd-Mall-Front-test/src/api/system/dept.js View File

@ -0,0 +1,68 @@
import request from '@/utils/request'
// 查询部门列表
export function listDept(query) {
return request({
url: '/system/dept/list',
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 treeselect() {
return request({
url: '/system/dept/treeselect',
method: 'get'
})
}
// 根据角色ID查询部门树结构
export function roleDeptTreeselect(roleId) {
return request({
url: '/system/dept/roleDeptTreeselect/' + roleId,
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'
})
}

+ 69
- 0
CatmDogd-Mall-Front-test/src/api/system/dict/data.js View File

@ -0,0 +1,69 @@
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'
})
}
// 删除字典数据
export function listByTypes(dictTypes) {
return request({
url: '/system/dict/data/by_types',
method: 'POST',
data: dictTypes
})
}
// 删除字典数据
export function allByTypes(dictTypes) {
return request({
url: '/system/dict/data/all-by-types',
method: 'POST',
data: dictTypes
})
}

+ 60
- 0
CatmDogd-Mall-Front-test/src/api/system/dict/type.js View File

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

+ 44
- 0
CatmDogd-Mall-Front-test/src/api/system/image.js View File

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询人员信息列表
export function listImage(query) {
return request({
url: '/system/image/list',
method: 'get',
params: query
})
}
// 查询人员信息详细
export function getImage(id) {
return request({
url: '/system/image/' + id,
method: 'get'
})
}
// 新增人员信息
export function addImage(data) {
return request({
url: '/system/image',
method: 'post',
data: data
})
}
// 修改人员信息
export function updateImage(data) {
return request({
url: '/system/image',
method: 'put',
data: data
})
}
// 删除人员信息
export function delImage(id) {
return request({
url: '/system/image/' + id,
method: 'delete'
})
}

+ 60
- 0
CatmDogd-Mall-Front-test/src/api/system/menu.js View File

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

+ 44
- 0
CatmDogd-Mall-Front-test/src/api/system/notice.js View File

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

+ 44
- 0
CatmDogd-Mall-Front-test/src/api/system/post.js View File

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

+ 111
- 0
CatmDogd-Mall-Front-test/src/api/system/role.js View File

@ -0,0 +1,111 @@
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
})
}

+ 44
- 0
CatmDogd-Mall-Front-test/src/api/system/staff.js View File

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询人员信息列表
export function listStaff(query) {
return request({
url: '/system/staff/list',
method: 'get',
params: query
})
}
// 查询人员信息详细
export function getStaff(id) {
return request({
url: '/system/staff/' + id,
method: 'get'
})
}
// 新增人员信息
export function addStaff(data) {
return request({
url: '/system/staff',
method: 'post',
data: data
})
}
// 修改人员信息
export function updateStaff(data) {
return request({
url: '/system/staff',
method: 'put',
data: data
})
}
// 删除人员信息
export function delStaff(id) {
return request({
url: '/system/staff/' + id,
method: 'delete'
})
}

+ 127
- 0
CatmDogd-Mall-Front-test/src/api/system/user.js View File

@ -0,0 +1,127 @@
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) {
const data = {
userId,
password
}
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
})
}

+ 76
- 0
CatmDogd-Mall-Front-test/src/api/tool/gen.js View File

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

+ 53
- 0
CatmDogd-Mall-Front-test/src/api/ums/doorLock.js View File

@ -0,0 +1,53 @@
import request from '@/utils/request'
// 查询【请填写功能名称】列表
export function listUmsMemberDoorLock(query) {
return request({
url: '/mall/memberDoorLock/list',
method: 'get',
params: query
})
}
// 查询【请填写功能名称】详细
export function getUmsMemberDoorLock(id) {
return request({
url: '/mall/memberDoorLock/' + id,
method: 'get'
})
}
// 新增【请填写功能名称】
export function addUmsMemberDoorLock(data) {
return request({
url: '/mall/memberDoorLock',
method: 'post',
data: data
})
}
// 修改【请填写功能名称】
export function updateUmsMemberDoorLock(data) {
return request({
url: '/mall/memberDoorLock',
method: 'put',
data: data
})
}
// 删除【请填写功能名称】
export function delUmsMemberDoorLock(id) {
return request({
url: '/mall/memberDoorLock/' + id,
method: 'delete'
})
}
// 导出【请填写功能名称】
export function exportUmsMemberDoorLock(query) {
return request({
url: '/mall/memberDoorLock/export',
method: 'get',
params: query
})
}

+ 88
- 0
CatmDogd-Mall-Front-test/src/api/ums/member.js View File

@ -0,0 +1,88 @@
import request from '@/utils/request'
// 查询会员信息列表
export function listUmsMember(query, pageReq) {
return request({
url: '/ums/member/list',
method: 'post',
data: query,
params: pageReq
})
}
// 查询会员信息详细
export function getUmsMember(id) {
return request({
url: '/ums/member/' + id,
method: 'get'
})
}
// 新增会员信息
export function addUmsMember(data) {
return request({
url: '/ums/member',
method: 'post',
data: data
})
}
// 修改会员信息
export function updateUmsMember(data) {
return request({
url: '/ums/member',
method: 'put',
data: data
})
}
export function updateUmsMemberMark(data) {
return request({
url: '/ums/member/mark/update',
method: 'post',
data: data
})
}
// 删除会员信息
export function delUmsMember(id) {
return request({
url: '/ums/member/' + id,
method: 'delete'
})
}
// 导出会员信息
export function exportUmsMember(query) {
return request({
url: '/ums/member/export',
method: 'get',
params: query
})
}
// 更改会员账号状态
export function changeAccountStatus(data) {
return request({
url: '/ums/member/status/change',
method: 'post',
data: data
})
}
// 获取解密手机号
export function decryptedPhone(data) {
return request({
url: `/ums/member/phone/decrypt/` + data,
method: 'get'
})
}
// 查询会员统计数据
export function viewStatistics(memberId){
return request({
url: `/ums/member/view/statistics/` + memberId,
method: 'get'
})
}

+ 54
- 0
CatmDogd-Mall-Front-test/src/api/ums/memberAddress.js View File

@ -0,0 +1,54 @@
import request from '@/utils/request'
// 查询会员收货地址列表
export function listUmsMemberAddress(query, pageReq) {
return request({
url: '/ums/memberAddress/list',
method: 'post',
data: query,
params: pageReq
})
}
// 查询会员收货地址详细
export function getUmsMemberAddress(id) {
return request({
url: '/ums/memberAddress/' + id,
method: 'get'
})
}
// 新增会员收货地址
export function addUmsMemberAddress(data) {
return request({
url: '/ums/memberAddress',
method: 'post',
data: data
})
}
// 修改会员收货地址
export function updateUmsMemberAddress(data) {
return request({
url: '/ums/memberAddress',
method: 'put',
data: data
})
}
// 删除会员收货地址
export function delUmsMemberAddress(id) {
return request({
url: '/ums/memberAddress/' + id,
method: 'delete'
})
}
// 导出会员收货地址
export function exportUmsMemberAddress(query) {
return request({
url: '/ums/memberAddress/export',
method: 'get',
params: query
})
}

+ 54
- 0
CatmDogd-Mall-Front-test/src/api/ums/memberCart.js View File

@ -0,0 +1,54 @@
import request from '@/utils/request'
// 查询购物车列表
export function listUmsMemberCart(query, pageReq) {
return request({
url: '/ums/memberCart/list',
method: 'post',
data: query,
params: pageReq
})
}
// 查询购物车详细
export function getUmsMemberCart(id) {
return request({
url: '/ums/memberCart/' + id,
method: 'get'
})
}
// 新增购物车
export function addUmsMemberCart(data) {
return request({
url: '/ums/memberCart',
method: 'post',
data: data
})
}
// 修改购物车
export function updateUmsMemberCart(data) {
return request({
url: '/ums/memberCart',
method: 'put',
data: data
})
}
// 删除购物车
export function delUmsMemberCart(id) {
return request({
url: '/ums/memberCart/' + id,
method: 'delete'
})
}
// 导出购物车
export function exportUmsMemberCart(query) {
return request({
url: '/ums/memberCart/export',
method: 'get',
params: query
})
}

+ 54
- 0
CatmDogd-Mall-Front-test/src/api/ums/memberLogininfor.js View File

@ -0,0 +1,54 @@
import request from '@/utils/request'
// 查询会员登录记录列表
export function listUmsMemberLogininfor(query, pageReq) {
return request({
url: '/ums/memberLogininfor/list',
method: 'post',
data: query,
params: pageReq
})
}
// 查询会员登录记录详细
export function getUmsMemberLogininfor(id) {
return request({
url: '/ums/memberLogininfor/' + id,
method: 'get'
})
}
// 新增会员登录记录
export function addUmsMemberLogininfor(data) {
return request({
url: '/ums/memberLogininfor',
method: 'post',
data: data
})
}
// 修改会员登录记录
export function updateUmsMemberLogininfor(data) {
return request({
url: '/ums/memberLogininfor',
method: 'put',
data: data
})
}
// 删除会员登录记录
export function delUmsMemberLogininfor(id) {
return request({
url: '/ums/memberLogininfor/' + id,
method: 'delete'
})
}
// 导出会员登录记录
export function exportUmsMemberLogininfor(query) {
return request({
url: '/ums/memberLogininfor/export',
method: 'get',
params: query
})
}

+ 54
- 0
CatmDogd-Mall-Front-test/src/api/ums/memberWechat.js View File

@ -0,0 +1,54 @@
import request from '@/utils/request'
// 查询用户微信信息列表
export function listUmsMemberWechat(query, pageReq) {
return request({
url: '/ums/memberWechat/list',
method: 'post',
data: query,
params: pageReq
})
}
// 查询用户微信信息详细
export function getUmsMemberWechat(id) {
return request({
url: '/ums/memberWechat/' + id,
method: 'get'
})
}
// 新增用户微信信息
export function addUmsMemberWechat(data) {
return request({
url: '/ums/memberWechat',
method: 'post',
data: data
})
}
// 修改用户微信信息
export function updateUmsMemberWechat(data) {
return request({
url: '/ums/memberWechat',
method: 'put',
data: data
})
}
// 删除用户微信信息
export function delUmsMemberWechat(id) {
return request({
url: '/ums/memberWechat/' + id,
method: 'delete'
})
}
// 导出用户微信信息
export function exportUmsMemberWechat(query) {
return request({
url: '/ums/memberWechat/export',
method: 'get',
params: query
})
}

+ 63
- 0
CatmDogd-Mall-Front-test/src/api/ums/pet.js View File

@ -0,0 +1,63 @@
import request from '@/utils/request'
// // 查询宠物档案列表
// export function listPmsPet(query) {
// return request({
// url: '/ums/pet/list',
// method: 'get',
// params: query
// })
// }
// 查询宠物档案列表
export function listPmsPet(query, pageReq) {
return request({
url: '/ums/pet/list',
method: 'post',
data: query,
params: pageReq
})
}
// 查询宠物档案详细
export function getPmsPet(id) {
return request({
url: '/ums/pet/' + id,
method: 'get'
})
}
// 新增宠物档案
export function addPmsPet(data) {
return request({
url: '/ums/pet',
method: 'post',
data: data
})
}
// 修改宠物档案
export function updatePmsPet(data) {
return request({
url: '/ums/pet',
method: 'put',
data: data
})
}
// 删除宠物档案
export function delPmsPet(id) {
return request({
url: '/ums/pet/' + id,
method: 'delete'
})
}
// 导出宠物档案
export function exportPmsPet(query) {
return request({
url: '/ums/pet/export',
method: 'get',
params: query
})
}

+ 53
- 0
CatmDogd-Mall-Front-test/src/api/ums/petCare.js View File

@ -0,0 +1,53 @@
import request from '@/utils/request'
// 查询宠物护理信息列表
export function listPetCare(query) {
return request({
url: '/ums/petCare/list',
method: 'get',
params: query
})
}
// 查询宠物护理信息详细
export function getPetCare(id) {
return request({
url: '/ums/petCare/' + id,
method: 'get'
})
}
// 新增宠物护理信息
export function addPetCare(data) {
return request({
url: '/ums/petCare',
method: 'post',
data: data
})
}
// 修改宠物护理信息
export function updatePetCare(data) {
return request({
url: '/ums/petCare',
method: 'put',
data: data
})
}
// 删除宠物护理信息
export function delPetCare(id) {
return request({
url: '/ums/petCare/' + id,
method: 'delete'
})
}
// 导出宠物护理信息
export function exportPetCare(query) {
return request({
url: '/ums/petCare/export',
method: 'get',
params: query
})
}

BIN
CatmDogd-Mall-Front-test/src/assets/401_images/401.gif View File

Before After
Width: 313  |  Height: 428  |  Size: 160 KiB

BIN
CatmDogd-Mall-Front-test/src/assets/404_images/404.png View File

Before After
Width: 1014  |  Height: 556  |  Size: 96 KiB

BIN
CatmDogd-Mall-Front-test/src/assets/404_images/404_cloud.png View File

Before After
Width: 152  |  Height: 138  |  Size: 4.7 KiB

BIN
CatmDogd-Mall-Front-test/src/assets/QRCode/express.jpg View File

Before After
Width: 295  |  Height: 295  |  Size: 38 KiB

BIN
CatmDogd-Mall-Front-test/src/assets/QRCode/h5.png View File

Before After
Width: 400  |  Height: 400  |  Size: 4.0 KiB

BIN
CatmDogd-Mall-Front-test/src/assets/QRCode/wechat_mini.jpg View File

Before After
Width: 430  |  Height: 430  |  Size: 114 KiB

+ 9
- 0
CatmDogd-Mall-Front-test/src/assets/icons/index.js View File

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

+ 1
- 0
CatmDogd-Mall-Front-test/src/assets/icons/svg/404.svg View File

@ -0,0 +1 @@
<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M121.718 73.272v9.953c3.957-7.584 6.199-16.05 6.199-24.995C127.917 26.079 99.273 0 63.958 0 28.644 0 0 26.079 0 58.23c0 .403.028.806.028 1.21l22.97-25.953h13.34l-19.76 27.187h6.42V53.77l13.728-19.477v49.361H22.998V73.272H2.158c5.951 20.284 23.608 36.208 45.998 41.399-1.44 3.3-5.618 11.263-12.565 12.674-8.607 1.764 23.358.428 46.163-13.178 17.519-4.611 31.938-15.849 39.77-30.513h-13.506V73.272H85.02V59.464l22.998-25.977h13.008l-19.429 27.187h6.421v-7.433l13.727-19.402v39.433h-.027zm-78.24 2.822a10.516 10.516 0 0 1-.996-4.535V44.548c0-1.613.332-3.124.996-4.535a11.66 11.66 0 0 1 2.713-3.68c1.134-1.032 2.49-1.864 4.04-2.468 1.55-.605 3.21-.908 4.982-.908h11.292c1.77 0 3.431.303 4.981.908 1.522.604 2.85 1.41 3.986 2.418l-12.26 16.303v-2.898a1.96 1.96 0 0 0-.665-1.512c-.443-.403-.996-.604-1.66-.604-.665 0-1.218.201-1.661.604a1.96 1.96 0 0 0-.664 1.512v9.071L44.364 77.606a10.556 10.556 0 0 1-.886-1.512zm35.73-4.535c0 1.613-.332 3.124-.997 4.535a11.66 11.66 0 0 1-2.712 3.68c-1.134 1.032-2.49 1.864-4.04 2.469-1.55.604-3.21.907-4.982.907H55.185c-1.77 0-3.431-.303-4.981-.907-1.55-.605-2.906-1.437-4.041-2.47a12.49 12.49 0 0 1-1.384-1.512l13.727-18.217v6.375c0 .605.222 1.109.665 1.512.442.403.996.604 1.66.604.664 0 1.218-.201 1.66-.604a1.96 1.96 0 0 0 .665-1.512V53.87L75.97 36.838c.913.932 1.66 1.99 2.214 3.175.664 1.41.996 2.922.996 4.535v27.011h.028z"/></svg>

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save