mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]修改soap接口地址
This commit is contained in:
parent
ebbfd75e11
commit
8bbb04a782
@ -57,7 +57,7 @@ class WechatService
|
|||||||
{
|
{
|
||||||
list($appid, $appkey) = [sysconf('wechat_appid'), sysconf('wechat_appkey')];
|
list($appid, $appkey) = [sysconf('wechat_appid'), sysconf('wechat_appkey')];
|
||||||
$token = strtolower("{$name}-{$appid}-{$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];
|
$params = ['uri' => strtolower($name), 'location' => $location, 'trace' => true];
|
||||||
return new SoapService(null, $params);
|
return new SoapService(null, $params);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user