mirror of
https://github.com/yunluo/gdk.git
synced 2024-06-20 06:25:13 +02:00
f1x
This commit is contained in:
parent
240e6d12f9
commit
e9f5b04cec
|
@ -1132,7 +1132,7 @@ function login_modal(){
|
|||
|
||||
/**开始微信* */
|
||||
//生成随机字符
|
||||
//sk是12位随机字符, key是域名@sk
|
||||
//sk是12位随机字符, key格式是域名@sk
|
||||
function gdk_weauth_token(){
|
||||
$strs = 'QWERTYUIOPASDFGHJKLZXCVBNM1234567890qwertyuiopasdfghjklzxcvbnm';
|
||||
$sk = substr(str_shuffle($strs),mt_rand(0,strlen($strs)-11),12);//12位
|
||||
|
|
Loading…
Reference in a new issue