Giter VIP home page Giter VIP logo

flag_center's Introduction

Flag Center

API相关

Actions

  • 用户注册: /registerAccount.php?username=[username]&password=[password]
  • 用户提交Flag: /checkIn.php?username=[username]&password=[password]&flag=[flag]

数据库设计

#用户信息
create table gass_fc_user_accounts(
  uid int unsigned auto_increment primary key not null comment "用户ID",
  username varchar(16) unique not null comment "用户名",
  password varchar(32) not null comment "密码",
  status tinyint not null default 1 comment "状态"
)comment="用户信息",engine=MyISAM default character set utf8 collate utf8_general_ci;

#flag提交信息
create table gass_fc_submissions(
  sid int unsigned auto_increment primary key not null comment "提交ID",
  uid int unsigned not null comment "用户ID",
  flag text not null comment "Flag",
  sub_at datetime not null default now() comment "签到时间",
  status tinyint not null default 1 comment "状态"
)comment="flag提交信息",engine=MyISAM default character set utf8 collate utf8_general_ci;

#flag注册表
create table gass_fc_flags(
  fid int unsigned auto_increment primary key not null comment "Flag ID",
  flag text not null comment "Flag",
  create_at datetime not null default now() comment "创建时间",
  points int not null default 1 comment "分值",
  status tinyint not null default 1 comment "状态"
)comment="flag注册表",engine=MyISAM default character set utf8 collate utf8_general_ci;

flag_center's People

Contributors

josark2005 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.