ai地址动态

This commit is contained in:
meimei
2025-04-21 17:24:32 +08:00
parent 5eec69b7ea
commit 702953a91e
5 changed files with 20 additions and 9 deletions

View File

@@ -37,7 +37,7 @@ class BaseWechatLogic
if(empty($this->base_url)){
throw new \Exception('请先设置ai客服配置');
}
$tokenArr = (new TokenWechatLogic())->getToken();
$tokenArr = (new TokenWechatLogic())->getToken($this->base_url);
$postdata['appId'] = $tokenArr['appId'];
$domain = $this->base_url;
$timeout = 4;