Browse Source

Merge branch 'web_sannong_fr'

15313670163 3 tuần trước cách đây
mục cha
commit
eb44d5ba8f
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      app/JsonRpc/WebsiteService.php

+ 2 - 2
app/JsonRpc/WebsiteService.php

@@ -2153,8 +2153,8 @@ class WebsiteService implements WebsiteServiceInterface
                         'name' => $name,
                         'cid' => $id
                     ];
-                    if (!empty($item->name_pinyin)) {
-                        $result['path'] = "/{$item->name_pinyin}/";
+                    if (!empty($alias_pinyin)) {
+                        $result['path'] = "/{$alias_pinyin}/";
                     }
                     return $result;
                 })->values()->all();