ayjzza
V2EX  ›  问与答

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

  •  
  •   ayjzza · May 22, 2015 · 2178 views
    This topic created in 4018 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   ·   1154 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 23:38 · PVG 07:38 · LAX 16:38 · JFK 19:38
    ♥ Do have faith in what you're doing.