common.select.js 9.15 KB
module.exports={
    namespace:"select",
    apis:{
        getSupplierListByIdName:{
            title:'getSupplierListByIdName',
            url: '/supplier/supplier/getSupplierListByIdName',
            params: [
                {name: "idName", type: "String", default: 1}
            ]
        },
        getBrandNames:{
            title:'getBrandNames',
            url: '/erpproduct/brands/getBrandNames',
            params: {
                idName:{type:String},
                status:{type:Number},
                userLimitFlag:{type:Boolean,default:false}
            }
        },
        getUsersByIdentity:{
            title:'',
            url: "/ShopsAdminRest/getUsersByIdentity",
            params: [
                {name: "identity", type: "Number"},
                {name: "shopsId", type: "Number"}
            ]
        },
        getAllStandardSortBySortIdForSelect:{
            title:'',
            url: "/standardSort/getAllStandardSortBySortIdForSelect",
            params: [
                {name: "sortId", type: "Number"}
            ]
        },
        querySizeAttributesByName:{
            title:'',
            url: '/product/querySizeAttributesByName',
            params: [
                {name: "idName", type: "String"},
                {name: "sortId", type: "Number"}
            ]
        },
        querySizeListBySortId4Html:{
            title:'',
            url: '/product/querySizeListBySortId4Html',
            params: [
                {name: "idName", type: "String"},
                {name: "sortId", type: "Number"}
            ]
        },
        querySizeListBySkn:{
            title:'',
            url: '/product/querySizeListBySkn',
            params: [
                {name: "idName", type: "String"},
                {name: "productSkn", type: "Number"}
            ]
        },
        querySizeByNameForSelect:{
            title:'尺码模糊查询【验证通过】',
            url: '/product/querySizeByNameForSelect',
            params: [
                {name: "idName", type: "String"},
                {name: "sortId", type: "Number"}
            ]
        },
        queryAllBrands:{
            title:'查询品牌列表接口',
            url: '/erpproduct/brands/queryAllBrands',
            params: {
                idName:{type:String},
                userLimitFlag:{type:Boolean,default:false}
            }
        },
        queryAllSupplier:{
            title:'查询供应商列表接口',
            url: '/supplier/supplier/queryAllSupplier',
            params: [
                {name: 'idName', type: 'String'}
            ]
        },
        queryMaxSortByName:{
            title:'查询一级类目列表接口',
            url: '/product/queryMaxSortByName',
            params: [
                {name: 'idName', type: 'String'}
            ]
        },
        queryAllShops:{
            title:'查询店铺列表接口',
            url: '/ShopsRest/queryAllShops',
            params: [
                {name: 'idName', type: 'String'}
            ]
        },
        selectCheckPassShopsByName:{
            title:'查询通过审核店铺列表接口',
            url: '/ShopsRest/selectCheckPassShopsByName',
            params: [
                {name: 'idName', type: 'String'}
            ]
        },
        selectAllCouponShops:{
            title:'查询优惠券店铺列表接口',
            url: '/ShopsRest/selectAllCouponShops',
            params: [
                {name: 'idName', type: 'String'}
            ]
        },
        selectShopsByName:{
            title: '店铺创建、店铺信息管理、店铺审核管理页面,下拉选择店铺名称,列表筛选',
            url: '/ShopsRest/selectShopsByName',
            params: [
                {name: 'idName', type: 'String'},
                {name: 'operationStatus', type: 'Number'},
                {name: 'checkStatus', type: 'Number'},
                {name: 'checkStatusArr', type: 'String'}
            ]
        },
        queryShopsByBrandId:{
            title:'根据品牌查询店铺',
            url: '/ShopsRest/queryShopsByBrandId',
            params: [
                {name: 'idName', type: 'String'},
                {name: 'brandId', type: 'Number'}
            ]
        },
        selectActivityListForSelect:{
            title:'模糊查询',
            url: '/DrawlineActivityRest/selectActivityListForSelect',
            params: [
                {name: "idName", type: 'String'}
            ]
        },
        getJitSupplierByBrandId:{
            title:'获取JIT店铺',
            url:'/AgreementRest/getJitSupplierByBrandId',
            params:[
                {name:"brandId",type:"Number"},
                {name:"shopId",type:"Number"}
            ]
        },
        getSortList:{
            title:'',
            url: '/guang/article/getSortList',
            params: [
                {name: "parentId", type: "Number"},
                {name:"appType",type:"Number"}
            ]
        },
        getAllDepartment:{
            title:'查询部门',
            url: '/coupon/getAllDepartment'
        },
        queryList:{
            title:'发券搜索',
            url: '/coupon/queryList',
            params: [
                {name: 'idName', type: 'String'},
                {name:"size", type:"Number"}
            ]
        },
        getAllAppVersions:{
            title:'获取所有APP版本号列表',
            url: '/suggest/suggest/getAllAppVersions',
            params: [
                {name: 'idName', type: 'String'}
            ]
        },
        findAllReplyInfo:{
            title:'获取所有回复人',
            url: '/suggest/suggest/findAllReplyInfo',
            params: [
                {name: 'idName', type: 'String'}
            ]
        },
        querySortBySmallSort:{
            title:'类目',
            url: '/product/querySortBySmallSort',
            params: [
                {name: "brandId", type: "Number"},
                {name: "sortId", type: "Number"},
                {name: "supplierId", type: "Number"},
                {name: "shopId", type: "Number"},
                {name: "sellType", type: "Number"}
            ]
        },
        queryAllMaxSortList:{
            title:'商品管理【ajax查询所有品类】',
            url:"/product/queryAllMaxSortList"
        },
        selectAllMaxSort: {
            title: '查询一级物理类目列表',
            url: '/product/selectAllMaxSort'
        },
        queryProductSortList:{
            title:'商品管理【根据ID ajax查询子品类列表】',
            url: '/product/queryProductSortList',
            params: [
                {name: 'param', type: 'Number'}
            ]
        },
        queryPSNotTreeWhenLevelAndStatus:{
            title:'物理类目父类查询',
            url:'/product/queryPSNotTreeWhenLevelAndStatus',
            params: [
                {name: 'status',type: 'string'},
                {name: 'sortLevel',type: 'string'}
            ]
        },
        queryPSListByParentIdWhenStatus:{
            title:'物理类目子类查询',
            url: '/product/queryPSListByParentIdWhenStatus',
            params: [
                {name: 'param',type: 'number'}
            ]
        },
        queryRefundExchangeProductSkn:{
            title:'查询所有ProductSkn和模糊匹配查询ProductSkn',
            url: '/refundExchangeAttribute/queryRefundExchangeProductSkn',
            params: [
                {name: 'idName',type: 'String'}
            ]
        },
        fuzzySearchProductSortIds:{
            title:'品类ID',
            url: '/product/fuzzySearchProductSortIds',
            params: [
                {name: 'idName',type: 'String'}
            ]
        },
        searchAllSortLevel:{
            title:'所属分类',
            url: '/product/searchAllSortLevel',
            params: []
        },
        queryPayDeliveryBrandName:{
            title:'获取品牌列表',
            url: '/payDelivery/queryPayDeliveryBrandName',
            params:{
                idName:{type:String},
                userLimitFlag:{type:Boolean,default:false}
            } 
        },
         queryUserProfileByRole:{
            title:'根据角色获取用户信息',
            url: '/profile/queryUserProfileByRole',
            params: {
                roleId:{type:Number}
            }
        },
         queryModelListForSelect:{
            title:'获取模特名字',
            url: '/model/queryModelListForSelect',
            params: {
                idName:{type:String}
            }
        },
        queryProdSizeListForSel:{
            title:'获取商品尺寸',
            url: '/productSize/queryProdSizeListForSel',
            params: {
               productSkn:{type:Number}
            }
        },
        getAllBrandNameList:{
            title:'查询品牌列表接口(不校验品牌权限)',
            url: '/erpproduct/brands/getAllBrandNameList',
            params: {
                idName:{type:String}
            }
        },
        queryShopsBrandsByStatus:{
            title:'从前台表获取开启品牌列表',
            url: '/erpproduct/brands/queryShopsBrandsByStatus',
            params: {

            }
        }
    }
};