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

    app.get("/supplier/store/info2/:shopsId", "shop.Info", "shopAdd_getShopDetailById", function (rs,req,res){
        this.$extend={
            moduleName:"店铺管理",
            pageName:"店铺详情",
            btn:true,
            data:rs.data
        }
    });

    //审核通过
    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");
}