Browse Source

白马合同的同步人员问题

liuyc 2 years ago
parent
commit
054b6643f6

+ 2 - 2
blade-service/blade-user/src/main/java/org/springblade/system/user/controller/UserController.java

@@ -498,8 +498,8 @@ public class UserController {
     /**
     /**
      * 定时同步白马项目用户信息
      * 定时同步白马项目用户信息
      */
      */
-    //@Scheduled(cron = "0 0 4 * * ?")
-    @Scheduled(cron = "0 */5 * * * ?")
+    @Scheduled(cron = "0 0 4 * * ?")
+    //@Scheduled(cron = "0 */5 * * * ?")
     public void syncProjectUserInfo() throws ParseException, IOException {
     public void syncProjectUserInfo() throws ParseException, IOException {
         JSONObject json = new JSONObject();
         JSONObject json = new JSONObject();
         json.put("fn", "all");
         json.put("fn", "all");