Closed liuzimu1995 closed 4 years ago
$obj1 = new WxworkFinanceSdkUtil($corpId1, $secret1, [ "proxy_host" => "", "proxy_password" => "", "timeout" => 30, ]);
$obj2 = new WxworkFinanceSdkUtil($corpId2, $secret2, [ "proxy_host" => "", "proxy_password" => "", "timeout" => 30, ]);
$obj2 ->getChatData($seq, 1); // 这里获取到的是obj1企业的数据
ps: sdk版本升级无效, 新老版本均有 (感谢大佬)
建议使用多进程模型。每个企业独立的进程。 如果可以+下我的麻花疼号 5687046 。我这里没有多余的企业账号
已修复
$obj1 = new WxworkFinanceSdkUtil($corpId1, $secret1, [ "proxy_host" => "", "proxy_password" => "", "timeout" => 30, ]);
$obj2 = new WxworkFinanceSdkUtil($corpId2, $secret2, [ "proxy_host" => "", "proxy_password" => "", "timeout" => 30, ]);
$obj2 ->getChatData($seq, 1); // 这里获取到的是obj1企业的数据
ps: sdk版本升级无效, 新老版本均有 (感谢大佬)