Tags give the ability to mark specific points in history as being important
  • 6543ab82 · Update 线下店商品.md ·
  • 2b79d218 · update ·

    REST API

    请求参数

    参数名称 参数类型 可否为空 示例 默认值 备注
    sku int 6456456 null sku
    opTime int 1394399494 null 操作时间
    opUser string 1 null 操作人 操作人为系统自动时:系统自动
    opQty int 1 null 操作数量
    operationTypeEnum enum enum null 操作类型枚举
    mark string MessageFormat.format(operationTypeEnum.getFormat(),"一","二","三","四","五") null

    注意,通用的头部没有列出。 请求示例 http://192.168.102.210:8080/shops/SkuOperationRest/put.do

    MQ

    请求示例

    SkuOperationBO bo = new SkuOperationBO();

    SkuOperationTypeEnum typeEnum = SkuOperationTypeEnum.DEFECTIVE_GOODS_PICK;

    bo.setMark(MessageFormat.format(typeEnum.getFormat(),"一","二","三","四","五"));

    bo.setOperationTypeEnum(typeEnum);

    bo.setOpQty(1);

    bo.setOpTime(DateUtil.getCurrentTimeSeconds());

    bo.setOpUser("test");

    bo.setSku(654654);

    yhProducerTemplate.send("offline:sku_operation",bo);