Closed ddxl123 closed 1 year ago
const val routeNoLoginRequired = "no_login" @RestController @RequestMapping(routeNoLoginRequired+ "/knowledge_base") class KnowledgeBaseController( val uniteService: UniteService ) { (图标) @PostMapping("/query_categorys") fun queryCategorys(@RequestBody knowledgeBaseQueryDto: KnowledgeBaseQueryDto){ ... }
上面点击图标自动获取到的url应该是 /no_login/knowledge_base/query_categorys, 但却获取到的是 /routeNoLoginRequired + /knowledge_base/query_categorys 。
/no_login/knowledge_base/query_categorys
/routeNoLoginRequired + /knowledge_base/query_categorys
idea版本:2022.2.4 Restful Fast Request版本:2023.1.1.2
url由配置替换,无法将" + " 替换成空字符 "",看来只能"${xxx}"的写法了
I will fix in the next version
上面点击图标自动获取到的url应该是
/no_login/knowledge_base/query_categorys
, 但却获取到的是/routeNoLoginRequired + /knowledge_base/query_categorys
。idea版本:2022.2.4 Restful Fast Request版本:2023.1.1.2