From 9606d87cb540a341e0121469cd9399bee2d73f48 Mon Sep 17 00:00:00 2001 From: Hinyang <375838673@qq.com> Date: Tue, 16 Jul 2019 21:17:21 +0800 Subject: [PATCH 01/11] change pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index fa3e6615..51a6f88d 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ org.springframework.boot spring-boot-starter-parent - 2.1.5.RELEASE + 2.1.4.RELEASE -- Gitee From 317e27d33cf9ce3838c6d89c30f770fe6dbb898d Mon Sep 17 00:00:00 2001 From: Hinyang <375838673@qq.com> Date: Tue, 16 Jul 2019 21:56:30 +0800 Subject: [PATCH 02/11] aliyun db --- .../src/main/resources/application-db.yml | 52 +++++++++---------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/litemall-db/src/main/resources/application-db.yml b/litemall-db/src/main/resources/application-db.yml index ef526211..bb61b06e 100644 --- a/litemall-db/src/main/resources/application-db.yml +++ b/litemall-db/src/main/resources/application-db.yml @@ -1,26 +1,26 @@ -pagehelper: - helperDialect: mysql - reasonable: true - supportMethodsArguments: true - params: count=countSql - -spring: - datasource: - druid: - url: jdbc:mysql://localhost:3306/litemall?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&allowPublicKeyRetrieval=true&verifyServerCertificate=false&useSSL=false - driver-class-name: com.mysql.jdbc.Driver - username: litemall - password: litemall123456 - initial-size: 10 - max-active: 50 - min-idle: 10 - max-wait: 60000 - pool-prepared-statements: true - max-pool-prepared-statement-per-connection-size: 20 - validation-query: SELECT 1 FROM DUAL - test-on-borrow: false - test-on-return: false - test-while-idle: true - time-between-eviction-runs-millis: 60000 - filters: stat,wall - +pagehelper: + helperDialect: mysql + reasonable: true + supportMethodsArguments: true + params: count=countSql + +spring: + datasource: + druid: + url: jdbc:mysql://106.14.226.204:3306/litemall?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&allowPublicKeyRetrieval=true&verifyServerCertificate=false&useSSL=false + driver-class-name: com.mysql.jdbc.Driver + username: vinic + password: Vinic@888 + initial-size: 10 + max-active: 50 + min-idle: 10 + max-wait: 60000 + pool-prepared-statements: true + max-pool-prepared-statement-per-connection-size: 20 + validation-query: SELECT 1 FROM DUAL + test-on-borrow: false + test-on-return: false + test-while-idle: true + time-between-eviction-runs-millis: 60000 + filters: stat,wall + -- Gitee From b06cb6c62a326ced3d116e546e43e9666a790080 Mon Sep 17 00:00:00 2001 From: Hinsyang <375838673@qq.com> Date: Wed, 17 Jul 2019 10:28:44 +0800 Subject: [PATCH 03/11] =?UTF-8?q?fixbug:=E7=9F=AD=E4=BF=A1=E9=AA=8C?= =?UTF-8?q?=E8=AF=81=E7=A0=81=E6=9C=AA=E8=BF=87=E6=9C=9F=E4=B9=9F=E4=BC=9A?= =?UTF-8?q?=E5=8F=91=E9=80=81=E7=9F=AD=E4=BF=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/linlinjava/litemall/wx/web/WxAuthController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litemall-wx-api/src/main/java/org/linlinjava/litemall/wx/web/WxAuthController.java b/litemall-wx-api/src/main/java/org/linlinjava/litemall/wx/web/WxAuthController.java index 071881d1..b9acd2be 100644 --- a/litemall-wx-api/src/main/java/org/linlinjava/litemall/wx/web/WxAuthController.java +++ b/litemall-wx-api/src/main/java/org/linlinjava/litemall/wx/web/WxAuthController.java @@ -197,13 +197,13 @@ public class WxAuthController { return ResponseUtil.fail(AUTH_CAPTCHA_UNSUPPORT, "小程序后台验证码服务不支持"); } String code = CharUtil.getRandomNum(6); - notifyService.notifySmsTemplate(phoneNumber, NotifyType.CAPTCHA, new String[]{code}); boolean successful = CaptchaCodeManager.addToCache(phoneNumber, code); if (!successful) { return ResponseUtil.fail(AUTH_CAPTCHA_FREQUENCY, "验证码未超时1分钟,不能发送"); } + notifyService.notifySmsTemplate(phoneNumber, NotifyType.CAPTCHA, new String[]{code}); return ResponseUtil.ok(); } -- Gitee From 615a13811e09bba323779fd06543ba5f11ba124b Mon Sep 17 00:00:00 2001 From: Hinsyang <375838673@qq.com> Date: Wed, 17 Jul 2019 16:05:31 +0800 Subject: [PATCH 04/11] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=89=8D=E7=AB=AF?= =?UTF-8?q?=E8=AF=B7=E6=B1=82=E6=97=B6=E9=97=B4=E4=B8=BA15=E7=A7=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- litemall-admin/src/utils/request.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litemall-admin/src/utils/request.js b/litemall-admin/src/utils/request.js index 6da07211..df40d0a0 100644 --- a/litemall-admin/src/utils/request.js +++ b/litemall-admin/src/utils/request.js @@ -6,7 +6,7 @@ import { getToken } from '@/utils/auth' // create an axios instance const service = axios.create({ baseURL: process.env.BASE_API, // api 的 base_url - timeout: 5000 // request timeout + timeout: 15000 // request timeout }) // request interceptor -- Gitee From bfc7f59cd84353762d4aa79605aea939154bbc9b Mon Sep 17 00:00:00 2001 From: Hinsyang <375838673@qq.com> Date: Wed, 17 Jul 2019 16:10:29 +0800 Subject: [PATCH 05/11] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=89=93=E5=8C=85?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- litemall-admin/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/litemall-admin/package.json b/litemall-admin/package.json index c9bb4d7c..b37156e6 100644 --- a/litemall-admin/package.json +++ b/litemall-admin/package.json @@ -1,8 +1,8 @@ { - "name": "litemall-admin", + "name": "vinic-admin", "version": "0.1.0", - "description": "litemall-admin basing on vue-element-admin 3.9.3", - "author": "linlinjava ", + "description": "vinic-admin basing on vue-element-admin 3.9.3", + "author": "vinic ", "license": "MIT", "private": true, "scripts": { -- Gitee From ee81e151f547d75215874e6cb09bdba166eff670 Mon Sep 17 00:00:00 2001 From: Hinsyang <375838673@qq.com> Date: Wed, 17 Jul 2019 16:14:54 +0800 Subject: [PATCH 06/11] =?UTF-8?q?=E5=8F=96=E6=B6=88=E5=A4=96=E9=93=BE?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- litemall-admin/src/router/index.js | 41 ------------------------------ 1 file changed, 41 deletions(-) diff --git a/litemall-admin/src/router/index.js b/litemall-admin/src/router/index.js index d9d2c101..b5e64d8a 100644 --- a/litemall-admin/src/router/index.js +++ b/litemall-admin/src/router/index.js @@ -527,47 +527,6 @@ export const asyncRouterMap = [ } ] }, - { - path: 'external-link', - component: Layout, - redirect: 'noredirect', - alwaysShow: true, - name: 'externalLink', - meta: { - title: '外链', - icon: 'link' - }, - children: [ - { - path: 'https://cloud.tencent.com/product/cos', - meta: { title: '腾讯云存储', icon: 'link' } - }, - { - path: 'https://cloud.tencent.com/product/sms', - meta: { title: '腾讯云短信', icon: 'link' } - }, - { - path: 'https://pay.weixin.qq.com/index.php/core/home/login', - meta: { title: '微信支付', icon: 'link' } - }, - { - path: 'https://mpkf.weixin.qq.com/', - meta: { title: '小程序客服', icon: 'link' } - }, - { - path: 'https://www.alibabacloud.com/zh/product/oss', - meta: { title: '阿里云存储', icon: 'link' } - }, - { - path: 'https://www.qiniu.com/products/kodo', - meta: { title: '七牛云存储', icon: 'link' } - }, - { - path: 'http://www.kdniao.com/api-track', - meta: { title: '快递鸟', icon: 'link' } - } - ] - }, { path: '/profile', component: Layout, -- Gitee From 1eab4615c1f9c53196aeb5542eac69c5cab9cfd7 Mon Sep 17 00:00:00 2001 From: Hinsyang <375838673@qq.com> Date: Wed, 17 Jul 2019 16:17:48 +0800 Subject: [PATCH 07/11] =?UTF-8?q?=E5=88=A0=E9=99=A4=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E8=B4=A6=E5=8F=B7=E5=AF=86=E7=A0=81=EF=BC=8C?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E7=99=BB=E5=BD=95=E9=A1=B5=E9=9D=A2=E8=B4=A6?= =?UTF-8?q?=E5=8F=B7=E5=AF=86=E7=A0=81=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- litemall-admin/src/views/login/index.vue | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/litemall-admin/src/views/login/index.vue b/litemall-admin/src/views/login/index.vue index 876f5fb5..d304587e 100644 --- a/litemall-admin/src/views/login/index.vue +++ b/litemall-admin/src/views/login/index.vue @@ -23,20 +23,6 @@ 登录 -
-
- 超级管理员用户名: admin123 - 超级管理员用户名:admin123 -
-
- 商城管理员用户名: mall123 - 商城管理员用户名:mall123 -
-
- 推广管理员用户名: promotion123 - 推广管理员用户名:promotion123 -
-
@@ -55,8 +41,8 @@ export default { } return { loginForm: { - username: 'admin123', - password: 'admin123' + username: '', + password: '' }, loginRules: { username: [{ required: true, message: '管理员账户不允许为空', trigger: 'blur' }], -- Gitee From 303b7c902da06a55a76364a78af0d07cd52db5ff Mon Sep 17 00:00:00 2001 From: Hinsyang <375838673@qq.com> Date: Wed, 17 Jul 2019 16:21:04 +0800 Subject: [PATCH 08/11] =?UTF-8?q?=E5=B0=86tab=E7=9A=84title=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E6=94=B9=E6=88=90VINIC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- litemall-admin/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litemall-admin/index.html b/litemall-admin/index.html index b2af1591..47f8d888 100644 --- a/litemall-admin/index.html +++ b/litemall-admin/index.html @@ -5,7 +5,7 @@ - litemall-admin + VINIC -- Gitee From abcacadd459d71eed2c9811db36613c0f41e1af1 Mon Sep 17 00:00:00 2001 From: Hinsyang <375838673@qq.com> Date: Wed, 17 Jul 2019 16:27:01 +0800 Subject: [PATCH 09/11] =?UTF-8?q?=E5=8F=96=E6=B6=88github,gitee=E9=93=BE?= =?UTF-8?q?=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- litemall-admin/src/views/layout/components/Navbar.vue | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/litemall-admin/src/views/layout/components/Navbar.vue b/litemall-admin/src/views/layout/components/Navbar.vue index a26eb359..72886156 100644 --- a/litemall-admin/src/views/layout/components/Navbar.vue +++ b/litemall-admin/src/views/layout/components/Navbar.vue @@ -28,16 +28,6 @@ 首页 - - - GitHub - - - - - 码云 - - 密码修改 -- Gitee From 2ea992b92c70aa8e7dce6ba07b94fb8b90336386 Mon Sep 17 00:00:00 2001 From: Hinsyang <375838673@qq.com> Date: Thu, 18 Jul 2019 16:21:22 +0800 Subject: [PATCH 10/11] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E5=89=8D=E7=AB=AF?= =?UTF-8?q?=E7=94=9F=E4=BA=A7=E7=8E=AF=E5=A2=83=E7=9A=84=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- litemall-admin/config/prod.env.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litemall-admin/config/prod.env.js b/litemall-admin/config/prod.env.js index 7477e14b..3f46431c 100644 --- a/litemall-admin/config/prod.env.js +++ b/litemall-admin/config/prod.env.js @@ -1,5 +1,5 @@ module.exports = { NODE_ENV: '"production"', ENV_CONFIG: '"prod"', - BASE_API: '"https://www.example.com/admin"' + BASE_API: '"https://hinsyang.cn/admin"' } -- Gitee From fcebdde67f9e01ea98ed02491bfc1dab60148b73 Mon Sep 17 00:00:00 2001 From: Hinsyang <375838673@qq.com> Date: Wed, 24 Jul 2019 12:09:39 +0800 Subject: [PATCH 11/11] test --- litemall-db/src/main/resources/application-db.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litemall-db/src/main/resources/application-db.yml b/litemall-db/src/main/resources/application-db.yml index ef526211..ab20efdc 100644 --- a/litemall-db/src/main/resources/application-db.yml +++ b/litemall-db/src/main/resources/application-db.yml @@ -7,7 +7,7 @@ pagehelper: spring: datasource: druid: - url: jdbc:mysql://localhost:3306/litemall?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&allowPublicKeyRetrieval=true&verifyServerCertificate=false&useSSL=false + url: jdbc:mysql://localhost:443/litemall?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&allowPublicKeyRetrieval=true&verifyServerCertificate=false&useSSL=false driver-class-name: com.mysql.jdbc.Driver username: litemall password: litemall123456 -- Gitee