feat:PC 下发任务
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
package cn.code.nl.module.base.api.classstandard;
|
||||
|
||||
import cn.code.nl.framework.common.pojo.CommonResult;
|
||||
import cn.code.nl.module.base.enums.ApiConstants;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* RPC 服务 - 基础数据分类标准
|
||||
*
|
||||
* @author zhouz
|
||||
*/
|
||||
@FeignClient(name = ApiConstants.NAME)
|
||||
@Tag(name = "RPC 服务 - 基础数据分类标准")
|
||||
public interface ClassStandardApi {
|
||||
|
||||
String PREFIX = ApiConstants.PREFIX + "/class-standard";
|
||||
|
||||
/**
|
||||
* 根据分类编码获取该分类及所有子分类编码
|
||||
*
|
||||
* @param classCode 分类编码
|
||||
* @return 分类编码列表
|
||||
*/
|
||||
@GetMapping(PREFIX + "/code-list-by-code")
|
||||
@Operation(summary = "根据分类编码获取该分类及所有子分类编码")
|
||||
CommonResult<List<String>> getClassStandardCodeListByCode(@RequestParam("classCode") String classCode);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user