Merge branch 'feature/article' into develop
This commit is contained in:
@@ -33,7 +33,7 @@ class AdService extends BaseService
|
||||
'default' => function ($params) {
|
||||
return [
|
||||
'filters' => $params['filters'],
|
||||
'fields' => ['id', 'adp_id', 'type', 'img', 'price', 'status', 'sort', 'creater', 'created_at', 'updated_at'],
|
||||
'fields' => ['id', 'adp_id', 'type', 'img', 'href', 'price', 'status', 'sort', 'creater', 'created_at', 'updated_at'],
|
||||
'relations' => [
|
||||
'translation' => ['ad_id', 'alt', 'title'],
|
||||
],
|
||||
@@ -50,7 +50,7 @@ class AdService extends BaseService
|
||||
'show' => function ($params) {
|
||||
return [
|
||||
'filters' => $params['filters'],
|
||||
'fields' => ['id', 'adp_id', 'type', 'img', 'price', 'status', 'sort', 'creater', 'created_at', 'updated_at'],
|
||||
'fields' => ['id', 'adp_id', 'type', 'img', 'href', 'price', 'status', 'sort', 'creater', 'created_at', 'updated_at'],
|
||||
'relations' => [
|
||||
'translation' => ['ad_id', 'alt', 'title'],
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user