소스 검색

一些功能

Kirin 3 년 전
부모
커밋
2b121f3fd2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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'] = 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);
         var_dump($orderInfo);
         exit;