瀏覽代碼

一些功能

Kirin 4 年之前
父節點
當前提交
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;