|
|
@ -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); |
|
|
|