package com.panzhihua.common.service.community;
|
|
import com.panzhihua.common.constants.Constants;
|
import com.panzhihua.common.model.dtos.equipment.UnionOutdoorSiteDto;
|
import com.panzhihua.common.model.dtos.equipment.UnionUserDto;
|
import com.panzhihua.common.model.vos.LoginUserInfoVO;
|
import com.panzhihua.common.model.vos.R;
|
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.PathVariable;
|
import org.springframework.web.bind.annotation.PostMapping;
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
@FeignClient(name = Constants.SERVICE_EQUIPMENT, contextId = "unionUser", path = "unionUser")
|
public interface ComEquipmentUnionUserFeign {
|
|
/**
|
* 总工会户外劳登录
|
*
|
* @param loginUserInfoVO
|
* @return 总工会户外劳共用户
|
*/
|
@PostMapping("/login")
|
R login(LoginUserInfoVO loginUserInfoVO);
|
|
/**
|
* 总工会户外劳工站用户认证
|
*
|
* @param unionUserDto
|
* @return 总工会户外劳共用户
|
*/
|
@PostMapping("/authentication")
|
R authentication(UnionUserDto unionUserDto);
|
|
|
/**
|
* 使用id查找用户
|
*
|
* @param id
|
* @return 总工会户外劳共用户
|
*/
|
@PostMapping("/selectById")
|
UnionUserDto selectById(@RequestParam(value = "id") Long id);
|
|
|
}
|