ayjzza
V2EX  ›  问与答

请问这样的短网址是怎么生成的(非传统形式.)

  •  
  •   ayjzza · May 22, 2015 · 2197 views
    This topic created in 4036 days ago, the information mentioned may be changed or developed.

    在这http://nh.gs/

    我连续生成网址得到
    http://nh.gs/4hm
    http://nh.gs/con

    base62后
    4hm => 16452
    con => 47639

    传统的都是生成5到6位的,这个应该是自增的,但是为什么连续生成的经过base62后数值却差这么多,按理是连续的,是怎么做的

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   925 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 20:26 · PVG 04:26 · LAX 13:26 · JFK 16:26
    ♥ Do have faith in what you're doing.