common_select.js 4.39 KB
exports.domain =require('../config/common.js').domain;
//exports.domain ='http://172.16.6.250:8081/platform';//庞洁

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: '/goods/query/supplier',
        method: 'POST',
        url: '/supplier/supplier/queryAllSupplier',
        params: [{
            name: 'idName',
            type: 'String'
        }]
    }, {
        //查询一级类目列表接口
        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:'/ajax/guang/article/getSortList',
        method:'POST',
        url:'/guang/article/getSortList',
        params:[
            {name:"parentId",type:"Number"}
        ]
    }
    //发券搜索
    ,{
        route:'/coupon/queryList',
        method:'POST',
        url:'/coupon/queryList',
        params: [{
            name: 'idName',
            type: 'String'
        }]
    }
];