Commit 44def18e authored by 刘小敏's avatar 刘小敏

切换为体验版

parent 0aaf4918
......@@ -174,8 +174,8 @@ class Wechat extends Common
$path = $this->payload['path'] ?? '';
list($page, $scene) = array_pad(explode('?', $path, 2), 2, '');
// 根据域名或配置动态选择环境版本
$envVersion = 'release';
// 根据域名或配置动态选择环境版本 develop/release/trial
$envVersion = 'trial';
// 缓存键:使用 scene 参数作为唯一标识,支持缓存不同场景的二维码
$cacheKey = 'wxacode_' . md5($scene . '_' . $envVersion);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment