operations.gate.js 1.21 KB
/**
 * Created by LiQZ
 * 开关控制
 */
module.exports={
    namespace:"gate",
    apis:{
        gateList: {
            title: "列表",
            url: "/gate_list",
            params: [
                {name: "status", type: "number"},
                {name: 'page', type: 'Number'},
                {name: 'size', type: 'Number'}
            ]
        },
        gateSaveOrUpdate:{
            title: "添加更新接口",
            url: "/gate_save_update",
            params: [
                {name: "id", type: "number"},
                {name: "metaKey", type: "string"},
                {name: "platform", type: "string"},
                {name: "title", type: "string"},
                {name: "url", type: "string"},
                {name: "status", type: "number"},
                {name: "price", type: "number"}
            ]
        },
        gateDelete:{
            title: "删除接口",
            url: "/gate_delete",
            params: [
                {name: "id", type: "number"}
            ]
        },
        findGateByID: {
            title: "单个查找接口",
            url: "/find_gate_by_id",
            params: [
                {name: "id", type: "number"}
            ]
        }
    }
}