shootMeter.index.js 5.91 KB
/**
 * Created by yoho on 2016/6/20.
 * 拍摄复尺 接口定义
 */

module.exports = {
    namespace: "shootMeter",
    apis: {
        /*************************************模特管理*************************************/
        queryModelList: {
            title: "获取所有模特数据",
            url: "/model/queryModelList",
            params: {
                englishName: {type: String},
                modelName: {type: String},
                status: {type: Number},
                modelType: {type: Number},
                page: {type: Number},
                size: {type: Number}
            }
        },

        addModel: {
            title: "新增模特",
            url: "/model/addModel",
            params: {
                englishName: {type: String},
                height: {type: Number},
                dressSize: {type: String},
                modelName: {type: String},
                modelType: {type: Number},
                nationality: {type: String},
                status: {type: Number},
                shoeSize: {type: String},
                vitalStatistics: {type: String},
                weight: {type: Number},
                avatar: {type: String},
                modelCard: {type: String}
            }
        },

        updateModel: {
            title: "编辑模特",
            url: "/model/updateModel",
            params: {
                id: {type: Number},
                englishName: {type: String},
                height: {type: Number},
                dressSize: {type: String},
                modelName: {type: String},
                modelType: {type: Number},
                nationality: {type: String},
                status: {type: Number},
                shoeSize: {type: String},
                vitalStatistics: {type: String},
                weight: {type: Number},
                avatar: {type: String},
                modelCard: {type: String}
            }
        },

        delModel: {
            title: "删除模特",
            url: "/model/delModel",
            params: {
                id: {type: Number}
            }
        },

        /*************************************尺码测量管理*************************************/

        queryProdSizeList: {
            title: "获取所有尺码测量数据",
            url: "/productSize/queryProdSizeList",
            params: {
                page: {type: Number},
                productSkn: {type: Number},
                brandId: {type: Number},
                productSku: {type: Number},
                maxSortId: {type: Number},
                arriveStartTime: {type: Number},
                arriveEndTime: {type: Number},
                isMeasure: {type: String}
            }
        },

        saveProdSizeInfo: {
            title: "保存尺码测量数据",
            url: "/productSize/saveProdSizeInfo",
            params: {
                productSkn: {type: Number},
                sizeInfoList: {type: String},
                productSizeReferList: {type: String},
                noMeasureIds: {type: String}
            }
        },

        getSelectItems: {
            title: "获取品牌选项",
            url: "/brand/getSelectItems",
            params: {}
        },

        /*************************************试穿信息管理*************************************/

        queryProdExtraList: {
            title: "获取所有试穿数据",
            url: "/productExtraInfo/queryProdExtraList",
            params: {
                page: {type: Number},
                size: {type: Number},
                productSkn: {type: Number},
                productSku: {type: Number},
                productName: {type: String}
            }
        },

        queryProdExtraInfo: {
            title: "获取单个skn对应的试穿信息",
            url: "/productExtraInfo/queryProdExtraInfo",
            params: {
                productSkn: {type: Number}
            }
        },

        saveProdExtraInfo: {
            title: "添加试穿信息",
            url: "/productExtraInfo/saveProdExtraInfo",
            params: {
                productSkn: {type: Number},
                productModelTry: {type: String}
            }
        },

        /*************************************拍摄要求管理*************************************/

        queryShootRequireList: {
            title: "获取所有拍摄要求数据",
            url: "/shootRequire/queryShootRequireList",
            params: {
                page: {type: Number},
                size: {type: Number},
                type: {type: Number},
                status: {type: Number}
            }
        },

        saveShootRequire: {
            title: "保存,修改,删除拍摄要求",
            url: "/shootRequire/saveShootRequire",
            params: {
                id: {type: Number},
                type: {type: Number},
                status: {type: Number},
                name: {type: String}
            }
        },
        /************************************产品图片管理*************************************/
        queryProductPhotoList: {
            title: "产品图片数据列表",
            url: "/productPhoto/queryProductPhotoList",
            params: {
                page: {type: Number},
                size: {type: Number},
                productSkn: {type: Number},
                productSku: {type: Number},
                productSkc: {type: Number},
                startTime: {type: Number},
                endTime: {type: Number}
            }
        },
        addProductBatchPhoto: {
            title: "添加产品图片",
            url: "/productPhoto/addProductBatchPhoto",
            params: {
                productSkn: {type: Number},
                productSku: {type: Number},
                productSkc: {type: Number},
                ids: {type: String},
                productPhotoAddStrList: {type: String}
            }
        }
    }
};