Generating unique tracking numbers

前端 未结 5 1286
囚心锁ツ
囚心锁ツ 2021-01-01 06:43

I am building a small rails app and I need a way to generate tracking numbers to give to customers to check up on their status. I want something similar to what the major s

5条回答
  •  抹茶落季
    2021-01-01 07:12

    Why not use a hashmap to store the order information and provide the users with a decimal/hex representation of the ID? It's unique enough.

提交回复
热议问题