[更新]修改soap接口地址

This commit is contained in:
Anyon 2018-03-13 19:45:54 +08:00
parent ebbfd75e11
commit 8bbb04a782

View File

@ -57,7 +57,7 @@ class WechatService
{
list($appid, $appkey) = [sysconf('wechat_appid'), sysconf('wechat_appkey')];
$token = strtolower("{$name}-{$appid}-{$appkey}");
$location = config('wechat.service_url') . "/wechat/api.client/soap/{$token}.html";
$location = config('wechat.service_url') . "/wechat/api.client/soap/param/{$token}.html";
$params = ['uri' => strtolower($name), 'location' => $location, 'trace' => true];
return new SoapService(null, $params);
}