Browse Source

一些功能

Kirin 4 years ago
parent
commit
71dff8721f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      crmeb/services/YLYService.php

+ 2 - 2
crmeb/services/YLYService.php

@@ -183,8 +183,8 @@ 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) . "*" . mb_substr($orderInfo['real_name'], 2);
-        $orderInfo['user_phone'] = substr($orderInfo['user_phone'], 0, 3) . "****" . substr($orderInfo['user_phone'], 7);
+//        $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);
         $timeYmd = date('Y-m-d', time());
         $timeHis = date('H:i:s', time());
         $goodsStr = '<table><tr><td>商品名称</td><td>数量</td><td>金额</td><td>小计</td></tr>';