From 1f91165b65c584c2d01d9826ef5a297d16ce9cf5 Mon Sep 17 00:00:00 2001 From: Bosen Date: Sun, 30 May 2021 22:52:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E9=A1=B5=E9=9D=A2=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jieyue.sql | 7 +- .../controller/AdminLoginController.java | 29 +++--- .../admin/service/AdminLoginService.java | 6 +- .../jieyue/common/mapper/SysOrderMapper.java | 2 +- .../controller/MerchantHomeController.java | 5 +- .../controller/MerchantLoginController.java | 26 +++--- .../service/MerchantLoginService.java | 2 +- .../user/controller/UserLoginController.java | 25 ++---- src/main/resources/application.yml | 2 +- .../static/image/user/home/logo/logo.png | Bin 2523 -> 5349 bytes .../static/mapping/SysOrderMapping.xml | 4 +- .../static/mapping/SysUserMapping.xml | 2 +- .../templates/admin/login/index.html | 84 ++++++++++++++++-- .../templates/admin/merchant/index.html | 20 ++--- .../templates/admin/notice/index.html | 6 +- .../resources/templates/admin/user/index.html | 20 +++-- .../templates/merchant/login/index.html | 72 +++++++++++---- .../templates/merchant/ui/index.html | 18 ++-- .../templates/merchant/user/index.html | 6 +- .../resources/templates/user/cart/index.html | 12 +-- .../resources/templates/user/login/index.html | 61 +++++++++++-- .../templates/user/notice/index.html | 21 +++-- .../resources/templates/user/order/index.html | 4 +- 23 files changed, 302 insertions(+), 132 deletions(-) diff --git a/jieyue.sql b/jieyue.sql index 38d7cde..5b9a6bd 100644 --- a/jieyue.sql +++ b/jieyue.sql @@ -11,7 +11,7 @@ Target Server Version : 50716 File Encoding : 65001 - Date: 22/04/2021 14:57:16 + Date: 30/05/2021 17:25:45 */ SET NAMES utf8mb4; @@ -119,6 +119,7 @@ INSERT INTO `sys_comment` VALUES (19, 1, 44, 8, '测试测试测试测试测试 INSERT INTO `sys_comment` VALUES (20, 1, 44, 8, '测试测试测试测试测试测试测试测试测试测试测试测试测试', 1610247780833); INSERT INTO `sys_comment` VALUES (21, 1, 44, 8, '测试测试测试测试测试测试测试测试测试测试测试测试测试', 1610247784508); INSERT INTO `sys_comment` VALUES (22, 1, 44, 8, '测试测试测试测试测试测试测试测试测试测试测试测试测试', 1610247789686); + -- ---------------------------- -- Table structure for sys_goods -- ---------------------------- @@ -285,7 +286,7 @@ CREATE TABLE `sys_order` ( `merchant_ratio` float(11, 1) NOT NULL DEFAULT 1.0 COMMENT '订单创建时商户的费率', PRIMARY KEY (`id`) USING BTREE, UNIQUE INDEX `order_id`(`order_id`) USING BTREE COMMENT '订单号唯一' -) ENGINE = InnoDB AUTO_INCREMENT = 95 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic; +) ENGINE = InnoDB AUTO_INCREMENT = 94 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic; -- ---------------------------- -- Records of sys_order @@ -384,6 +385,6 @@ CREATE TABLE `sys_user` ( INSERT INTO `sys_user` VALUES (1, 'test', 'e10adc3949ba59abbe56e057f20f883e', 'bosen_once@163.com', 1, '/data/header/user/1.jpg'); INSERT INTO `sys_user` VALUES (3, 'bosen_once@qq.com', 'e10adc3949ba59abbe56e057f20f883e', 'bosen_once@qq.com', 1, '/data/header/user/default.jpg'); INSERT INTO `sys_user` VALUES (4, 'test111', 'e10adc3949ba59abbe56e057f20f883e', '806317173@qq.com', 0, '/data/header/user/default.jpg'); -INSERT INTO `sys_user` VALUES (5, 'lalalal', 'e10adc3949ba59abbe56e057f20f883e', '2390025289@qq.com', 0, '/data/header/user/default.jpg'); +INSERT INTO `sys_user` VALUES (5, 'lalalal', 'e10adc3949ba59abbe56e057f20f883e', '2390025288@qq.com', 0, '/data/header/user/default.jpg'); SET FOREIGN_KEY_CHECKS = 1; diff --git a/src/main/java/com/example/jieyue/admin/controller/AdminLoginController.java b/src/main/java/com/example/jieyue/admin/controller/AdminLoginController.java index 3a99292..36fb110 100644 --- a/src/main/java/com/example/jieyue/admin/controller/AdminLoginController.java +++ b/src/main/java/com/example/jieyue/admin/controller/AdminLoginController.java @@ -67,34 +67,27 @@ public class AdminLoginController { * 注册请求 */ @RequestMapping("sign-up") - public ModelAndView signUp(ModelAndView modelAndView,String name,String email,String password){ - int result = service.singup(email,email,password); + public String signUp(String name,String email,String password){ + int result = service.singup(email,name,password); if (result==0){ - // 必填信息不能为空! - modelAndView.addObject("msg","必填信息不能为空!"); + return "必填信息不能为空!"; } if (result==4){ - // 该邮箱已被注册 - modelAndView.addObject("msg","该邮箱已被注册"); + return "该邮箱已被注册"; } if (result==3){ - // 邮箱格式不正确 - modelAndView.addObject("msg","邮箱格式不正确"); + return "邮箱格式不正确"; } if (result==2){ - // 两次密码输入不一致 - modelAndView.addObject("msg","两次密码输入不一致"); + return "两次密码输入不一致"; } if (result==1){ - // 验证邮件已发送,请留意您的邮箱 - modelAndView.addObject("msg","验证邮件已发送,请留意您的邮箱"); + return "验证邮件已发送,请留意您的邮箱"; } if (result==-1){ - // 验证邮件发送失败,请重试 - modelAndView.addObject("msg","注册超时,请重试"); + return "注册超时,请重试"; } - modelAndView.setViewName("redirect:login"); - return modelAndView; + return null; } /* @@ -107,11 +100,11 @@ public class AdminLoginController { modelAndView.setViewName("redirect:/error"); } if (res==0){ - modelAndView.addObject("网络超时请重试"); + modelAndView.addObject("msg", "网络超时请重试"); modelAndView.setViewName("redirect:login"); } if (res==1){ - modelAndView.addObject("msg","注册成功"); + modelAndView.addObject("msg","注册成功,请完成登录!"); modelAndView.setViewName("redirect:login"); } return modelAndView; diff --git a/src/main/java/com/example/jieyue/admin/service/AdminLoginService.java b/src/main/java/com/example/jieyue/admin/service/AdminLoginService.java index 6fa145a..dbaf4a0 100644 --- a/src/main/java/com/example/jieyue/admin/service/AdminLoginService.java +++ b/src/main/java/com/example/jieyue/admin/service/AdminLoginService.java @@ -107,7 +107,7 @@ public class AdminLoginService { } } // 发送注册验证邮件 - boolean res = mailService.sendHtmlMail(email,"捷阅网管理员注册验证","点击此链接完成注册验证"); + boolean res = mailService.sendHtmlMail(email,"捷阅网管理员注册验证","点击此链接完成注册验证"); if (res){ return 1; }else{ @@ -129,11 +129,11 @@ public class AdminLoginService { int res1 = adminMapper.updateMark(1,email); if (res1==1){ // 设置用户角色,设置失败则回滚 - if (adminRoleMapper.updateStatus(1,admin.getId()) != 1){ + /*if (adminRoleMapper.updateStatus(1,admin.getId()) != 1){ // 执行回滚 TransactionAspectSupport.currentTransactionStatus().setRollbackOnly(); return 0; - } + }*/ return 1; }else{ return 0; diff --git a/src/main/java/com/example/jieyue/common/mapper/SysOrderMapper.java b/src/main/java/com/example/jieyue/common/mapper/SysOrderMapper.java index 00f8d91..565a700 100644 --- a/src/main/java/com/example/jieyue/common/mapper/SysOrderMapper.java +++ b/src/main/java/com/example/jieyue/common/mapper/SysOrderMapper.java @@ -50,5 +50,5 @@ public interface SysOrderMapper { // 收益 float websiteProfitCount(); - float merchantProfitCount(int merchantId); + Float merchantProfitCount(int merchantId); } diff --git a/src/main/java/com/example/jieyue/merchant/controller/MerchantHomeController.java b/src/main/java/com/example/jieyue/merchant/controller/MerchantHomeController.java index 3b1f907..98fe95c 100644 --- a/src/main/java/com/example/jieyue/merchant/controller/MerchantHomeController.java +++ b/src/main/java/com/example/jieyue/merchant/controller/MerchantHomeController.java @@ -29,7 +29,10 @@ public class MerchantHomeController { int commentCount = homeService.getCommandCount(merchant.getId()); int userCount = homeService.getUserCount(merchant.getId()); int orderCount = homeService.getOrderCount(merchant.getId()); - float profit = orderMapper.merchantProfitCount(merchant.getId()); + float profit = 0; + if (orderMapper.merchantProfitCount(merchant.getId()) != null) { + profit = orderMapper.merchantProfitCount(merchant.getId()); + } modelAndView.addObject("commentCount",commentCount); modelAndView.addObject("profit",profit); diff --git a/src/main/java/com/example/jieyue/merchant/controller/MerchantLoginController.java b/src/main/java/com/example/jieyue/merchant/controller/MerchantLoginController.java index 4dbafae..2e07a14 100644 --- a/src/main/java/com/example/jieyue/merchant/controller/MerchantLoginController.java +++ b/src/main/java/com/example/jieyue/merchant/controller/MerchantLoginController.java @@ -45,6 +45,10 @@ public class MerchantLoginController { case 1: // 登陆成功 SysMt merchant = loginService.getMerchantInfo(email); + if (merchant.getState() == 0) { + modelAndView.addObject("msg","您的账号处于停用状态,请等待管理员处理"); + break; + } session.setAttribute("merchant",merchant); break; } @@ -65,27 +69,21 @@ public class MerchantLoginController { * 注册 */ @RequestMapping("sign-up") - public ModelAndView signUp(ModelAndView modelAndView,String email,String name,String password){ - modelAndView.setViewName("redirect:/merchant/login"); + public String signUp(String email,String name,String password){ int serviceRes = loginService.signUp(email,name,password); switch (serviceRes){ case -1: - modelAndView.addObject("msg","验证邮件发送失败,请重试"); - break; + return "验证邮件发送失败,请重试"; case 0: - modelAndView.addObject("msg","必填信息不能为空"); - break; + return "必填信息不能为空"; case 1: - modelAndView.addObject("msg","验证信息已发送至邮箱,请留意接收"); - break; + return "验证信息已发送至邮箱,请留意接收"; case 2: - modelAndView.addObject("msg","该邮箱已被注册"); - break; + return "该邮箱已被注册"; case 3: - modelAndView.addObject("msg","邮箱格式不正确"); - break; + return "邮箱格式不正确"; } - return modelAndView; + return null; } /* @@ -104,7 +102,7 @@ public class MerchantLoginController { break; case 1: modelAndView.setViewName("redirect:/merchant/login"); - modelAndView.addObject("msg","注册成功"); + modelAndView.addObject("msg","注册成功,请等待管理员的审核"); break; } return modelAndView; diff --git a/src/main/java/com/example/jieyue/merchant/service/MerchantLoginService.java b/src/main/java/com/example/jieyue/merchant/service/MerchantLoginService.java index 33357ea..0e9f0e6 100644 --- a/src/main/java/com/example/jieyue/merchant/service/MerchantLoginService.java +++ b/src/main/java/com/example/jieyue/merchant/service/MerchantLoginService.java @@ -83,7 +83,7 @@ public class MerchantLoginService { } } // 发送注册验证邮件 - boolean res = mailService.sendHtmlMail(email,"捷阅网商户注册验证","点击此链接完成注册验证"); + boolean res = mailService.sendHtmlMail(email,"捷阅网商户注册验证","点击此链接完成注册验证"); if (res){ return 1; }else{ diff --git a/src/main/java/com/example/jieyue/user/controller/UserLoginController.java b/src/main/java/com/example/jieyue/user/controller/UserLoginController.java index fdab3ac..f995681 100644 --- a/src/main/java/com/example/jieyue/user/controller/UserLoginController.java +++ b/src/main/java/com/example/jieyue/user/controller/UserLoginController.java @@ -68,34 +68,27 @@ public class UserLoginController { * 注册请求 */ @RequestMapping("sign-up") - public ModelAndView signUp(ModelAndView modelAndView,String email,String username,String password,String repwd){ + public String signUp(String email,String username,String password,String repwd){ int result = service.singup(email,username,password,repwd); if (result==0){ - // 必填信息不能为空! - modelAndView.addObject("msg","必填信息不能为空!"); + return "必填信息不能为空!"; } if (result==4){ - // 该邮箱已被注册 - modelAndView.addObject("msg","该邮箱已被注册"); + return "该邮箱已被注册"; } if (result==3){ - // 邮箱格式不正确 - modelAndView.addObject("msg","邮箱格式不正确"); + return "邮箱格式不正确"; } if (result==2){ - // 两次密码输入不一致 - modelAndView.addObject("msg","两次密码输入不一致"); + return "两次密码输入不一致"; } if (result==1){ - // 验证邮件已发送,请留意您的邮箱 - modelAndView.addObject("msg","验证邮件已发送,请留意您的邮箱"); + return "验证邮件已发送,请留意您的邮箱"; } if (result==-1){ - // 验证邮件发送失败,请重试 - modelAndView.addObject("msg","注册超时,请重试"); + return "注册超时,请重试"; } - modelAndView.setViewName("redirect:login"); - return modelAndView; + return "网络出现错误!!"; } /* @@ -112,7 +105,7 @@ public class UserLoginController { modelAndView.setViewName("redirect:login"); } if (res==1){ - modelAndView.addObject("msg","注册成功"); + modelAndView.addObject("msg","注册成功,请完成登录"); modelAndView.setViewName("redirect:login"); } diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 73315ff..82b1939 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,4 +1,4 @@ -site-url: 47.115.118.34 +site-url: 127.0.0.1 server: port: 80 tomcat: diff --git a/src/main/resources/static/image/user/home/logo/logo.png b/src/main/resources/static/image/user/home/logo/logo.png index 9c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g zqwU`$GleDtVJ1<2@<0yrF7>r3d+4<2GAT;JpJx3dI8FAulBlj};Ar-*EQo9C1WAaM z25Wz!jZw#L$J7~@$FGgZ$h5NZ&}P!ZOsxD!@vjGRn2us*AkD@jY;guddiH3#HwxkxPognJ*pwrgIuA_gAHdHJs+zM`-6}^seKazcv;tProDW32| z4)aaoZxr;na_X2 zLj%X5(BD!#KygQK{~2tc6$Aa4qd|2rFiLIVH@4FDiC0K|J}WHSIL gGyvoY{|PVv*3iAYc}>^~00000Nks-uM6N<$f(WK-#Q*>R diff --git a/src/main/resources/static/mapping/SysOrderMapping.xml b/src/main/resources/static/mapping/SysOrderMapping.xml index 5922b41..a6f654e 100644 --- a/src/main/resources/static/mapping/SysOrderMapping.xml +++ b/src/main/resources/static/mapping/SysOrderMapping.xml @@ -69,11 +69,11 @@ select * from sys_order where order_mark = #{orderMark}; - select sum((order_price-merchant_ratio*order_price)/1) from sys_order where order_merchant = #{merchantId} and order_state = 1; - select sum((merchant_ratio*order_price)/1) from sys_order where order_state = 1; diff --git a/src/main/resources/static/mapping/SysUserMapping.xml b/src/main/resources/static/mapping/SysUserMapping.xml index 0773c15..22728b3 100644 --- a/src/main/resources/static/mapping/SysUserMapping.xml +++ b/src/main/resources/static/mapping/SysUserMapping.xml @@ -16,7 +16,7 @@ - - - +
+ + + +
+
注册 +

已注册账号? 登录

+ + diff --git a/src/main/resources/templates/admin/merchant/index.html b/src/main/resources/templates/admin/merchant/index.html index 1d6fc47..3ef6656 100644 --- a/src/main/resources/templates/admin/merchant/index.html +++ b/src/main/resources/templates/admin/merchant/index.html @@ -23,7 +23,7 @@ color: grey; height: 35px; width: 80px; - font-size: 16px; + font-size: 12px; border-radius: 10px; } form input:hover{ @@ -65,7 +65,7 @@ 这里还没有任何商户信息!! - +
@@ -77,14 +77,14 @@ - - - + + diff --git a/src/main/resources/templates/admin/notice/index.html b/src/main/resources/templates/admin/notice/index.html index d4b37f1..a99f139 100644 --- a/src/main/resources/templates/admin/notice/index.html +++ b/src/main/resources/templates/admin/notice/index.html @@ -32,13 +32,13 @@ - + + + + - - - -
商户logo ID
- + + [[${mt.getId()}]] [[${mt.getName()}]] [[${mt.getEmail()}]]已启用未启用已启用未启用

@@ -99,12 +99,12 @@
-
- +
-
- +
会员标记
- + + + + [[${user.getId()}]] + + [[${user.getUsername()}]] + + [[${user.getEmail()}]] + + [[${user.getMark()}]]
diff --git a/src/main/resources/templates/merchant/login/index.html b/src/main/resources/templates/merchant/login/index.html index 243c62f..6ded740 100644 --- a/src/main/resources/templates/merchant/login/index.html +++ b/src/main/resources/templates/merchant/login/index.html @@ -33,18 +33,16 @@

商户注册

请使用您的电子邮箱进行注册

-
-
- -
-
- -
-
- -
- -
+
+ +
+
+ +
+
+ +
+
@@ -60,7 +58,6 @@
-

忘记密码?

@@ -70,10 +67,55 @@ - - + diff --git a/src/main/resources/templates/user/notice/index.html b/src/main/resources/templates/user/notice/index.html index becbb76..1ca1a70 100644 --- a/src/main/resources/templates/user/notice/index.html +++ b/src/main/resources/templates/user/notice/index.html @@ -80,12 +80,16 @@