pangdahua / php7-wxwork-finance-sdk

PHP企业微信会话存档扩展
Apache License 2.0
173 stars 45 forks source link

同时给多家企业拉取的时候,在php中new sdk class,结果返回是上一个实例的会话存档拉取结果 #14

Closed liuzimu1995 closed 4 years ago

liuzimu1995 commented 4 years ago
  1. $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版本升级无效, image 新老版本均有 (感谢大佬)

pangdahua commented 4 years ago

建议使用多进程模型。每个企业独立的进程。 如果可以+下我的麻花疼号 5687046 。我这里没有多余的企业账号

pangdahua commented 4 years ago

已修复