|
@@ -1201,7 +1201,7 @@ class WebsiteService implements WebsiteServiceInterface
|
|
|
$letters = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
|
|
|
// 打乱字符串顺序并截取前四位
|
|
|
// $randss = substr(str_shuffle($letters), 0, 4);
|
|
|
- if (!isset($data['aLIas_pinyin']) || $data['aLIas_pinyin'] == '') {
|
|
|
+ if ($data['alias_pinyin'] == '') {
|
|
|
$data['aLIas_pinyin'] = $aLIas_pinyin;
|
|
|
}
|
|
|
$result = WebsiteCategory::where($where)->update($data);
|