对比新文件 |
| | |
| | | package com.yuanchu.limslaboratory.clients; |
| | | |
| | | import com.yuanchu.limslaboratory.vo.Result; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | import java.util.Map; |
| | | |
| | | @FeignClient(value = "userservice", url = "${customer.url}") |
| | | public interface UserClient { |
| | | |
| | | @PostMapping("/business/login") |
| | | Result<?> BusynessUserLogin(@RequestBody Map<String, Object> mapData); |
| | | |
| | | @PostMapping("/business/code") |
| | | Result<?> BusynessUserLoginToken(@RequestParam("code") String code); |
| | | } |