shop.shopAdministrator.js 1.09 KB
module.exports = function (app){
    app.get("/supplier/storeadmin/index", "shop.Administrator", function (req,res){
        this.$extend={
            moduleName:"店铺管理",
            pageName:"管理员列表"
        }
    });

    app.get("/supplier/store/adminupdate/:id", "shop.Administrator");

    app.get("/supplier/storeadmin/adminAdd", "shop.Administrator");

    //店铺管理员列表
    app.post("/supplier/storeadmin/indexPage","shopAdministrator_getShopsAdminList");

    //删除店铺管理员
    app.post("/supplier/storeadmin/delete","shopAdministrator_delAdminRelation");

    //添加店铺管理员
    app.post("/supplier/storeadmin/addguanxi","shopAdministrator_addAdminRelation");

    //保存修改店铺管理员
    app.post("/supplier/storeadmin/updateguanxi","shopAdministrator_updateAdminRalation");

    //根据品牌选择供应商
    app.post("/supplier/storeadmin/supplierlist","shopAdministrator_selectSupplierByBrandId");

    // 查询店铺管理员列表,筛选框
    app.post("/supplier/storeadmin/adminList", "shopAdministrator_getAllShopAdminProfile");
}