shopAudit.js 1.07 KB
module.exports = function (app){
    app.get("/supplier/check/index", "shop.Index", function (req,res){
        this.$extend={
            basicTab:true,
            gridurl:'/supplier/store/indexPage',
            authority:'{"btn":false,"info":"info2","operationStatus":0,"checkStatusArr":"200"}',
            pagetitle:{
                level1title:"店铺管理",
                level2title:"店铺审核管理",
                level3title:"店铺审核列表"
            }
        }
    });

    app.get("/supplier/store/info2/:shopsId", "shop.Info", function (req,res){
        this.$extend={
            data:{
                btn:true
            }
        }
    });

    //审核通过
    app.post("/Shops/ShopsRest/checkShopPass","shopAudit_checkShopPass");

    //驳回
    app.post("/Shops/ShopsRest/checkReject","shopAudit_checkReject");

    //店铺装修审核列表
    app.post("/supplier/store/ajax/shenhezx","shopAudit_findAuditShopsDecorator");

    //店铺装修审核
    app.post("/shop/ShopsDecoratorRest/auditShopsDecorator","shopAudit_auditShopsDecorator");
}