简要描述:

请求域名:

  • http://xx.com

请求URL:

POST/plugin.member-tags.Backend.controllers.tag.editPost

###请求参数:

参数名 是否必须 类型 说明
type int 标签类型 1手动 2自动
group_condition_type int 标签组满足关系 1手动 2自动
group_id int 标签分组id
condition array 条件分组
condition[condition_type] array 单个条件满足关系 1与 2或
condition[conditions] array 条件值

####注:参数太多就不备注了,做时按照原型图给出的顺序做就可以 ###请求参数示例:

{
    "type":2,
    "title":"sss",
    "color":"######",
    "group_id":1,
    "group_condition_type":1,
    "update_time":"01:03:33",
    "condition":[
        {
            "condition_type":1,
            "conditions":{
                "sex":1,
                "area":{
                    "province":1,
                    "city":2,
                    "district":3
                },
                "signTime":[
                    "2020-12-12 12:12:12",
                    "2020-12-12 12:12:12"
                ],
                "signMethod":1,
                "signEntry":"app/h5/pc/ali/wechat",
                "mobile":1,
                "pointTotal":{
                    "condition":"ge",
                    "value":123
                },
                "point":{
                    "condition":"le",
                    "value":123
                },
                "balanceTotal":{
                    "condition":"between",
                    "value":"123,234"
                },
                "balance":{
                    "condition":"ge",
                    "value":123
                },
                "incomeTotal":{
                    "condition":"ge",
                    "value":123
                },
                "income":{
                    "condition":"ge",
                    "value":123
                },
                "level":1,
                "agentLevel":1,
                "areaAgentLevel":1,
                "anchorLevel":1,
                "microShopLevel":1,
                "store":1,
                "storeBoss":1,
                "storeVerifier":1,
                "supplier":1,
                "hotel":1,
                "deliver":1,
                "lecturer":1,
                "storeShareHolder":1,
                "worker":1,
                "consumeMember":1,
                "consumeTimes":1,
                "consumeAmount":1,
                "consumeType":8,
                "goodsType":{
                    "parentid":1,
                    "childid":23,
                    "thirdid":43
                },
                "orderPriceGe":123123,
                "orderPriceLe":3213,
                "consumeNear":2,
                "consumeNearNo":1,
                "firstOrder":[
                    "2020-12-12 12:12:12",
                    "2020-12-12 12:12:12"
                ],
                "twiceOrder":3,
                "scheduleTimeOrder":[
                    "2020-12-12 12:12:12",
                    "2020-12-12 12:12:12"
                ],
                "scheduleGoodsOrder":[
                    1,
                    2,
                    3
                ],
                "cartStatus":2,
                "favoriteStatus":2,
                "pageShare":2,
                "recentVisit":1,
                "goodsHistory":4,
                "goodsComment":2,
                "videoShareWatchHistorical":1,
                "videoDemandWatchHistorical":1,
                "articleWatchLog":1,
                "microCommunitiesStick":1,
                "microCommunitiesStickComment":1,
                "storeHomepageHistory":1,
                "cardVisitRecord":1,
                "memberCoupon":1,
                "memberCouponEnable":1,
                "commissionFirstChildCount":{
                    "condition":">",
                    "value":123
                },
                "commissionFirstChildOrderCountJ":{
                    "condition":"ge",
                    "value":123
                },
                "commissionSecondChildCount":{
                    "condition":"ge",
                    "value":123
                },
                "commissionSecondChildOrderCount":{
                    "condition":"ge",
                    "value":123
                },
                "commissionAllChildCount":{
                    "condition":"ge",
                    "value":123
                },
                "commissionAllChildOrderCount":{
                    "condition":"ge",
                    "value":123
                },
                "posterCount":21
            }
        }
    ]
}

返回示例:

{
    "result":1,
    "msg":"ok"
}