Skip to content

[Feature] 对 PUT 默认支持条件,不传 @combine 也行 #277

Open
@TommyLemon

Description

@TommyLemon

具体说下
目前不支持直接作为条件,如果不传 @combine 就报错了。
image

可以把带功能符号的键值对默认作为条件,例如
"content~": "a"
"contactIdList<>": 82001
等。
判断方式为 StringUtil.isName(key) == false

为什么
方便使用,满足更多场景。

可能的问题:
前端过于灵活,后端可能不好保证安全?
目前强制传 id / id{} ,应该能保证。不让前端传带功能符的键值对,应该后端 Request 表配置。

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions