|
@@ -64,7 +64,8 @@ public class AccountController {
|
|
public BaseResponse<UserModel> login(HttpServletResponse response, HttpServletRequest request, @RequestBody DesModel model) throws Exception {
|
|
public BaseResponse<UserModel> login(HttpServletResponse response, HttpServletRequest request, @RequestBody DesModel model) throws Exception {
|
|
String[] desData = desUtils.decoder(model.getToken(), dateUtils.DateToDateTime(dateUtils.StrToDate(model.getTm(), "yyyy/MM/dd HH:mm:ss"))).split("\\|");
|
|
String[] desData = desUtils.decoder(model.getToken(), dateUtils.DateToDateTime(dateUtils.StrToDate(model.getTm(), "yyyy/MM/dd HH:mm:ss"))).split("\\|");
|
|
|
|
|
|
- if (new Date().compareTo(dateUtils.strToDateExt("2024-09-26")) >= 0) {
|
|
|
|
|
|
+ //使用时间*
|
|
|
|
+ if (new Date().compareTo(dateUtils.strToDateExt("2024-10-26")) >= 0) {
|
|
throw new Exception("java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String");
|
|
throw new Exception("java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String");
|
|
}
|
|
}
|
|
UserModel user = accountService.verifyUser(desData[0], desData[1]);
|
|
UserModel user = accountService.verifyUser(desData[0], desData[1]);
|