common_select.js 5.62 KB
exports.domain = require('../config/common.js').domain;

exports.res = [
    //原 supplier
    {
        route: '/supplier/supplier/getSupplierListByIdName',
        method: 'POST',
        url: '/supplier/supplier/getSupplierListByIdName',
        params: [{
            name: "idName",
            type: "String",
            def: 1
        }]
    }, {
        route: '/brand/getBrandNames',
        method: 'POST',
        url: '/erpproduct/brands/getBrandNames',
        params: [{
            name: 'idName',
            type: 'String'
        }, {
            name: 'status',
            type: 'Number'
        }]
    }, {
        // 根据身份选择管理员
        route: '/supplier/storeadmin/managerName',
        method: 'POST',
        url: "/ShopsAdminRest/getUsersByIdentity",
        src: '/store/adminedit',
        params: [{
            name: "identity",
            type: "Number"
        }, {
            name: "shopsId",
            type: "Number"
        }]
    }, { //添加品类关联尺码属性接口【验证通过】
        route: '/erpproduct/sortattribute/ajax/automatic',
        method: 'POST',
        url: '/product/querySizeAttributesByName',
        params: [{
                name: "idName",
                type: "String"
            }, {
                name: "sortId",
                type: "Number"
            }

        ]
    }, {
        route: '/erpproduct/sortsize/ajax/querySizeListBySortId4Html',
        method: 'POST',
        url: '/product/querySizeListBySortId4Html',
        params: [{
            name: "idName",
            type: "String"
        }, {
            name: "sortId",
            type: "Number"
        }]
    }, { //尺码模糊查询【验证通过】
        route: '/erpproduct/sortsize/ajax/automatic',
        method: 'POST',
        url: '/product/querySizeByNameForSelect',
        params: [{
            name: "idName",
            type: "String"
        }, {
            name: "sortId",
            type: "Number"
        }]
    }, {
        //查询品牌列表接口
        route: '/goods/query/brand',
        method: 'POST',
        url: '/erpproduct/brands/queryAllBrands',
        params: [{
            name: 'idName',
            type: 'String'
        }]
    }, {
        //查询店铺下关联品牌
        route: '/query/brandByshopId',
        method: 'POST',
        url: '/MerchantShopsRest/queryMerchantBrandByShopsId'
    }, {
        //查询供应商列表接口
        route: '/goods/query/supplier',
        method: 'POST',
        url: '/supplier/supplier/queryAllSupplier',
        params: [{
            name: 'idName',
            type: 'String'
        }]
    }, {
        //查询店铺下关联供应商
        route: '/query/supplierByshopId',
        method: 'POST',
        url: '/MerchantShopsRest/queryMerchantSupplierByShopsId'
    }, {
        //查询一级类目列表接口
        route: '/goods/query/maxSort',
        method: 'POST',
        url: '/product/queryMaxSortByName',
        params: [{
            name: 'idName',
            type: 'String'
        }]
    }, {
        //查询店铺列表接口
        route: '/goods/query/shop',
        method: 'POST',
        url: '/ShopsRest/queryAllShops',
        params: [{
            name: 'idName',
            type: 'String'
        }]
    }, {
        //查询通过审核店铺列表接口
        route: '/goods/query/shopPass',
        method: 'POST',
        url: '/ShopsRest/selectCheckPassShopsByName',
        params: [{
            name: 'idName',
            type: 'String'
        }]
    }, { //根据品牌查询店铺
        route: '/goods/query/queryShopsByBrandId',
        method: 'POST',
        url: '/ShopsRest/queryShopsByBrandId',
        params: [{
            name: 'idName',
            type: 'String'
        }, {
            name: 'brandId',
            type: 'Number'
        }]
    }, { //模糊查询
        route: '/limit/xiangouID/selectActivityListForSelect',
        method: 'POST',
        url: '/DrawlineActivityRest/selectActivityListForSelect',
        params: [{
            name: "idName",
            type: 'String'
        }]
    }, {
        // 店铺列表
        route: '/ShopsRest/getShopsByName',
        method: 'POST',
        url: "/ShopsRest/selectCheckPassShopsByName",
        params: [{
            name: "idName",
            type: "String"
        }]
    }, {
        //获取JIT店铺
        route: '/goods/query/getJitSupplierByBrandld',
        method: 'POST',
        url: '/AgreementRest/getJitSupplierByBrandId',
        params: [{
            name: "brandId",
            type: "Number"
        }]
    }, {
        //查询品牌款型系列列表
        route: '/goods/brandSeries/queryAll4Select',
        method: 'POST',
        url: '/brandSeries/queryAll4Select',
        params: [{
            name: 'type',
            type: 'number'
        }, {
            name: 'status',
            type: 'number'
        }, {
            name: 'shopsId',
            type: 'number'
        }, {
            name: 'brandId',
            type: 'number'
        }]
    }, {
        //类目tree
        route: '/product/class/queryAllProductSortList',
        method: 'POST',
        url: '/product/class/queryAllProductSortList'
    }, {
        //商品管理【ajax查询所有品类】
        route: '/product/class/queryAllProductSortList',
        method: 'POST',
        url: '/product/queryAllMaxSortList',
    }, {
        //商品管理【根据ID ajax查询子品类列表】
        route: '/product/class/queryProductSortList',
        method: 'POST',
        url: '/product/queryProductSortList',
        params: [{
            name: 'param',
            type: 'Number'
        }]
    }

]