处理问题

This commit is contained in:
wanggeng 2021-11-08 17:35:59 +08:00
parent b68908d88a
commit eeec984b53

View File

@ -11,7 +11,6 @@ import ink.wgink.pojo.result.SuccessResultData;
import ink.wgink.pojo.result.SuccessResultList; import ink.wgink.pojo.result.SuccessResultList;
import ink.wgink.pojo.vos.IdsVO; import ink.wgink.pojo.vos.IdsVO;
import ink.wgink.pojo.vos.UpdatePasswordVO; import ink.wgink.pojo.vos.UpdatePasswordVO;
import org.springframework.web.bind.annotation.RequestBody;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
@ -33,10 +32,10 @@ public interface IUserRemoteService {
UserDTO getByUsername(@RemoteServerParams String userCenter, @RemotePathParams("username") String username, @RemoteQueryParams("access_token") String accessToken); UserDTO getByUsername(@RemoteServerParams String userCenter, @RemotePathParams("username") String username, @RemoteQueryParams("access_token") String accessToken);
@RemotePostMethod("/list/ids") @RemotePostMethod("/list/ids")
List<UserDTO> listByIds(@RemoteServerParams String userCenter, @RemoteQueryParams("access_token") String accessToken, @RequestBody IdsVO idsVO); List<UserDTO> listByIds(@RemoteServerParams String userCenter, @RemoteQueryParams("access_token") String accessToken, @RemoteJsonBodyParams IdsVO idsVO);
@RemotePostMethod("/list/username") @RemotePostMethod("/list/username")
List<UserDTO> listByUsernames(@RemoteServerParams String userCenter, @RemoteQueryParams("access_token") String accessToken, @RequestBody IdsVO idsVO); List<UserDTO> listByUsernames(@RemoteServerParams String userCenter, @RemoteQueryParams("access_token") String accessToken, @RemoteJsonBodyParams IdsVO idsVO);
@RemoteGetMethod("/list") @RemoteGetMethod("/list")
List<UserDTO> list(@RemoteServerParams String userCenter, @RemoteQueryParams("access_token") String accessToken, @RemoteQueryParamsMap Map<String, Object> queryParamsMap); List<UserDTO> list(@RemoteServerParams String userCenter, @RemoteQueryParams("access_token") String accessToken, @RemoteQueryParamsMap Map<String, Object> queryParamsMap);