• 请不要在回答技术问题时复制粘贴 AI 生成的内容
zhenbo
V2EX  ›  程序员

每日签到功能数据库怎么设计

  •  
  •   zhenbo · Mar 29, 2018 · 3606 views
    This topic created in 2972 days ago, the information mentioned may be changed or developed.
    新手一枚,要做个每日签到得积分的功能,数据库该怎么设计,求思路
    coooold
        1
    coooold  
       Mar 29, 2018
    一个用户一年 46 字节字符串,按位存储每日签到信息
    yidinghe
        2
    yidinghe  
       Mar 29, 2018
    楼主描述的太模糊了,首先要搞清楚记录哪些信息,是否记录签到时间,是否记录签到入口,是否记录签到时的用户 IP 地址等等。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   965 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 21:36 · PVG 05:36 · LAX 14:36 · JFK 17:36
    ♥ Do have faith in what you're doing.