会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
智昕
需要仿站,网站定制开发,APP开发,小程序开发,公众号等开发的可加QQ:114994783
博客园
首页
联系
管理
2016年7月21日
生成一个随机且唯一的订单号
摘要: //获取一个随机且唯一的订单号; function getordcode(){ $Ord=M('Orderlist'); $numbers = range (10,99); shuffle ($numbers); $code=array_slice($numbers,0,4); $ordcode=$code[0].$code[1].$code[2].$...
阅读全文
posted @ 2016-07-21 20:28 智昕
阅读(129)
评论(0)
推荐(0)
编辑