Kirin 3 år sedan
förälder
incheckning
f5b3592749
1 ändrade filer med 1 tillägg och 1 borttagningar
  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;