From 07014b593d987a21f00fcd6ef29cc03ddd996c38 Mon Sep 17 00:00:00 2001 From: qiaozhanwei Date: Mon, 29 Apr 2019 10:20:40 +0800 Subject: [PATCH] admin user update --- .../java/cn/escheduler/api/controller/UsersController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/escheduler-api/src/main/java/cn/escheduler/api/controller/UsersController.java b/escheduler-api/src/main/java/cn/escheduler/api/controller/UsersController.java index d72e192f51..72f2eb31c2 100644 --- a/escheduler-api/src/main/java/cn/escheduler/api/controller/UsersController.java +++ b/escheduler-api/src/main/java/cn/escheduler/api/controller/UsersController.java @@ -64,7 +64,7 @@ public class UsersController extends BaseController{ @RequestParam(value = "userName") String userName, @RequestParam(value = "userPassword") String userPassword, @RequestParam(value = "tenantId") int tenantId, - @RequestParam(value = "queue") String queue, + @RequestParam(value = "queue",required = false,defaultValue = "") String queue, @RequestParam(value = "email") String email, @RequestParam(value = "phone", required = false) String phone) { logger.info("login user {}, create user, userName: {}, email: {}, tenantId: {}, userPassword: {}, phone: {}, user queue: {}", @@ -128,7 +128,7 @@ public class UsersController extends BaseController{ @RequestParam(value = "id") int id, @RequestParam(value = "userName") String userName, @RequestParam(value = "userPassword") String userPassword, - @RequestParam(value = "queue") String queue, + @RequestParam(value = "queue",required = false,defaultValue = "") String queue, @RequestParam(value = "email") String email, @RequestParam(value = "tenantId") int tenantId, @RequestParam(value = "phone", required = false) String phone) {