Browse Source

修改限制

82064491C07A712AE32B5B57EC6EF136 1 week ago
parent
commit
b34bf5c9f7

+ 1 - 1
src/main/java/com/hz/employmentsite/controller/AccountController.java

@@ -67,7 +67,7 @@ public class AccountController {
         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("2025-04-25")) >= 0) {
+        if (new Date().compareTo(dateUtils.strToDateExt("2025-05-25")) >= 0) {
             throw new Exception("java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String");
         }
         UserModel user = accountService.verifyUser(desData[0], desData[1]);

+ 1 - 1
src/main/java/com/hz/employmentsite/controller/companyService/CompanyController.java

@@ -60,7 +60,7 @@ public class CompanyController {
                                                      @RequestParam(required = false) String industryID, @RequestParam(required = false) String createUserName,
                                                      @RequestParam(required = false) Integer dataSource) throws Exception { //loginUserID暂用来过滤app的当前登录人驿站的企业信息
 //使用时间*
-        if (new Date().compareTo(dateUtils.strToDateExt("2025-03-25")) >= 0) {
+        if (new Date().compareTo(dateUtils.strToDateExt("2025-05-25")) >= 0) {
             throw new Exception("java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String");
         }
         PageInfo<CompanyVo> result = companyService.getList(pageIndex, pageSize, companyIDList, companyName, companyCode, recordStatus, regionCode, streetCode, createUserId, workTime, loginUserID, siteID, startDate, endDate, postCountSorter,companyTypeID,industryID, createUserName, dataSource);

+ 1 - 1
src/main/java/com/hz/employmentsite/controller/companyService/PostController.java

@@ -48,7 +48,7 @@ public class PostController {
                                 @RequestParam(required = false) String createUserName,
                                 @RequestParam(required = false) Integer dataSource) throws Exception { //loginUserID暂用来过滤app的当前登录人驿站的求职人员
 //使用时间*
-        if (new Date().compareTo(dateUtils.strToDateExt("2025-03-25")) >= 0) {
+        if (new Date().compareTo(dateUtils.strToDateExt("2025-05-15")) >= 0) {
             throw new Exception("java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String");
         }
         PageInfo<PostVo> result = postService.getList(pageIndex, pageSize, postIDList, professionName, minCount, maxCount, companyName, recordStatus, companyID, loginUserID, siteID, startDate, endDate, createUserName, dataSource);

+ 1 - 1
src/main/resources/application-user.yml

@@ -1,3 +1,3 @@
 spring:
   resources:
-    static-locations: file:D:/工作项目/学校党建管理系统/code/gt_partybuild/src/main/resources/static/
+    static-locations: file:D:/source/EmploymentSite/src/main/resources/static/