|
@@ -4,10 +4,12 @@ import org.springframework.stereotype.Service;
|
|
|
|
|
|
import cn.com.qmth.examcloud.core.basic.api.UserCloudService;
|
|
|
import cn.com.qmth.examcloud.core.basic.api.request.AddUserReq;
|
|
|
-import cn.com.qmth.examcloud.core.basic.api.request.GetUserListReq;
|
|
|
+import cn.com.qmth.examcloud.core.basic.api.request.GetAllUsersByRoleReq;
|
|
|
+import cn.com.qmth.examcloud.core.basic.api.request.GetUserListByIdsReq;
|
|
|
import cn.com.qmth.examcloud.core.basic.api.request.GetUserReq;
|
|
|
import cn.com.qmth.examcloud.core.basic.api.response.AddUserResp;
|
|
|
-import cn.com.qmth.examcloud.core.basic.api.response.GetUserListResp;
|
|
|
+import cn.com.qmth.examcloud.core.basic.api.response.GetAllUsersByRoleResp;
|
|
|
+import cn.com.qmth.examcloud.core.basic.api.response.GetUserListByIdsResp;
|
|
|
import cn.com.qmth.examcloud.core.basic.api.response.GetUserResp;
|
|
|
|
|
|
/**
|
|
@@ -33,8 +35,13 @@ public class UserCloudServiceClient extends AbstractCloudClientSupport implement
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public GetUserListResp getUserList(GetUserListReq req) {
|
|
|
- return post("user/getUserList", req, GetUserListResp.class);
|
|
|
+ public GetAllUsersByRoleResp getAllUsersByRole(GetAllUsersByRoleReq req) {
|
|
|
+ return post("user/getAllUsersByRole", req, GetAllUsersByRoleResp.class);
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public GetUserListByIdsResp getUserListByIds(GetUserListByIdsReq req) {
|
|
|
+ return post("user/getUserListByIds", req, GetUserListByIdsResp.class);
|
|
|
}
|
|
|
|
|
|
}
|