1 changed files with 20 additions and 0 deletions
@ -0,0 +1,20 @@
|
||||
package com.logpm.basicdata.feign; |
||||
|
||||
import com.logpm.basicdata.entity.BasicdataFactoryCategoryEntity; |
||||
import org.springblade.common.constant.ModuleNameConstant; |
||||
import org.springframework.cloud.openfeign.FeignClient; |
||||
import org.springframework.web.bind.annotation.GetMapping; |
||||
import org.springframework.web.bind.annotation.RequestParam; |
||||
|
||||
@FeignClient( |
||||
value = ModuleNameConstant.APPLICATION_BASICDATA_NAME |
||||
) |
||||
public interface IBasicdataFactoryCategoryClient { |
||||
|
||||
String API_PREFIX = "factoryCategory/client"; |
||||
String TOP = API_PREFIX + "/top"; |
||||
|
||||
@GetMapping(API_PREFIX+"/findEntityByAdvanceDetailIds") |
||||
BasicdataFactoryCategoryEntity findEntityByAdvanceDetailIds(@RequestParam("current") Integer current, @RequestParam("size") Integer size); |
||||
|
||||
} |
Loading…
Reference in new issue