文档
测试

拆分自定义标签

POST
{{host}}/tags/markLog/splitTags

请求头

参数名
类型
描述
必填
token
String
token登录认证
必填

请求参数

参数名
类型
描述
必填
tagsLogId
Long
标签记录ID(非空); 注:非标签ID
必填
splitTagsStr
String
json字符串数组(非空), 详情请看说明
必填
isDel
Boolean
是否删除原标签(可空) 默认false
必填

响应参数

参数名
类型
描述
必填
code
string
示例:200
必填
result
object
数据字典
必填
goodsId
int
示例:158
必填
goodsName
string
示例:儿童餐椅
必填
arrTags
array
数据列表
必填
createTime
string
示例:2020-10-09 17:01:32
必填
createBy
string
示例:testzst
必填
updateTime
string
示例:2020-10-13 11:10:46
必填
updateBy
string
示例:testzst
必填
id
int
示例:11
必填
parentId
int
示例:9
必填
classify1Id
int
示例:3
必填
classify2Id
int
示例:8
必填
classify3Id
int
示例:9
必填
name
string
示例:010101叶子2
必填
level
int
示例:4
必填
hasSelf
int
示例:0
必填
sort
int
示例:1000
必填
hasValid
int
示例:0
必填
memberNum
object
示例:null
必填
goodsNum
object
示例:null
必填
goodsNameStr
object
示例:null
必填
createTime
object
示例:null
必填
tagsNameStr
object
示例:null
必填
tagsIdStr
object
示例:null
必填
success
boolean
示例:true
必填
timestamp
string
示例:2020-10-13 13:42:39
必填

说明 / 示例

**参数[*splitTagsStr*]说明** splitTagsStr上送为json **字符串数组** ```json [ { "tagsId": 15, "tagsName": "010102叶子3", "parentId": 12 }, { "tagsName": "010102叶子3", "parentId": 12 } ] ``` |参数名|类型|说明| |-|-|-| |tagsId | Long | 标签记录ID, 为空时是添加 | |parentId| Long | 父类ID(非空) | |tagsName| String| 标签名称(非空), tagsId 为空时,将添加此名称标签 | |type| Integer| 类型 1:喜欢 2:讨厌 9:其他; 默认1 | **返回示例** ```json { "code": "200", "result": "", "success": true, "timestamp": "2020-10-15 11:44:07" } ```