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/13] 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/13] 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/13] =?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/13] =?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/13] =?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/13] =?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/13] =?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/13] =?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/13] =?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/13] =?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 000a2687ef9a8d0b46573e32e4e8ab33d544652f Mon Sep 17 00:00:00 2001 From: Hinsyang <375838673@qq.com> Date: Wed, 24 Jul 2019 12:05:28 +0800 Subject: [PATCH 11/13] core and db property --- litemall-core/src/main/resources/application-core.yml | 4 ++-- litemall-db/src/main/resources/application-db.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/litemall-core/src/main/resources/application-core.yml b/litemall-core/src/main/resources/application-core.yml index 9240ce12..772b9e77 100644 --- a/litemall-core/src/main/resources/application-core.yml +++ b/litemall-core/src/main/resources/application-core.yml @@ -5,7 +5,7 @@ litemall: app-secret: e04004829d4c383b4db7769d88dfbca1 mch-id: 111111 mch-key: xxxxxx - notify-url: http://www.example.com/wx/order/pay-notify + notify-url: http://hinsyang.cn/wx/order/pay-notify # 商户证书文件路径 # 请参考“商户证书”一节 https://pay.weixin.qq.com/wiki/doc/api/wxa/wxa_api.php?chapter=4_3 key-path: xxxxx @@ -43,7 +43,7 @@ litemall: enable: false template: - name: paySucceed - templateId: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx + templateId: iBhy0Rj8BqRIiCDjC1Xcrwi1kQMO7yf0j1gp04dGRG0 - name: captcha templateId: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - name: ship diff --git a/litemall-db/src/main/resources/application-db.yml b/litemall-db/src/main/resources/application-db.yml index bb61b06e..7878514c 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://106.14.226.204:3306/litemall?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&allowPublicKeyRetrieval=true&verifyServerCertificate=false&useSSL=false + url: jdbc:mysql://106.14.226.204:443/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 -- Gitee From 8f741d6db7740f4880f3775de6355a08a10601f3 Mon Sep 17 00:00:00 2001 From: Hinyang <375838673@qq.com> Date: Mon, 29 Jul 2019 21:00:44 +0800 Subject: [PATCH 12/13] change config --- litemall-admin/config/prod.env.js | 2 +- litemall-core/src/main/resources/application-core.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/litemall-admin/config/prod.env.js b/litemall-admin/config/prod.env.js index 3f46431c..5657977b 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://hinsyang.cn/admin"' + BASE_API: '"https://www.hkvinic.top/admin"' } diff --git a/litemall-core/src/main/resources/application-core.yml b/litemall-core/src/main/resources/application-core.yml index 772b9e77..b73c2a53 100644 --- a/litemall-core/src/main/resources/application-core.yml +++ b/litemall-core/src/main/resources/application-core.yml @@ -1,7 +1,7 @@ litemall: # 开发者应该设置成自己的wx相关信息 wx: - app-id: wxa5b486c6b918ecfb + app-id: wxb6fd642f51545fc8 app-secret: e04004829d4c383b4db7769d88dfbca1 mch-id: 111111 mch-key: xxxxxx -- Gitee From a51200e84ad4fc56447fc4e9fa583a65f3357f8e Mon Sep 17 00:00:00 2001 From: Hinyang <375838673@qq.com> Date: Thu, 1 Aug 2019 19:50:10 +0800 Subject: [PATCH 13/13] lastest --- .../admin/web/AdminStorageController.java | 3 +- .../src/main/resources/application-core.yml | 62 ++++++++++--------- .../src/main/resources/application-db.yml | 2 +- .../litemall/wx/web/WxOrderController.java | 2 +- litemall-wx/app.json | 2 +- litemall-wx/config/api.js | 4 +- litemall-wx/pages/about/about.js | 12 ++-- litemall-wx/pages/about/about.wxml | 18 +----- litemall-wx/pages/index/index.js | 4 +- litemall-wx/project.config.json | 2 +- 10 files changed, 51 insertions(+), 60 deletions(-) diff --git a/litemall-admin-api/src/main/java/org/linlinjava/litemall/admin/web/AdminStorageController.java b/litemall-admin-api/src/main/java/org/linlinjava/litemall/admin/web/AdminStorageController.java index 544fbb6c..32481d23 100644 --- a/litemall-admin-api/src/main/java/org/linlinjava/litemall/admin/web/AdminStorageController.java +++ b/litemall-admin-api/src/main/java/org/linlinjava/litemall/admin/web/AdminStorageController.java @@ -18,6 +18,7 @@ import org.springframework.web.multipart.MultipartFile; import javax.validation.constraints.NotNull; import java.io.IOException; +import java.time.LocalDateTime; import java.util.List; @RestController @@ -47,7 +48,7 @@ public class AdminStorageController { @RequiresPermissionsDesc(menu = {"系统管理", "对象存储"}, button = "上传") @PostMapping("/create") public Object create(@RequestParam("file") MultipartFile file) throws IOException { - String originalFilename = file.getOriginalFilename(); + String originalFilename = file.getOriginalFilename()+ LocalDateTime.now().toString(); LitemallStorage litemallStorage = storageService.store(file.getInputStream(), file.getSize(), file.getContentType(), originalFilename); return ResponseUtil.ok(litemallStorage); diff --git a/litemall-core/src/main/resources/application-core.yml b/litemall-core/src/main/resources/application-core.yml index b73c2a53..1436047e 100644 --- a/litemall-core/src/main/resources/application-core.yml +++ b/litemall-core/src/main/resources/application-core.yml @@ -2,10 +2,10 @@ litemall: # 开发者应该设置成自己的wx相关信息 wx: app-id: wxb6fd642f51545fc8 - app-secret: e04004829d4c383b4db7769d88dfbca1 - mch-id: 111111 - mch-key: xxxxxx - notify-url: http://hinsyang.cn/wx/order/pay-notify + app-secret: 04b0ddb07c5ec604aa5ba5744dc11c9c + mch-id: 1546962111 + mch-key: 54DBE97DC1C8856E4B55D6A01DDDC56A + notify-url: https://www.hkvinic.top/wx/order/vinicWxNotify # 商户证书文件路径 # 请参考“商户证书”一节 https://pay.weixin.qq.com/wiki/doc/api/wxa/wxa_api.php?chapter=4_3 key-path: xxxxx @@ -15,32 +15,36 @@ litemall: mail: # 邮件通知配置,邮箱一般用于接收业务通知例如收到新的订单,sendto 定义邮件接收者,通常为商城运营人员 enable: false - host: smtp.exmail.qq.com - username: ex@ex.com.cn - password: XXXXXXXXXXXXX - sendfrom: ex@ex.com.cn - sendto: ex@qq.com + host: smtp.qq.com + username: 2086229539@qq.com + password: tuhpittbjgkgbfea + sendfrom: 2086229539@qq.com + sendto: 173653962@qq.com + sendcc: 375838673@qq.com + port: 465 # 短消息模版通知配置 # 短信息用于通知客户,例如发货短信通知,注意配置格式;template-name,template-templateId 请参考 NotifyType 枚举值 sms: - enable: false - appid: 111111111 - appkey: xxxxxxxxxxxxxx + enable: true + appid: 1400205120 + appkey: 6f8eaf148c267d24ee8374b32936dd86 template: - - name: paySucceed - templateId: 156349 - - name: captcha - templateId: 156433 - - name: ship - templateId: 158002 - - name: refund - templateId: 159447 + - name: paySucceed + templateId: 323022 + - name: proxyRegister + templateId: 323014 + - name: captcha + templateId: 156433 + - name: ship + templateId: 158002 + - name: refund + templateId: 159447 # 微信模版通知配置 # 微信模版用于通知客户或者运营者,注意配置格式;template-name,template-templateId 请参考 NotifyType 枚举值 wx: - enable: false + enable: true template: - name: paySucceed templateId: iBhy0Rj8BqRIiCDjC1Xcrwi1kQMO7yf0j1gp04dGRG0 @@ -53,9 +57,9 @@ litemall: # 快鸟物流查询配置 express: - enable: false - appId: "XXXXXXXXX" - appKey: "XXXXXXXXXXXXXXXXXXXXXXXXX" + enable: true + appId: "1438769" + appKey: "1d467469-fc01-4778-90b7-2dc145df6c7d" vendors: - code: "ZTO" name: "中通快递" @@ -87,18 +91,18 @@ litemall: # 对象存储配置 storage: # 当前工作的对象存储模式,分别是local、aliyun、tencent、qiniu - active: local + active: aliyun # 本地对象存储配置信息 local: storagePath: storage # 这个地方应该是wx模块的WxStorageController的fetch方法对应的地址 - address: http://localhost:8080/wx/storage/fetch/ + address: https://eyetips.oss-cn-shenzhen.aliyuncs.com/storage/fetch/ # 阿里云对象存储配置信息 aliyun: endpoint: oss-cn-shenzhen.aliyuncs.com - accessKeyId: 111111 - accessKeySecret: xxxxxx - bucketName: litemall + accessKeyId: LTAIwVpPe1ZRvZjC + accessKeySecret: tf53zoOLeQ6NVudcip1U86PIJS3t5k + bucketName: eyetips # 腾讯对象存储配置信息 # 请参考 https://cloud.tencent.com/document/product/436/6249 tencent: diff --git a/litemall-db/src/main/resources/application-db.yml b/litemall-db/src/main/resources/application-db.yml index 7878514c..bb61b06e 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://106.14.226.204:443/litemall?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&allowPublicKeyRetrieval=true&verifyServerCertificate=false&useSSL=false + 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 diff --git a/litemall-wx-api/src/main/java/org/linlinjava/litemall/wx/web/WxOrderController.java b/litemall-wx-api/src/main/java/org/linlinjava/litemall/wx/web/WxOrderController.java index 24838bd6..c2ae4d8c 100644 --- a/litemall-wx-api/src/main/java/org/linlinjava/litemall/wx/web/WxOrderController.java +++ b/litemall-wx-api/src/main/java/org/linlinjava/litemall/wx/web/WxOrderController.java @@ -100,7 +100,7 @@ public class WxOrderController { * @param response 响应内容 * @return 操作结果 */ - @PostMapping("pay-notify") + @PostMapping("vinicWxNotify") public Object payNotify(HttpServletRequest request, HttpServletResponse response) { return wxOrderService.payNotify(request, response); } diff --git a/litemall-wx/app.json b/litemall-wx/app.json index affff8f0..bb41200c 100644 --- a/litemall-wx/app.json +++ b/litemall-wx/app.json @@ -41,7 +41,7 @@ ], "window": { "navigationBarBackgroundColor": "#FFFFFF", - "navigationBarTitleText": "litemall小程序商城", + "navigationBarTitleText": "VINIC刹车制动改装商城", "enablePullDownRefresh": true, "navigationBarTextStyle": "black", "backgroundColor": "#FFFFFF", diff --git a/litemall-wx/config/api.js b/litemall-wx/config/api.js index 2be3d213..bd7269f5 100644 --- a/litemall-wx/config/api.js +++ b/litemall-wx/config/api.js @@ -1,12 +1,12 @@ // 以下是业务服务器API地址 // 本机开发时使用 -var WxApiRoot = 'http://localhost:8080/wx/'; +//var WxApiRoot = 'http://localhost:8080/wx/'; // 局域网测试使用 // var WxApiRoot = 'http://192.168.0.101:8080/wx/'; // 云平台部署时使用 // var WxApiRoot = 'http://118.24.0.153:8080/wx/'; // 云平台上线时使用 -// var WxApiRoot = 'https://www.menethil.com.cn/wx/'; + var WxApiRoot = 'https://www.hkvinic.top/wx/'; module.exports = { IndexUrl: WxApiRoot + 'home/index', //首页数据接口 diff --git a/litemall-wx/pages/about/about.js b/litemall-wx/pages/about/about.js index 328ca13c..5ab7e6f6 100644 --- a/litemall-wx/pages/about/about.js +++ b/litemall-wx/pages/about/about.js @@ -12,12 +12,12 @@ Page({ data: { load_statue: true, shopInfo: { - name: 'litemall', - address: 'https://github.com/linlinjava/litemall', - latitude: 31.201900, - longitude: 121.587839, - linkPhone: '021-xxxx-xxxx', - qqNumber: '738696120' + name: 'VINIC汽车制动用品有限公司', + address: '东莞市鸿海智谷产业园', + latitude: 22.7703190000, + longitude: 114.1346210000, + linkPhone: '4009961993', + qqNumber: '13760291511' }, }, diff --git a/litemall-wx/pages/about/about.wxml b/litemall-wx/pages/about/about.wxml index ac1983d5..755f3ad0 100644 --- a/litemall-wx/pages/about/about.wxml +++ b/litemall-wx/pages/about/about.wxml @@ -3,7 +3,7 @@ - + {{shopInfo.name}} @@ -32,7 +32,7 @@ - + {{shopInfo.qqNumber}} @@ -40,18 +40,4 @@ - - - - 1.0.0 - - - - - - - MIT - - - \ No newline at end of file diff --git a/litemall-wx/pages/index/index.js b/litemall-wx/pages/index/index.js index 8e0d66d4..6a1198d4 100644 --- a/litemall-wx/pages/index/index.js +++ b/litemall-wx/pages/index/index.js @@ -21,8 +21,8 @@ Page({ onShareAppMessage: function() { return { - title: 'litemall小程序商场', - desc: '开源微信小程序商城', + title: 'VINIC刹车制动改装商城', + desc: 'VINIC小程序商城', path: '/pages/index/index' } }, diff --git a/litemall-wx/project.config.json b/litemall-wx/project.config.json index 9383d66e..baf7e1d6 100644 --- a/litemall-wx/project.config.json +++ b/litemall-wx/project.config.json @@ -10,7 +10,7 @@ }, "compileType": "miniprogram", "libVersion": "2.4.0", - "appid": "wxa5b486c6b918ecfb", + "appid": "wxb6fd642f51545fc8", "projectname": "litemall-wx", "simulatorType": "wechat", "simulatorPluginLibVersion": {}, -- Gitee