PHP随机生成一个8位的纯数字编号
2022-07-28 15:09:43
120
{{single.collect_count}}
//随机生成8位数字function nonceStr() {static $seed = array(0,1,2,3,4,5,6,7,8,9);$str = '';for($i=0;$i<8;$i++) {$rand = rand(0,count($seed)-1);$temp = $seed[$rand];$str .= $temp;unset($seed[$rand]);$seed = array_values($seed);}return $str;}
回帖
全部回帖({{commentCount}})
{{item.user.nickname}} {{item.user.group_title}} {{item.friend_time}}
{{item.content}}
{{item.comment_content_show ? '取消' : '回复'}} 删除
回帖
{{reply.user.nickname}} {{reply.user.group_title}} {{reply.friend_time}}
{{reply.content}}
{{reply.comment_content_show ? '取消' : '回复'}} 删除
回帖
收起
没有更多啦~
{{commentLoading ? '加载中...' : '查看更多评论'}}