广告
This commit is contained in:
@@ -33,7 +33,7 @@ class AdService extends BaseService
|
|||||||
'default' => function ($params) {
|
'default' => function ($params) {
|
||||||
return [
|
return [
|
||||||
'filters' => $params['filters'],
|
'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' => [
|
'relations' => [
|
||||||
'translation' => ['ad_id', 'alt', 'title'],
|
'translation' => ['ad_id', 'alt', 'title'],
|
||||||
],
|
],
|
||||||
@@ -50,7 +50,7 @@ class AdService extends BaseService
|
|||||||
'show' => function ($params) {
|
'show' => function ($params) {
|
||||||
return [
|
return [
|
||||||
'filters' => $params['filters'],
|
'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' => [
|
'relations' => [
|
||||||
'translation' => ['ad_id', 'alt', 'title'],
|
'translation' => ['ad_id', 'alt', 'title'],
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user