GithubHelp home page GithubHelp logo

itemwatch's Introduction

拍品过期监听服务

描述:服务启动时读取所有未过期并正在处于拍卖状态的的拍品,并以id-sellerId的格式存入redis 的key-envents中,当时间过期后,redis回调将id-sellerId加入到MessageQueue共享队列中。

此时处于监听状态的MessageListener发现MessageQueue中有新数据,马上进行业务处理。

业务处理

描述:首先根据itemId去数据库中查询到目前竞价最高的竞价者信息;并将信息添加到订单信息表中。并修改item表的status为4。

之后系统发送邮件通知用户竞价成功,请尽快付款。

itemwatch's People

Contributors

yangmingsen avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.