企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
[TOC] ## 全部标签 ~~~[api] post:/member/tag <<< 请求内容 { } <<< 返回结果 { "code": 0, "info": "success", "data": [ { "id": 1, "group": 2, "name": "916", "state": 1, "color":{ "id": 1, "color": "#63C0CE" } }, { "id": 2, "group": 2, "name": "911", "state": 1, "color":{ "id": 1, "color": "#63C0CE" } } ] } ~~~ ## get标签 ~~~[api] post:/member/tagget <<< 请求内容 { "id": 2, } <<< 返回结果 { "code": 0, "info": "success", "data": { "id": 1, "group": 2, "name": "916", "state": 1, "color":{ "id": 1, "color": "#63C0CE" } } ~~~ ## delete标签 ~~~[api] post:/member/tagdelete <<< 请求内容 { "id": 2, } <<< 返回结果 { "code": 0, "info": "success", "data": { } } ~~~ ## 创建标签 ~~~[api] post:/member/tagadd <<< 请求内容 { "group": "2", "name": "916", "color": "1", } <<< 返回结果 { "code": 0, "info": "success", "data": { "id": 1, "group": 2, "name": "916", "state": 1, "color":{ "id": 1, "color": "#63C0CE" } } } ~~~ ## 编辑标签 ~~~[api] post:/member/tagedit <<< 请求内容 { "id": "1", "group": "2", "name": "916", "color": "1", "state": "1", } <<< 返回结果 { "code": 0, "info": "success", "data": { "id": 1, "group": 2, "name": "916", "state": 1, "color":{ "id": 1, "color": "#63C0CE" } } } ~~~ ## 全部标签组 ~~~[api] post:/member/taggroup <<< 请求内容 { } <<< 返回结果 { "code": 0, "info": "success", "data": [ { "id": 1, "name": "917", "type": 1, "state": 1, "member_tag":[] }, { "id": 2, "name": "914", "type": 0, "state": 0, "member_tag":[ { "id": 1, "group": 2, "name": "916", "state": 1, "color": 1, "color_value": "#63C0CE" }, { "id": 2, "group": 2, "name": "911", "state": 1, "color": 1, "color_value": "#63C0CE" } ] } ] } ~~~ ## get标签组 ~~~[api] post:/member/taggroupget <<< 请求内容 { "id": 2, } <<< 返回结果 { "code": 0, "info": "success", "data": { "id": 2, "name": "914", "type": 0, "state": 0, "member_tag":[ { "id": 1, "group": 2, "name": "916", "state": 1, "color": 1, "color_value": "#63C0CE" }, { "id": 2, "group": 2, "name": "911", "state": 1, "color": 1, "color_value": "#63C0CE" } ] } } ~~~ ## delete标签组 ~~~[api] post:/member/taggroupdelete <<< 请求内容 { "id": 2, } <<< 返回结果 { "code": 0, "info": "success", "data": { } } ~~~ ## 创建标签组 ~~~[api] post:/member/taggroupadd <<< 请求内容 { "name": "999", } <<< 返回结果 { "code": 0, "info": "success", "data": { "id": 6, "name": "999", "type": 0, "state": 1 } } ~~~ ## 编辑标签组 ~~~[api] post:/member/taggroupedit <<< 请求内容 { "id": "1", "name": "917", "type": "1", "state": "1", } <<< 返回结果 { "code": 0, "info": "success", "data": { "id": 1, "name": "917", "type": 1,// 0-互斥 1-不互斥 "kpi": 1,//0-不考核 1-考核 "state": 1,// 0-停用 1-正常 } } ~~~ ##添加、编辑会员标签获取 标签数组 ~~~[api] post:/member/getmtags *int:member_id=582 #会员 ID <<< success { "code": 0, "info": "成功", "data":[ {"id": 1, "name": "职业", "type": 1, "kpi": 1, "state": 0,…}, { "id": 4, "name": "标签组6", "type": 0, "kpi": 1, "state": 1, "tags":[ { "id": 9, "group": 4, "name": "爱啦啦啦", "state": 1, "color": 12, "checked": true } ] } ] } ~~~ ##添加、编辑会员标签 ~~~[api] post:/member/addmetags *int:member_id=582 #会员 ID *string:data=json字符串 #[{"tag":1,"member_id":439},{"tag":2,"member_id":439},{"tag":3,"member_id":439}] <<< success ~~~