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