ayjzza
V2EX  ›  问与答

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

  •  
  •   ayjzza · May 22, 2015 · 2179 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   ·   2913 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 09:43 · PVG 17:43 · LAX 02:43 · JFK 05:43
    ♥ Do have faith in what you're doing.