Browse Source

一些功能

Kirin 4 years ago
parent
commit
357cc409c0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/models/store/StoreOrder.php

+ 1 - 1
app/models/store/StoreOrder.php

@@ -842,7 +842,7 @@ class StoreOrder extends BaseModel
         if ($openid = WechatUser::where('uid', $order['uid'])->value('routine_openid')) {
         if ($openid = WechatUser::where('uid', $order['uid'])->value('routine_openid')) {
             MiniProgramService::sendSubscribeTemlate($openid, 'utyQMQe5vfiJt1CA3-Q3JnGd2_dQ3mdyY0K44Gpaut4',
             MiniProgramService::sendSubscribeTemlate($openid, 'utyQMQe5vfiJt1CA3-Q3JnGd2_dQ3mdyY0K44Gpaut4',
                 [
                 [
-                    'thing2' => self::getSubstrUTf8(self::getProductTitle($order['cart_id'])),
+                    'thing2' => self::getSubstrUTf8(self::getProductTitle($order['cart_id']), 8),
                     'amount3' => $order['total_price'],
                     'amount3' => $order['total_price'],
                     'number4' => $order['total_num'],
                     'number4' => $order['total_num'],
                     'thing6' => $order['pay_price'],
                     'thing6' => $order['pay_price'],