Jelajahi Sumber

一些功能

Kirin 4 tahun lalu
induk
melakukan
2b121f3fd2
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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)
     public function setContent(string $name, array $orderInfo, array $product)
     {
     {
-        $orderInfo['real_name'] = mb_substr($orderInfo['real_name'], 0, 1) . "**";
+        $orderInfo['real_name'] = mb_substr($orderInfo['real_name'], 0, 1) . "*" . mb_substr($orderInfo['real_name'], 2);
         $orderInfo['user_phone'] = substr($orderInfo['user_phone'], 0, 3) . "****" . substr($orderInfo['user_phone'], 7);
         $orderInfo['user_phone'] = substr($orderInfo['user_phone'], 0, 3) . "****" . substr($orderInfo['user_phone'], 7);
         var_dump($orderInfo);
         var_dump($orderInfo);
         exit;
         exit;