文档
测试

自定义标签列表

POST
{{host}}/tags/markLog/getSelfTagsLogPage

请求头

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

请求参数

参数名
类型
描述
必填
tagsMembersId
Long
标记记录ID(可空);用于查看详情
必填
storeId
Long
酒店ID
必填
tagsName
String
所拆分的标签名称
必填
username
String
用户名称
必填
backendUsername
String
管理员名称
必填
oriTagsName
String
自定义标签名称
必填
oriTagsId
Integer
拆分前标签ID, -1:查询已经被拆分的自定义标签, 即自定义标签处理记录, 0:查询未被查分的自定义标签
必填

响应参数

参数名
类型
描述
必填
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
必填

说明 / 示例

**说明** oriTagsId = -1 查询已经被拆分的自定义标签, 即自定义标签处理记录; oriTagsId = 0 查询未被查分的自定义标签,即自定义标签列表 **返回示例** ```json { "code": "200", "result": { "records": [ { "createTime": "2020-10-14 15:41:42", "createBy": "testzst", "updateTime": "2020-10-15 11:42:10", "updateBy": "testzst", "id": 3, "tagsId": 22, "userId": 253, "storeId": 21, "type": 1, "username": "赵大佬", "backendUserId": 32, "addWay": 1, "oriTagsId": 0, "roomId": 164, "orderId": 1297, "hasSelf": 1, "tagsName": "0101果盘,0101饮料组合,010102叶子3", "oriTagsName": "自定义标签2", "storeName": "天津测试门店", "delTime": "2020-10-15 11:42:10", "processTime": "2020-11-24 09:17:47" }, { "createTime": "2020-10-14 15:41:42", "createBy": "testzst", "updateTime": null, "updateBy": null, "id": 2, "tagsId": 21, "userId": 253, "storeId": 21, "type": 1, "username": "赵大佬", "backendUserId": 32, "addWay": 1, "oriTagsId": 0, "roomId": 164, "orderId": 1297, "hasSelf": 1, "tagsName": null, "oriTagsName": "自定义标签1", "storeName": "天津测试门店", "delTime": null, "processTime": "2020-11-24 09:17:47" }, { "createTime": "2020-10-14 15:46:41", "createBy": "testzst", "updateTime": null, "updateBy": null, "id": 4, "tagsId": 23, "userId": 253, "storeId": 21, "type": 2, "username": "赵大佬", "backendUserId": 32, "addWay": 1, "oriTagsId": 0, "roomId": 164, "orderId": 1297, "hasSelf": 1, "tagsName": null, "oriTagsName": "自定义标签3", "storeName": "天津测试门店", "delTime": null, "processTime": "2020-11-24 09:17:47" } ], "total": 3, "size": 10, "current": 1, "orders": [], "searchCount": true, "pages": 1 }, "success": true, "timestamp": "2020-10-15 15:17:40" } ``` **result说明** |参数名|类型|说明| |-|-|-| |id | Long | 标签记录ID**(拆分自定义标签时传此值)** | |tagsId | Long | 标签ID | |userId | Long | 用户ID| |storeId | Long | 门店ID | |type | Integer| 喜好 1:喜欢 2:不喜欢 9:其他| |username | String| 用户名称 | |backendUserId | Long | 操作人员ID | |addWay | Integer| 添加方式 1:人工 2:自动 3:购买 9:其他 | |oriTagsId | Long | 原自定义标签ID(当标签为标准库标签时有效) | |roomId | Long | 添加记录时, 用户所在房间ID | |orderId | Long | 添加记录时, 用户订单ID | |hasSelf | Integer| 是否自定义 0:否 1:是 | |tagsName | String| 标签名称 | |oriTagsName | String| 标签名称(当标签为标准库标签时有效) | |storeName | String| 门店名称 | |delTime | Date| 删除时间 | |processTime | Date| 处理时间(标签处理记录页面用) |