e.prototype.createUID=function(){for(var e="",a="0123456789abcdef",o=0;8>o;o++)e+=a.charAt(Math.round(15*Math.random()));for(var o=0;3>o;o++){e+="-";for(var r=0;4>r;r++)e+=a.charAt(Math.round(15*Math.random()))}e+="-";var s=(new Date).getTime();e+=("000000000"+s.toString(16)).substr(-8);for(var o=0;4>o;o++)e+=a.charAt(Math.round(15*Math.random()));return t.__fuid=e,e}
这个JS转成PHP应该怎么办呀?
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-