Kirin il y a 4 ans
Parent
commit
f5b3592749
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      crmeb/services/YLYService.php

+ 1 - 1
crmeb/services/YLYService.php

@@ -183,7 +183,7 @@ class YLYService extends HttpService implements ProviderInterface
      */
     public function setContent(string $name, array $orderInfo, array $product)
     {
-        $orderInfo['real_name'] = substr($orderInfo['real_name'], 0, 2) . "**";
+        $orderInfo['real_name'] = substr($orderInfo['real_name'], 0, 1) . "**";
         $orderInfo['user_phone'] = substr($orderInfo['user_phone'], 0, 3) . "****" . substr($orderInfo['user_phone'], 7);
         var_dump($orderInfo);
         exit;