Skip to content

Commit

Permalink
屏蔽生成内部地址的逻辑
Browse files Browse the repository at this point in the history
  • Loading branch information
twinh committed Feb 1, 2018
1 parent f362822 commit b56b1a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Service/LinkTo.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,9 @@ public function getUrlWithDecorator(array $linkTo)
}

// 如果没有设置decorator,才生成带微信登录态的内部地址
if (!$linkTo['decorator']) {
$url = $this->generateInternalUrl($url);
}
// if (!$linkTo['decorator']) {
// $url = $this->generateInternalUrl($url);
// }

// 按需添加OAuth2.0验证
$url = $this->decorateUrl($url, $linkTo['decorator']);
Expand Down

0 comments on commit b56b1a7

Please sign in to comment.