修改代金券编码规则

dev
曾超新 5 years ago
parent 51fe000a89
commit 6b31185422
  1. 2
      frontend/controllers/InsurerController.php

@ -3564,7 +3564,7 @@ class InsurerController extends BaseController
//礼券 //礼券
if ($gift_info && $gift_info->type_id == 2) { if ($gift_info && $gift_info->type_id == 2) {
$pinyin_arr = explode(' ', $gift_info->pinyin_name); $pinyin_arr = explode(' ', $gift_info->pinyin_name);
$liquan_str = 'ch'; $liquan_str = 'wf';
//获取礼券拼音首字母 //获取礼券拼音首字母
foreach ($pinyin_arr as $first) { foreach ($pinyin_arr as $first) {
$liquan_str .= substr($first, 0, 1); $liquan_str .= substr($first, 0, 1);

Loading…
Cancel
Save