|  |  |  | 
|---|
|  |  |  | import com.ruoyi.common.core.constant.ServiceNameConstants; | 
|---|
|  |  |  | import com.ruoyi.common.core.domain.R; | 
|---|
|  |  |  | import com.ruoyi.other.api.domain.Technician; | 
|---|
|  |  |  | import com.ruoyi.other.api.factory.SystemConfigClientFallbackFactory; | 
|---|
|  |  |  | import com.ruoyi.other.api.factory.TechnicianClientFallbackFactory; | 
|---|
|  |  |  | import org.springframework.cloud.openfeign.FeignClient; | 
|---|
|  |  |  | import org.springframework.web.bind.annotation.GetMapping; | 
|---|
|  |  |  | import org.springframework.web.bind.annotation.PostMapping; | 
|---|
|  |  |  | import org.springframework.web.bind.annotation.PutMapping; | 
|---|
|  |  |  | import org.springframework.web.bind.annotation.RequestParam; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @FeignClient(contextId = "TechnicianClient", value = ServiceNameConstants.ORDER_SERVICE, fallbackFactory = TechnicianClientFallbackFactory.class) | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PostMapping("/technician/shop/detail") | 
|---|
|  |  |  | R<Technician> shopdetail(@RequestParam Integer techId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PutMapping("/technician-subscribe/updateStatus") | 
|---|
|  |  |  | R<Void> updateStatus(@RequestParam Integer status, @RequestParam Integer subscribeId); | 
|---|
|  |  |  | } | 
|---|