payment.js 1.92 KB
module.exports= {
    namespace: "payment",
    apis: {
        findPayManageList: {
            title: "支付管理列表",
            url: "/PayManageController/findPayManageList",
            params: []
        },

        findPayInfoById: {
            title: "支付方式详情",
            url: "/PayManageController/findPayInfoById",
            params: [
                {name:"id", type:"Number"}
            ]
        },

        createPayMode: {
            title: "新增支付方式",
            url: "/PayManageController/createPayMode",
            params: [
                {name:"payName", type:"String"},
                {name:"recommendOrderPage", type:"Number", default:0},
                {name:"recommendWords", type:"String"},
                {name:"sortNumber", type:"Number", default:0},
                {name:"recommendText1", type:"String"},
                {name:"recommendText2", type:"String"}
            ]
        },

        updatePayInfoById: {
            title: "编辑支付方式",
            url: "/PayManageController/updatePayInfoById",
            params: [
                {name:"id", type:"Number"},
                {name:"payName", type:"String"},
                {name:"recommendOrderPage", type:"Number", default:0},
                {name:"recommendWords", type:"String"},
                {name:"sortNumber", type:"Number", default:0},
                {name:"recommendText1", type:"String"},
                {name:"recommendText2", type:"String"}
            ]
        },

        openPayModeById: {
            title: "开启支付方式",
            url: "/PayManageController/openPayModeById",
            params: [
                {name:"id", type:"Number"}
            ]
        },

        closePayModeById: {
            title: "关闭支付方式",
            url: "/PayManageController/closePayModeById",
            params: [
                {name:"id", type:"Number"}
            ]
        }
    }
}