|
@@ -153,7 +153,7 @@ class WechatService
|
|
|
public static function create($isApp = null)
|
|
public static function create($isApp = null)
|
|
|
{
|
|
{
|
|
|
// $config = self::getConfig($isApp);
|
|
// $config = self::getConfig($isApp);
|
|
|
-// @file_put_contents('quanju3.txt',json_encode($config)."-getConfig\r\n",8);
|
|
|
|
|
|
|
+ @file_put_contents('quanju3.txt',json_encode($config)."-getConfig\r\n",8);
|
|
|
return new self(self::getConfig($isApp));
|
|
return new self(self::getConfig($isApp));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -679,8 +679,10 @@ class WechatService
|
|
|
$jsService = $this->application->js;
|
|
$jsService = $this->application->js;
|
|
|
$jsService->setUrl($url);
|
|
$jsService->setUrl($url);
|
|
|
try {
|
|
try {
|
|
|
|
|
+ @file_put_contents('quanju3.txt',json_encode($jsService->config($apiList, false, false, false))."-微信测试3\r\n",8);
|
|
|
return $jsService->config($apiList, false, false, false);
|
|
return $jsService->config($apiList, false, false, false);
|
|
|
} catch (Exception $e) {
|
|
} catch (Exception $e) {
|
|
|
|
|
+ @file_put_contents('quanju3.txt',$e->getMessage()."-微信测试4\r\n",8);
|
|
|
Log::info('微信参数获取失败' . $e->getMessage());
|
|
Log::info('微信参数获取失败' . $e->getMessage());
|
|
|
return [];
|
|
return [];
|
|
|
}
|
|
}
|