Closed hezhongfeng closed 8 years ago
http://forum.webfullstack.me/topic/56c98798281f156c24da4430 上面是一个主题的网址,请问topic后面的应该是这个模型的ID吧 请问是怎么做的 我自己是那种1、2、3.。。。。。。。。。 这样的,感觉很蠢。 但是要保证这个iD不重复,是怎么做的呢? 是先生成随机的数,然后去数据库里比对有重复的吗?
http://forum.webfullstack.me/topic/56c98798281f156c24da4430
对不起 点错连接了~
http://forum.webfullstack.me/topic/56c98798281f156c24da4430
上面是一个主题的网址,请问topic后面的应该是这个模型的ID吧 请问是怎么做的 我自己是那种1、2、3.。。。。。。。。。 这样的,感觉很蠢。 但是要保证这个iD不重复,是怎么做的呢? 是先生成随机的数,然后去数据库里比对有重复的吗?