|
@@ -2,56 +2,6 @@
|
|
|
<img width="320" src="https://wpimg.wallstcn.com/ecc53a42-d79b-42e2-8852-5126b810a4c8.svg">
|
|
<img width="320" src="https://wpimg.wallstcn.com/ecc53a42-d79b-42e2-8852-5126b810a4c8.svg">
|
|
|
</p>
|
|
</p>
|
|
|
|
|
|
|
|
-<p align="center">
|
|
|
|
|
- <a href="https://github.com/vuejs/vue">
|
|
|
|
|
- <img src="https://img.shields.io/badge/vue-2.6.10-brightgreen.svg" alt="vue">
|
|
|
|
|
- </a>
|
|
|
|
|
- <a href="https://github.com/ElemeFE/element">
|
|
|
|
|
- <img src="https://img.shields.io/badge/element--ui-2.7.0-brightgreen.svg" alt="element-ui">
|
|
|
|
|
- </a>
|
|
|
|
|
- <a href="https://travis-ci.org/PanJiaChen/vue-element-admin" rel="nofollow">
|
|
|
|
|
- <img src="https://travis-ci.org/PanJiaChen/vue-element-admin.svg?branch=master" alt="Build Status">
|
|
|
|
|
- </a>
|
|
|
|
|
- <a href="https://github.com/PanJiaChen/vue-element-admin/blob/master/LICENSE">
|
|
|
|
|
- <img src="https://img.shields.io/github/license/mashape/apistatus.svg" alt="license">
|
|
|
|
|
- </a>
|
|
|
|
|
- <a href="https://github.com/PanJiaChen/vue-element-admin/releases">
|
|
|
|
|
- <img src="https://img.shields.io/github/release/PanJiaChen/vue-element-admin.svg" alt="GitHub release">
|
|
|
|
|
- </a>
|
|
|
|
|
- <a href="https://gitter.im/vue-element-admin/discuss">
|
|
|
|
|
- <img src="https://badges.gitter.im/Join%20Chat.svg" alt="gitter">
|
|
|
|
|
- </a>
|
|
|
|
|
- <a href="https://panjiachen.github.io/vue-element-admin-site/donate">
|
|
|
|
|
- <img src="https://img.shields.io/badge/%24-donate-ff69b4.svg" alt="donate">
|
|
|
|
|
- </a>
|
|
|
|
|
-</p>
|
|
|
|
|
-
|
|
|
|
|
-English | [简体中文](./README.zh-CN.md) | [日本語](./README.ja.md) | [Spanish](./README.es.md)
|
|
|
|
|
-
|
|
|
|
|
-## Introduction
|
|
|
|
|
-
|
|
|
|
|
-[vue-element-admin](https://panjiachen.github.io/vue-element-admin) is a production-ready front-end solution for admin interfaces. It is based on [vue](https://github.com/vuejs/vue) and uses the UI Toolkit [element-ui](https://github.com/ElemeFE/element).
|
|
|
|
|
-
|
|
|
|
|
-[vue-element-admin](https://panjiachen.github.io/vue-element-admin) is based on the newest development stack of vue and it has a built-in i18n solution, typical templates for enterprise applications, and lots of awesome features. It helps you build large and complex Single-Page Applications. I believe whatever your needs are, this project will help you.
|
|
|
|
|
-
|
|
|
|
|
-- [Preview](https://panjiachen.github.io/vue-element-admin)
|
|
|
|
|
-
|
|
|
|
|
-- [Documentation](https://panjiachen.github.io/vue-element-admin-site/)
|
|
|
|
|
-
|
|
|
|
|
-- [Gitter](https://gitter.im/vue-element-admin/discuss)
|
|
|
|
|
-
|
|
|
|
|
-- [Donate](https://panjiachen.github.io/vue-element-admin-site/donate/)
|
|
|
|
|
-
|
|
|
|
|
-- [Wiki](https://github.com/PanJiaChen/vue-element-admin/wiki)
|
|
|
|
|
-
|
|
|
|
|
-- [Gitee](https://panjiachen.gitee.io/vue-element-admin/) 国内用户可访问该地址在线预览
|
|
|
|
|
-
|
|
|
|
|
-- Base template recommends using: [vue-admin-template](https://github.com/PanJiaChen/vue-admin-template)
|
|
|
|
|
-- Desktop: [electron-vue-admin](https://github.com/PanJiaChen/electron-vue-admin)
|
|
|
|
|
-- Typescript: [vue-typescript-admin-template](https://github.com/Armour/vue-typescript-admin-template) (Credits: [@Armour](https://github.com/Armour))
|
|
|
|
|
-- [awesome-project](https://github.com/PanJiaChen/vue-element-admin/issues/2312)
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
## Getting started
|
|
## Getting started
|
|
|
|
|
|
|
|
```bash
|
|
```bash
|
|
@@ -96,8 +46,203 @@ npm run lint
|
|
|
npm run lint -- --fix
|
|
npm run lint -- --fix
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
-## License
|
|
|
|
|
|
|
+## 开发
|
|
|
|
|
+[使用文档](https://panjiachen.github.io/vue-element-admin-site/zh/)
|
|
|
|
|
+
|
|
|
|
|
+```bash
|
|
|
|
|
+# 启动服务
|
|
|
|
|
+npm run dev
|
|
|
|
|
+
|
|
|
|
|
+# 构建生产环境 -- 本地目录会生成 dist 打包文件
|
|
|
|
|
+npm run build:prod
|
|
|
|
|
+```
|
|
|
|
|
+
|
|
|
|
|
+浏览器访问 http://localhost:9527
|
|
|
|
|
+
|
|
|
|
|
+## 本地部署相关介绍
|
|
|
|
|
+main.js 文件默认开启 mock ,请求数据为 mock;正式打包时可以注释。
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+(不用改,指示说明)打包时使用 /src/utils/request.js 使用的 .env 的 VUE_APP_BASE_URL 地址,这个就是线上的。
|
|
|
|
|
+### Nginx 部署时设置反向代理+跨域
|
|
|
|
|
+```config
|
|
|
|
|
+server
|
|
|
|
|
+{
|
|
|
|
|
+ listen 80;
|
|
|
|
|
+ server_name www.xxxx.com
|
|
|
|
|
+ index index.php index.html index.htm default.php default.htm default.html;
|
|
|
|
|
+ root /www/wwwroot/test;
|
|
|
|
|
+
|
|
|
|
|
+ location ~/ { # 访问80端口后的所有路径都转发到 proxy_pass 配置的ip中
|
|
|
|
|
+ proxy_pass http://devapi.youxi9.com; # 配置反向代理的ip地址和端口号 【注:url地址需加上http:// 或 https://】
|
|
|
|
|
+
|
|
|
|
|
+ # 指定允许跨域的方法,*代表所有
|
|
|
|
|
+ add_header Access-Control-Allow-Methods *;
|
|
|
|
|
+
|
|
|
|
|
+ # 预检命令的缓存,如果不缓存每次会发送两次请求
|
|
|
|
|
+ add_header Access-Control-Max-Age 3600;
|
|
|
|
|
+ # 带cookie请求需要加上这个字段,并设置为true
|
|
|
|
|
+ add_header Access-Control-Allow-Credentials true;
|
|
|
|
|
+
|
|
|
|
|
+ # 表示允许这个域跨域调用(客户端发送请求的域名和端口)
|
|
|
|
|
+ # $http_origin动态获取请求客户端请求的域 不用*的原因是带cookie的请求不支持*号
|
|
|
|
|
+ add_header Access-Control-Allow-Origin $http_origin;
|
|
|
|
|
+
|
|
|
|
|
+ # 表示请求头的字段 动态获取
|
|
|
|
|
+ add_header Access-Control-Allow-Headers $http_access_control_request_headers;
|
|
|
|
|
+
|
|
|
|
|
+ # OPTIONS预检命令,预检命令通过时才发送请求
|
|
|
|
|
+ # 检查请求的类型是不是预检命令
|
|
|
|
|
+ if ($request_method = OPTIONS){
|
|
|
|
|
+ return 200;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+```
|
|
|
|
|
|
|
|
-[MIT](https://github.com/PanJiaChen/vue-element-admin/blob/master/LICENSE)
|
|
|
|
|
|
|
|
|
|
-Copyright (c) 2017-present PanJiaChen
|
|
|
|
|
|
|
+## 修改记录
|
|
|
|
|
+## v1.9.2
|
|
|
|
|
+> 2022.06.27
|
|
|
|
|
+- 充值页面的已充值栏不能编辑(可读状态)
|
|
|
|
|
+- 修改域名
|
|
|
|
|
+- 添加充值域名
|
|
|
|
|
+
|
|
|
|
|
+## v1.9
|
|
|
|
|
+> 2021.12.06
|
|
|
|
|
+1. [x] 添加展示MM渠道余额与充值判断。
|
|
|
|
|
+
|
|
|
|
|
+## v1.8
|
|
|
|
|
+> 2021.11.26
|
|
|
|
|
+1. [x] 账户检测单独做成功能(拆分检测和充值功能:检测不充值、充值不检测、检测并充值)。
|
|
|
|
|
+
|
|
|
|
|
+## v1.7
|
|
|
|
|
+> 2021.11.23
|
|
|
|
|
+1. [x] 添加账号检测(针对有些渠道账户充值不存在,但充值成功的问题)。
|
|
|
|
|
+2. [x] 添加账户余额与总充值金额判断。
|
|
|
|
|
+3. [x] 优化添加账户检测后的请求逻辑,减少一定的总体请求时间。
|
|
|
|
|
+
|
|
|
|
|
+### v1.6
|
|
|
|
|
+> 2021.11.17
|
|
|
|
|
+1. [x] 充值账户不判断是否是手机号,有些手机号格式比较新奇,或许还不是手机号。
|
|
|
|
|
+2. [x] 账户支付密码错误,停止其他数据请求(如果有500条,会提示500次问题)。
|
|
|
|
|
+3. [x] 登录时的验证码不显示浏览器输入记录。
|
|
|
|
|
+4. [x] 修复首页首次进入加载样式异常问题。
|
|
|
|
|
+5. [x] 账户提交失败统计展示完善。
|
|
|
|
|
+6. [x] 添加显示 处理开始和结束时间。
|
|
|
|
|
+
|
|
|
|
|
+### v1.5
|
|
|
|
|
+> 2021.11.16
|
|
|
|
|
+1. [x] 账户余额显示(个人信息里有)
|
|
|
|
|
+2. [x] 字体颜色可以看清
|
|
|
|
|
+3. [x] 默认选中游戏 热血江湖
|
|
|
|
|
+4. [x] 清除默认充值显示的账号
|
|
|
|
|
+5. [x] 充值时添加充值状态和计数
|
|
|
|
|
+6. [x] 账号为空时不能充值
|
|
|
|
|
+7. [ ] 本地浏览器记录历史充值记录信息。(非必要)
|
|
|
|
|
+8. [ ] 充值账户的 textarea 显示行号,并把状态显示到这里。(非必要)
|
|
|
|
|
+# 测试模拟数据
|
|
|
|
|
+```json
|
|
|
|
|
+17719118763
|
|
|
|
|
+
|
|
|
|
|
+19999999900
|
|
|
|
|
+19999999901
|
|
|
|
|
+19999999902
|
|
|
|
|
+19999999903
|
|
|
|
|
+19999999904
|
|
|
|
|
+19999999905
|
|
|
|
|
+19999999906
|
|
|
|
|
+19999999907
|
|
|
|
|
+19999999908
|
|
|
|
|
+19999999909
|
|
|
|
|
+19999999910
|
|
|
|
|
+19999999911
|
|
|
|
|
+19999999912
|
|
|
|
|
+19999999913
|
|
|
|
|
+19999999914
|
|
|
|
|
+19999999915
|
|
|
|
|
+19999999916
|
|
|
|
|
+19999999917
|
|
|
|
|
+19999999918
|
|
|
|
|
+19999999919
|
|
|
|
|
+19999999920
|
|
|
|
|
+19999999921
|
|
|
|
|
+19999999922
|
|
|
|
|
+19999999923
|
|
|
|
|
+19999999924
|
|
|
|
|
+19999999925
|
|
|
|
|
+19999999926
|
|
|
|
|
+19999999927
|
|
|
|
|
+19999999928
|
|
|
|
|
+19999999929
|
|
|
|
|
+19999999930
|
|
|
|
|
+19999999931
|
|
|
|
|
+19999999932
|
|
|
|
|
+19999999933
|
|
|
|
|
+19999999934
|
|
|
|
|
+19999999935
|
|
|
|
|
+19999999936
|
|
|
|
|
+19999999937
|
|
|
|
|
+19999999938
|
|
|
|
|
+19999999939
|
|
|
|
|
+19999999940
|
|
|
|
|
+19999999941
|
|
|
|
|
+19999999942
|
|
|
|
|
+19999999943
|
|
|
|
|
+19999999944
|
|
|
|
|
+19999999945
|
|
|
|
|
+19999999946
|
|
|
|
|
+19999999947
|
|
|
|
|
+19999999948
|
|
|
|
|
+19999999949
|
|
|
|
|
+19999999950
|
|
|
|
|
+19999999951
|
|
|
|
|
+19999999952
|
|
|
|
|
+19999999953
|
|
|
|
|
+19999999954
|
|
|
|
|
+19999999955
|
|
|
|
|
+19999999956
|
|
|
|
|
+19999999957
|
|
|
|
|
+19999999958
|
|
|
|
|
+19999999959
|
|
|
|
|
+19999999960
|
|
|
|
|
+19999999961
|
|
|
|
|
+19999999962
|
|
|
|
|
+19999999963
|
|
|
|
|
+19999999964
|
|
|
|
|
+19999999965
|
|
|
|
|
+19999999966
|
|
|
|
|
+19999999967
|
|
|
|
|
+19999999968
|
|
|
|
|
+19999999969
|
|
|
|
|
+19999999970
|
|
|
|
|
+19999999971
|
|
|
|
|
+19999999972
|
|
|
|
|
+19999999973
|
|
|
|
|
+19999999974
|
|
|
|
|
+19999999975
|
|
|
|
|
+19999999976
|
|
|
|
|
+19999999977
|
|
|
|
|
+19999999978
|
|
|
|
|
+19999999979
|
|
|
|
|
+19999999980
|
|
|
|
|
+19999999981
|
|
|
|
|
+19999999982
|
|
|
|
|
+19999999983
|
|
|
|
|
+19999999984
|
|
|
|
|
+19999999985
|
|
|
|
|
+19999999986
|
|
|
|
|
+19999999987
|
|
|
|
|
+19999999988
|
|
|
|
|
+19999999989
|
|
|
|
|
+19999999990
|
|
|
|
|
+19999999991
|
|
|
|
|
+19999999992
|
|
|
|
|
+19999999993
|
|
|
|
|
+19999999994
|
|
|
|
|
+19999999995
|
|
|
|
|
+19999999996
|
|
|
|
|
+19999999997
|
|
|
|
|
+19999999998
|
|
|
|
|
+19999999999
|
|
|
|
|
+```
|