operations.suggest.js 2.13 KB
/**
 * Created by ty on 2016/6/21.
 * app意见反馈管理
 */

module.exports={
    namespace:"suggest",
    apis:{
        getSuggestList:{
            title: "app意见反馈管理列表",
            url: '/suggest/suggest/getSuggestList',
            params: [
                {name: 'page', type: 'Number', def: '1'},
                {name: 'size', type: 'Number', def: '10'},
                {name: 'uid', type: 'String'},//uid
                {name: 'startTime', type: 'String'},//开始时间
                {name: 'endTime', type: 'String'},//结束时间
                {name: 'isHot', type: 'String'},//是否热门(0:不热门,1:热门)
                {name: 'status', type: 'String'},//状态(0:未回复,1:已回复,2:已发送)
                {name: 'clientType', type: 'String'},//来源
                {name: 'appVersion', type: 'String'},//版本号
                {name: 'replyPersonId', type: 'String'}//反馈人
            ]
        },
        replySuggest:{
            title: "回复app意见",
            url: '/suggest/suggest/replySuggest',
            params: [
                {name: 'id', type: 'String'},//id
                {name: 'replyContent', type: 'String'}//回复内容
            ]
        },
        setHotSuggest:{
            title: "设置热门/非热门接口",
            url: '/suggest/suggest/setHotSuggest',
            params: [
                {name: 'id', type: 'String'},
                {name: 'isHot', type: 'Number'}
            ]
        },
        deleteSuggest:{
            title: "删除app意见",
            url: '/suggest/suggest/deleteSuggest',
            params: [
                {name: 'id', type: 'String'}
            ]
        },
        publishSuggest:{
            title: "发送APP意见",
            url: '/suggest/suggest/publishSuggest',
            params: [
                {name: 'id', type: 'String'}
            ]
        },
        batchPublishSuggest:{
            title: "批量发送APP意见",
            url: '/suggest/suggest/batchPublishSuggest',
            params: [
                {name: 'id', type: 'String'}
            ]
        }
    }
}