/**
 * 支付
 */

import * as costBiz from "../../biz/member/cost";

export const FirstName = '支付';
export const FirstRouter = '/manage/cost';
export const Config = {
    "微信支付":[
        {
            apiName:"发起支付",
            subUrl:'/fees/wechart/pay', 
            param:[
                {key:"id", type:"String", desc:"订单id"}
            ],
            bindBiz:costBiz.placeAnOrder
        },
        {
            apiName:"订单查询状态",
            subUrl:'/fees/wechart/find/state', 
            param:[
                {key:"id", type:"String", desc:"订单id"},
                {key:"weChartPR", type:"String", desc:"微信订单id 创建订单是下发"}
            ],
            bindBiz:costBiz.orderState
        },
        {
            apiName:"关闭订单",
            subUrl:'/fees/wechart/close', 
            param:[
                {key:"id", type:"String", desc:"订单id"},
                {key:"weChartPR", type:"String", desc:"微信订单id 创建订单是下发"}
            ],
            bindBiz:costBiz.orderClose
        }
    ]
}