normalAppSuggest.js 2.23 KB
/**
 * Created by ty on 2016/3/23.
 * APP意见反馈管理
 */

exports.domain = require('../config/common.js').domain;
// exports.domain = "http://172.16.6.127:8088/platform";

exports.res = [
    {
        route:'/suggest/suggest/index1',
        method: 'GET',
        view: 'pages/operations/normalAppSuggest',
        src: '/operations/normalAppSuggest'
    },
    {
        route:'/suggest/getSuggestList',
        method:'POST',
        url:'/suggest/suggest/getSuggestList',
        params:[
            {name: 'page', type: 'number'},
            {name: 'uid', type: 'string'},
            {name: 'startTime', type: 'string'},
            {name: 'endTime', type: 'string'},
            {name: 'isHot', type: 'string'},
            {name: 'status', type: 'string'},
            {name: 'clientType', type: 'string'},
            {name: 'appVersion', type: 'string'}
        ]
    },
    {
        route:'/suggest/replySuggest',
        method:'POST',
        url:'/suggest/suggest/replySuggest',
        params:[
            {name: 'id', type: 'string'},
            {name: 'replyContent', type: 'string'}
        ]
    },
    {
        route:'/suggest/setHotSuggest',
        method:'POST',
        url:'/suggest/suggest/setHotSuggest',
        params:[
            {name: 'id', type: 'string'},
            {name: 'isHot', type: 'number'}
        ]
    },
    {
        route:'/suggest/publishSuggest',
        method:'POST',
        url:'/suggest/suggest/publishSuggest',
        params:[
            {name: 'id', type: 'string'}
        ]
    },
    {
        route:'/suggest/deleteSuggest',
        method:'POST',
        url:'/suggest/suggest/deleteSuggest',
        params:[
            {name: 'id', type: 'string'}
        ]
    },
    {
        route:'/suggest/getAllAppVersions',
        method:'POST',
        url:'/suggest/suggest/getAllAppVersions'
    },
    {
        route:'/suggest/batchPublishSuggest',
        method:'POST',
        url:'/suggest/suggest/batchPublishSuggest',
        params:[
            {name: 'id', type: 'string'}
        ]
    },
    {
        route:'/suggest/batchExportSuggest',
        method:'POST',
        url:'/suggest/suggest/batchExportSuggest',
        params:[
            {name: 'id', type: 'string'}
        ]
    }
];