Giter Club home page Giter Club logo

lottery-service's Introduction

lottery-service

用户功能

  • 注册
  • 登录
  • 鉴权

抽奖功能

  • 抽奖
  • 消息推送

表设计

用户表(user)

fields type
oid VARCHAR(36)
name VARCHAR(36)
password VARCHAR(18)
avatar VARCHAR(72)
gold_coin_num INT
is_admin TINYINT(1)
create_time DATETIME
last_sign_in_time DATETIME

奖品表(prize)

fields type
oid VARCHAR(36)
name VARCHAR(36)
number INT
pic VARCHAR(72)
probability DOUBLE
type TINYINT(1)
is_active TINYINT(1)
place_index TINYINT(1)

获奖记录表(award_record)

fields type
oid VARCHAR(36)
user_oid VARCHAR(36)
user_name VARCHAR(36)
prize_oid VARCHAR(36)
prize_name VARCHAR(36)
create_time DATETIME

TODO

  • 生成用户 Token
  • 优化创建目录方式
  • 签到功能
  • 更换头像
  • 生成随机头像
  • 消息推送
  • 抽奖逻辑
  • 奖品管理
  • 注册、登录
  • 用户管理
  • 表设计

lottery-service's People

Contributors

zyuandong avatar

Watchers

 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.