export default {
    system: {
        complaint: {
            url: "/wxapp/user/complaint",
            showLoading: true,
        },
        uploadFile: {
            url: "/wxapp/index/one",
            showLoading: true,
        },
        notify: {
            list: {
                url: "/wxapp/index/newlistbycateid",
                showLoading: true,
            }
        },
        config: {
            url: "/wxapp/index/about",
        }
    },
    index: {
        banner: {
            url: "/wxapp/index/banner",
        },
        nav: {
            url: "/wxapp/index/getindexmenu"
        }
    },
    user: {
        sendCode: {
            url: "/wxapp/public/send",
        },
        openId: {
            url: "/wxapp/public/getopenid",
        },
        register: {
            url: "/wxapp/public/register",
        },
        login: {
            url: "/wxapp/public/login",
        },
        resetPassword: {
            url: "/wxapp/public/passwordReset",
        },
        info: {
            url: "/wxapp/user/getuserinfo",
            auth: true,
        },
        save: {
            url: "/wxapp/user/setuserinfo",
            auth: true,
        },
        address: {
            list: {
                url: "/wxapp/Useraddress/getalladdress",
                showLoading: true,
                auth: true,
            },
            edit: {
                url: "/wxapp/Useraddress/applyaddress",
                auth: true,
            },
            detail: {
                url: "/wxapp/Useraddress/addressinfo",
                showLoading: true,
                auth: true,
            },
            delete: {
                url: "/wxapp/Useraddress/deleteaddress",
                auth: true,
            }
        }
    },
    service: {
        cart: {
            count: {
                url: "/wxapp/order/myshoppingcarcount",
                auth: true,
            },
            toCart: {
                url: "/wxapp/order/addshoppingcar",
                showLoading: true,
                auth: true,
            },
            add: {
                url: "/wxapp/order/shoppingcarpush",
                auth: true,
            },
            sub: {
                url: "/wxapp/order/shoppingcarsend",
                auth: true,
            },
            delete: {
                url: "/wxapp/order/deleteshoppingcar",
                auth: true,
            },
            list: {
                url: "/wxapp/order/myshoppingcar",
                showLoading: true,
                auth: true,
            },
        },
        insurance: {
            url: "/wxapp/index/getyiwai",
        },
        hotCate: {
            url: "/wxapp/index/hotcategory",
        },
        cate: {
            url: "/wxapp/index/category1",
        },
        list: {
            url: "/wxapp/index/getcategorybyid"
        },
        detail: {
            url: "/wxapp/index/goodsinfobyid",
            showLoading: true,
        },
        project: {
            url: "/wxapp/project/applyinfo",
            showLoading: true,
            auth: true,
        },
        business: {
            url: "/wxapp/project/applyinfob",
            showLoading: true,
            auth: true,
        },
        afterMarket: {
            url: "/wxapp/project/applyguarantee",
            showLoading: true,
            auth: true,
        },
        distribution: {
            config: {
                url: "/wxapp/index/getdistributionmoney"
            },
            carType: {
                url: "/wxapp/index/getallcar"
            },
        }
    },
    order: {
        create: {
            t1: {
                url: "/wxapp/order/submitordera",
                showLoading: true,
                auth: true,
            },
            t2: {
                url: "/wxapp/orderb/addorder",
                showLoading: true,
                auth: true,
            },
            t3: {
                url: "/wxapp/project/distribution",
                showLoading: true,
                auth: true,
            }
        },
        pay: {
            t1: {
                url: "/wxapp/wxpay/payordera",
                showLoading: true,
                auth: true,
            },
            t2: {
                url: "/wxapp/wxpay/payorderc",
                showLoading: true,
                auth: true,
            },
            t3: {
                url: "/wxapp/wxpay/payorderd",
                showLoading: true,
                auth: true,
            }
        },
        retainage: {
            t1: {
                url: "/wxapp/wxpay/payorderb",
                showLoading: true,
                auth: true,
            },
            t2: {
                url: "/wxapp/wxpay/payorderce",
                showLoading: true,
                auth: true,
            }
        },
        list: {
            t1: {
                url: "/wxapp/order/getmyorder",
                showLoading: true,
                auth: true,
            },
            t2: {
                url: "/wxapp/orderb/getmyorderblist",
                showLoading: true,
                auth: true,
            },
            t3: {
                url: "/wxapp/project/freightorder",
                showLoading: true,
                auth: true,
            },
        },
        detail: {
            t1: {
                url: "/user/workerorderb/orderinfo",
                showLoading: true,
                auth: true,
            },
            t2: {
                url: "/wxapp/orderb/getmyorderbbyid",
                showLoading: true,
                auth: true,
            },
            t3: {
                url: "/user/workerorder/getcarorderinfobyid",
                showLoading: true,
                auth: true,
            },
        },
        finish: {
            t1: {
                url: "/wxapp/order/orderok",
                showLoading: true,
                auth: true,
            },
            t2: {
                url: "/wxapp/orderb/orderok",
                showLoading: true,
                auth: true,
            },
            t3: {
                url: ""
            }
        },
        refund: {
            t1: {
                url: "/wxapp/order/backmoney",
                showLoading: true,
                auth: true,
            },
            t2: {
                url: "/wxapp/orderb/backmoney",
                showLoading: true,
                auth: true,
            },
            t3: {
                url: ""
            },
        },
        cancel: {
            t1: {
                url: "/wxapp/order/cancelorder",
                showLoading: true,
                auth: true,
            },
            t2: {
                url: "/wxapp/orderb/cancelorder",
                showLoading: true,
                auth: true,
            },
            t3: {
                url: ""
            }
        },
        appraise: {
            t1: {
                url: "/wxapp/order/evaluationorder",
                showLoading: true,
                auth: true,
            },
            t2: {
                url: "/wxapp/orderb/evaluationorder",
                showLoading: true,
                auth: true,
            },
            t3: {
                url: ""
            }
        },
        chooseWorker: {
            url: "/wxapp/orderb/chooseshifu",
            showLoading: true,
            auth: true,
        }
    },
    appraise: {
        count: {
            service: {
                url: "/wxapp/index/seeworkerevaluation",
                showLoading: true,
            }
        },
        list: {
            service: {
                url: "/wxapp/index/goodsevaluation",
                showLoading: true,
            }
        }
    },
    worker: {
        detail: {
            url: "/wxapp/orderb/getworkerbyid",
            showLoading: true,
        }
    }
}
