| | |
| | | |
| | | |
| | | import com.vci.ubcs.omd.entity.Attribute; |
| | | import com.vci.ubcs.omd.vo.AttributeVO; |
| | | import org.springblade.core.launch.constant.AppConstant; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | |
| | | String GET_BY_ID = API_PREFIX + "/attribute/get-by-id"; |
| | | String GET_LIST = API_PREFIX + "/attribute/get-list"; |
| | | |
| | | String GET_ALL = API_PREFIX + "/attribute/get-all"; |
| | | |
| | | |
| | | /** |
| | | * 获取元数据对象 |
| | |
| | | */ |
| | | @GetMapping(GET_LIST) |
| | | R<List<Attribute>> getList(@RequestParam("key") String key); |
| | | |
| | | /** |
| | | * 获取全部属性 |
| | | * @return 查询结果 |
| | | */ |
| | | @GetMapping(GET_ALL) |
| | | R<List<AttributeVO>> getAll(); |
| | | } |