old mode 100644
new mode 100755
| | |
| | | import com.java110.config.feign.FeignConfiguration; |
| | | import com.java110.dto.user.UserAttrDto; |
| | | import com.java110.dto.user.UserDto; |
| | | import com.java110.po.user.UserPo; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | |
| | | /** |
| | | * 用户服务接口类(供服务间调用) |
| | | */ |
| | | @FeignClient(name = "user-service", configuration = {FeignConfiguration.class}) |
| | | @FeignClient(name = "${java110.user-service}", configuration = {FeignConfiguration.class}) |
| | | @RequestMapping("/userApi") |
| | | public interface IUserInnerServiceSMO { |
| | | |
| | |
| | | */ |
| | | @RequestMapping(value = "/getUserAttrs", method = RequestMethod.POST) |
| | | List<UserAttrDto> getUserAttrs(@RequestBody UserAttrDto userAttrDto); |
| | | |
| | | @RequestMapping(value = "/updateUser", method = RequestMethod.POST) |
| | | int updateUser(@RequestBody UserPo userPo); |
| | | } |