mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update WechatService.php
This commit is contained in:
parent
c2ad6826a7
commit
487ad85b38
@ -130,7 +130,7 @@ class WechatService extends \We
|
||||
} else {
|
||||
throw new \think\Exception("Class {$class} not found");
|
||||
}
|
||||
}
|
||||
} else {
|
||||
set_time_limit(3600);
|
||||
list($appid, $appkey) = [sysconf('wechat_thr_appid'), sysconf('wechat_thr_appkey')];
|
||||
$token = strtolower("{$name}-{$appid}-{$appkey}-{$type}");
|
||||
@ -143,6 +143,7 @@ class WechatService extends \We
|
||||
throw new \think\Exception("Yar or Soap extensions are not installed.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取微信网页JSSDK
|
||||
|
Loading…
x
Reference in New Issue
Block a user