Commit f882f251 by 魏文甫

update

1 parent da5015a2
...@@ -65,13 +65,13 @@ public class UserServiceImpl implements UserService { ...@@ -65,13 +65,13 @@ public class UserServiceImpl implements UserService {
loginUser.setSignInCount(1); loginUser.setSignInCount(1);
tKzyUserIntegralFlowing.setIntegral(1); tKzyUserIntegralFlowing.setIntegral(1);
} else { } else {
if (loginUser.getSignInCount() <= 2) { if (loginUser.getSignInCount() < 2) {
integral = 1; integral = 1;
} else if (loginUser.getSignInCount() == 3) { } else if (loginUser.getSignInCount() == 2) {
integral = 3; integral = 3;
} else if (loginUser.getSignInCount() == 4) { } else if (loginUser.getSignInCount() == 3) {
integral = 1; integral = 1;
} else if (loginUser.getSignInCount() == 5) { } else if (loginUser.getSignInCount() == 4) {
integral = 5; integral = 5;
tKzyUserIntegralFlowing.setIntegral(5); tKzyUserIntegralFlowing.setIntegral(5);
} else { } else {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!