|
@@ -53,7 +53,9 @@ class OpenCorpidGet extends Command
|
53
|
53
|
$data = CorpAuthService::getOpenCorpid($corpid, $this->suiteId, $this->suiteSecret);
|
54
|
54
|
$openCorpid = $data['open_corpid'] ?? '';
|
55
|
55
|
if((isset($data['errcode']) && $data['errcode']) || !$openCorpid) { // 响应异常
|
56
|
|
- EmailQueue::rPush('更新企微的加密corpid错误', $data['errmsg'] ?? '未知', ['xiaohua.hou@kuxuan-inc.com'], '猎羽');
|
|
56
|
+ if(!in_array($data['errcode'], [2000002, 48001])) {
|
|
57
|
+ EmailQueue::rPush('更新企微的加密corpid错误', $data['errmsg'] ?? '未知', ['xiaohua.hou@kuxuan-inc.com'], '猎羽');
|
|
58
|
+ }
|
57
|
59
|
Log::logError('更新企微的加密corpid错误', [
|
58
|
60
|
'param' => $info,
|
59
|
61
|
'response' => $data
|