suggest.md 10.3 KB

APP意见反馈管理接口服务定义

获取APP意见反馈列表接口

接口名: '/suggest/suggest/getSuggestList'

入参


属性名称 类型 例子 说明
uid String 123 uid
startTime String 2012-12-14 开始时间
endTime String 2015-12-30 结束时间
isHot String 0 是否热门(0:不热门,1:热门)
status String 0 状态(0:未回复,1:已回复,2:已发送)
clientType String iPhone 来源
appVersion String - 版本号
replyPersonId String 2794 回复人id

返回

{
    "code": 200,
    "data": {
        "list": [

            {
                "appVersion": "4.3.0",
                "clientType": "android",
                "content": "#YOHO!Buy有货Android客户端意见反馈#版本4.3.0-277#android5.1.1-HUAWEI_P7-L07#tgvcxdds",
                "createTime": "2016-04-14",
                "filterContent": "tgvcxdds",
                "hasImage": 0,
                "id": 24286,
                "image": "",
                "imageOriginUrl": "http:///suggest?imageView/{mode}/w/{width}/h/{height}",
                "imageUrl": "",
                "isHot": 1,
                "isReliable": 0,
                "osVersion": "android5.1.1:HUAWEI_P7-L07",
                "replyContent": "1211",
                "replyPersonId": "2794",
                "replyPersonName": "wxtest1",
                "status": 1,
                "suggestType": 2,
                "uid": 0
            },
            {
                "appVersion": "4.3.0",
                "clientType": "android",
                "content": "#YOHO!Buy有货Android客户端意见反馈#版本4.3.0-277#android5.1.1-HUAWEI_P7-L07#ggf",
                "createTime": "2016-04-14",
                "filterContent": "ggf",
                "hasImage": 0,
                "id": 24284,
                "image": "",
                "imageOriginUrl": "http:///suggest?imageView/{mode}/w/{width}/h/{height}",
                "imageUrl": "",
                "isHot": 0,
                "isReliable": 0,
                "osVersion": "android5.1.1:HUAWEI_P7-L07",
                "replyContent": "15",
                "replyPersonId": "2794",
                "replyPersonName": "wxtest1",
                "status": 1,
                "suggestType": 2,
                "uid": 0
            },
            {
                "appVersion": "4.3.0",
                "clientType": "android",
                "content": "#YOHO!Buy有货Android客户端意见反馈#版本4.3.0-277#android5.1.1-HUAWEI_P7-L07#fdc",
                "createTime": "2016-04-14",
                "filterContent": "fdc",
                "hasImage": 0,
                "id": 24282,
                "image": "",
                "imageOriginUrl": "http:///suggest?imageView/{mode}/w/{width}/h/{height}",
                "imageUrl": "",
                "isHot": 0,
                "isReliable": 0,
                "osVersion": "android5.1.1:HUAWEI_P7-L07",
                "replyContent": "zvvvv",
                "replyPersonId": "2794",
                "replyPersonName": "wxtest1",
                "status": 1,
                "suggestType": 2,
                "uid": 0
            },
            {
                "appVersion": "4.0.2.1602260001",
                "clientType": "iphone",
                "content": "#Yoho!Buy有货iPhone客户端意见反馈#版本4.0.2.1602260001#S💇🏼💏👨‍❤️‍👨👩‍❤️‍💋‍👩👯💏👨‍👩‍👧😌🙂🙃😗🐴😝😌😎😆😏😶😇😉🤑🤑🤑😏😁😎😎😎😎😊😄😌😂😐😑☺️😏☺️",
                "createTime": "2016-03-28",
                "filterContent": "S💇🏼💏👨‍❤️‍👨👩‍❤️‍💋‍👩👯💏👨‍👩‍👧😌🙂🙃😗🐴😝😌😎😆😏😶😇😉🤑🤑🤑😏😁😎😎😎😎😊😄😌😂😐😑☺️😏☺️",
                "hasImage": 0,
                "id": 24213,
                "image": "",
                "imageOriginUrl": "http:///suggest?imageView/{mode}/w/{width}/h/{height}",
                "imageUrl": "",
                "isHot": 1,
                "isReliable": 0,
                "osVersion": "9.3",
                "replyContent": "你好,你好,",
                "replyPersonId": "2794",
                "replyPersonName": "wxtest1",
                "status": 1,
                "suggestType": 2,
                "uid": 5956549
            },
            {
                "appVersion": "",
                "clientType": "android",
                "content": "#YOHO!有货Android客户端意见反馈#版本3.6-234#android4.4.4-MI_4LTE#噼噼啪啪婆婆婆婆",
                "createTime": "2015-09-15",
                "filterContent": "噼噼啪啪婆婆婆婆",
                "hasImage": 0,
                "id": 23760,
                "image": "/2015/09/15/13/02c318c7be6232f7e8b33e4a45a8ed0e3b.jpg",
                "imageOriginUrl": "http://img13.static.yhbimg.com/suggest/2015/09/15/13/02c318c7be6232f7e8b33e4a45a8ed0e3b.jpg?imageView/{mode}/w/{width}/h/{height}",
                "imageUrl": "http://img13.static.yhbimg.com/suggest/2015/09/15/13/02c318c7be6232f7e8b33e4a45a8ed0e3b.jpg?imageView/0/w/60/h/60",
                "isHot": 1,
                "isReliable": 0,
                "osVersion": "android4.4.4:MI_4LTE",
                "replyContent": "sfsdf",
                "replyPersonId": "2794",
                "replyPersonName": "wxtest1",
                "status": 1,
                "suggestType": 2,
                "uid": 8039059
            }
        ],
        "page": 1,
        "replyTotal": 21,
        "size": 10,
        "total": 10,
        "totalPage": 1,
        "unReplyTotal": 468
    },
    "message": "操作成功"
}

回复APP意见接口

接口名: '/suggest/suggest/replySuggest'

入参


属性名称 类型 例子 说明
id String 123 id
replyContent String - 回复内容

返回

{
    "code":200,
    "message":"操作成功"
}

设置热门/非热门接口

接口名: '/suggest/suggest/setHotSuggest'

入参


属性名称 类型 例子 说明
id String 123 id
isHot int 0 是否热门(0:不热门,1:热门)

返回

{
    "code":200,
    "message":"操作成功"
}

删除APP意见接口

接口名: '/suggest/suggest/deleteSuggest'

入参


属性名称 类型 例子 说明
id String 123 id

返回

{
    "code":200,
    "message":"操作成功"

}

发送APP意见接口

接口名: '/suggest/suggest/publishSuggest'

入参


属性名称 类型 例子 说明
id String 123 id

返回

{
    "code":200,
    "message":"操作成功"
}

批量发送APP意见接口

接口名: '/suggest/suggest/batchPublishSuggest'

入参


属性名称 类型 例子 说明
id String 123,12,1 id

返回

{
    "code":200,
    "message":"操作成功"
}

获取所有APP版本号列表接口

接口名: '/suggest/suggest/getAllAppVersions'

入参

返回

{
    "code": 200,
    "data": [
        {
            "id": "3.6.0.1509020008",
            "text": "3.6.0.1509020008"
        },
        {
            "id": "3.6",
            "text": "3.6"
        },
        {
            "id": "3020150510",
            "text": "3020150510"
        },
        {
            "id": "3.8",
            "text": "3.8"
        },
        {
            "id": "3.7.1",
            "text": "3.7.1"
        },
        {
            "id": "3.8.0.1511050001",
            "text": "3.8.0.1511050001"
        },
        {
            "id": "3.9",
            "text": "3.9"
        },
        {
            "id": "3.8.1",
            "text": "3.8.1"
        },
        {
            "id": "3.8.1.1511270001",
            "text": "3.8.1.1511270001"
        },
        {
            "id": "3.8.2",
            "text": "3.8.2"
        },
        {
            "id": "3.9.2",
            "text": "3.9.2"
        },
        {
            "id": "3.9.0.1512150001",
            "text": "3.9.0.1512150001"
        },
        {
            "id": "4.1.0",
            "text": "4.1.0"
        },
        {
            "id": "3.9.2.1601150001",
            "text": "3.9.2.1601150001"
        },
        {
            "id": "4.0.0.1601300001",
            "text": "4.0.0.1601300001"
        },
        {
            "id": "4.0.1",
            "text": "4.0.1"
        },
        {
            "id": "4.1.0.1603140001",
            "text": "4.1.0.1603140001"
        },
        {
            "id": "4.0.2.1602260001",
            "text": "4.0.2.1602260001"
        },
        {
            "id": "4.3.0",
            "text": "4.3.0"
        },
        {
            "id": "4.2.0",
            "text": "4.2.0"
        },
        {
            "id": "4.2.0.1604180001",
            "text": "4.2.0.1604180001"
        },
        {
            "id": "4.3.0-debug",
            "text": "4.3.0-debug"
        }
    ],
    "message": "操作成功"
}

批量导出APP意见接口(通用)

接口名: '/batch/export'

入参


属性名称 类型 例子 说明
type String suggestExport 必须是这个值
queryConf String {"id":"1,2,3"} id

返回

获得可用回复人

接口名: '/suggest/suggest//findAllReplyInfo'

###返回

{
    "code": 200,
    "data": [
        {
            "id": "2794",
            "text": "wxtest1"
        }
    ],
    "message": "操作成功"
}