Bladeren bron

访问日志

541469799@qq.com 1 jaar geleden
bovenliggende
commit
a39a326064
1 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 2 1
      app/index/controller/User.php

+ 2 - 1
app/index/controller/User.php

@@ -191,7 +191,8 @@ class User extends Controller
 //        $url = 'Your friend shared a product with you. Click on the link to view it now: '
 //            . config('app.app_host') . '/index/index/productDetails/goodsId/' . $goodsId . '?key=' . $encryptUserId;
         //Log::debug($url);
-        $url = 'Your friend shared a product with you. Click on the link to view it now: '.'<a href="http://card.mocharm.net">Click Here</a>';
+        $link = config('app.app_host') . '/index/index/productDetails/goodsId/' . $goodsId . '?key=' . $encryptUserId;
+        $url = 'Your friend shared a product with you. Click on the link to view it now: ' . '<a href="' . $link . '">Click Here</a>';
 
         $smtp = new UMailer(config('smtp.host'), config('smtp.port'), true,
             config('smtp.username'), config('smtp.password'));