313 Star 3.4K Fork 719

dromara / forest

 / 详情

{变量名}格式字符串模板在引用隐式变量时出错

已完成
拥有者
创建于  
2021-10-20 18:31

当前使用Forest版本以及所使用的后端及版本

Forest: 1.5.11
Backend: okhttp或httpclient

该问题是如何引起的?

{变量名}格式字符串模板在引用隐式变量时出错

重现步骤(如果有请写完整)

@Post(
        url = "http://localhost:{port}/hello-list",
        contentType = "application/x-www-form-urlencoded"
)
String listBodyPost(@Body("item_{_index}") List<String> list);

会报错:找不到变量 _index

评论 (1)

公子骏 创建了任务
公子骏 负责人设置为公子骏
公子骏 关联仓库设置为dromara/forest
公子骏 添加了
 
bug
标签
公子骏 任务状态待办的 修改为进行中
展开全部操作日志

已在1.5.12版本中修复

公子骏 任务状态进行中 修改为已完成

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(1)
1216742 dt flys 1594991700
Java
1
https://gitee.com/dromara/forest.git
git@gitee.com:dromara/forest.git
dromara
forest
forest

搜索帮助

14c37bed 8189591 565d56ea 8189591