|
@@ -2208,7 +2208,7 @@ class WebsiteService implements WebsiteServiceInterface
|
|
|
}
|
|
}
|
|
|
if (isset($data['pinyin']) &&!empty($data['pinyin'])) {
|
|
if (isset($data['pinyin']) &&!empty($data['pinyin'])) {
|
|
|
$result = WebsiteCategory::where('website_id',$data['website_id'])
|
|
$result = WebsiteCategory::where('website_id',$data['website_id'])
|
|
|
- ->where('path',$data['pinyin'])
|
|
|
|
|
|
|
+ ->where('aLIas_pinyin',$data['pinyin'])
|
|
|
// $result = WebsiteCategory::where('category_id', $category_id)
|
|
// $result = WebsiteCategory::where('category_id', $category_id)
|
|
|
// ->where('website_category.path', $data['pinyin'])
|
|
// ->where('website_category.path', $data['pinyin'])
|
|
|
// ->leftJoin('website_category as pc', function ($join) use ($data) {
|
|
// ->leftJoin('website_category as pc', function ($join) use ($data) {
|