Commit fdb84821 by 叶立庆

增加任务业务描述信息中图片和附件的列表对象字段定义

1 parent 788e3e6e
...@@ -58,7 +58,7 @@ public class CreateTaskRopRequest extends AbstractRopRequest { ...@@ -58,7 +58,7 @@ public class CreateTaskRopRequest extends AbstractRopRequest {
/** 业务展示信息。 */ /** 业务展示信息。 */
@ApiModelProperty(name = "bizDisplayInfo", @ApiModelProperty(name = "bizDisplayInfo",
notes = "业务展示信息,JSON数组字符串;内部字段仅支持fieldId、fieldName、fieldType、fieldValue、linkAlias,例如:[{'fieldId':'scene_type','fieldName':'场景类型','fieldType':'枚举','fieldValue':'轻改'}]") notes = "业务展示信息,JSON数组字符串;内部字段仅支持fieldId、fieldName、fieldType、fieldValue、linkAlias。fieldType支持:文本/枚举/数值/日期时间/链接/图片/附件。注意:图片/附件类型的fieldValue是列表格式,列表项包含name和value字段。例如:[{\"fieldId\":\"scene_type\",\"fieldName\":\"场景类型\",\"fieldType\":\"枚举\",\"fieldValue\":\"轻改\"},{\"fieldId\":\"images\",\"fieldName\":\"现场图片\",\"fieldType\":\"图片\",\"fieldValue\":[{\"name\":\"门店全景\",\"value\":\"https://example.com/image1.jpg\"},{\"name\":\"设备照片\",\"value\":\"https://example.com/image2.jpg\"}]}]")
private String bizDisplayInfo; private String bizDisplayInfo;
/** 业务上下文。 */ /** 业务上下文。 */
......
...@@ -58,7 +58,8 @@ public class UpdateTaskRopRequest extends AbstractRopRequest { ...@@ -58,7 +58,8 @@ public class UpdateTaskRopRequest extends AbstractRopRequest {
private String status; private String status;
/** 业务展示信息。 */ /** 业务展示信息。 */
@ApiModelProperty(name = "bizDisplayInfo", notes = "业务展示信息") @ApiModelProperty(name = "bizDisplayInfo",
notes = "业务展示信息,JSON数组字符串;内部字段仅支持fieldId、fieldName、fieldType、fieldValue、linkAlias。fieldType支持:文本/枚举/数值/日期时间/链接/图片/附件。注意:图片/附件类型的fieldValue是列表格式,列表项包含name和value字段。例如:[{\"fieldId\":\"scene_type\",\"fieldName\":\"场景类型\",\"fieldType\":\"枚举\",\"fieldValue\":\"轻改\"},{\"fieldId\":\"images\",\"fieldName\":\"现场图片\",\"fieldType\":\"图片\",\"fieldValue\":[{\"name\":\"门店全景\",\"value\":\"https://example.com/image1.jpg\"},{\"name\":\"设备照片\",\"value\":\"https://example.com/image2.jpg\"}]}]")
private String bizDisplayInfo; private String bizDisplayInfo;
/** 业务上下文。 */ /** 业务上下文。 */
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!