Skip to content

Commit

Permalink
[代码优化](master): 去掉调试代码
Browse files Browse the repository at this point in the history
  • Loading branch information
maxincai committed Aug 31, 2021
1 parent bdd1fdf commit 1b1d6aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function handle(array $corpIds): array
$this->logger->error('WorkDepartmentSynLogic->handle同步部门corp不能为空');
return [];
}
dump($corpData);

foreach ($corpData as $corpId => $cdv) {
$wxDepartment = $this->client->provider('user')->app($cdv)->department->list();
if (empty($wxDepartment['errcode']) && $wxDepartment['department']) {
Expand Down
2 changes: 2 additions & 0 deletions api-server/app/core/work-message/src/Constants/MsgType.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,5 +195,7 @@ class MsgType extends AbstractConstants
'mixed' => self::MIXED,
'meeting_voice_call' => self::MEETING_VOICE_CALL,
'voip_doc_share' => self::VOIP_DOC_SHARE,
'external_redpacket' => self::EXTERNAL_REDPACKET,
'sphfeed' => self::SPHFEED,
];
}

0 comments on commit 1b1d6aa

Please sign in to comment.