diff --git a/app/Endpoint/Api/Http/Resources/ShareBgResource.php b/app/Endpoint/Api/Http/Resources/ShareBgResource.php index 6a02aa38..4aff5bb8 100644 --- a/app/Endpoint/Api/Http/Resources/ShareBgResource.php +++ b/app/Endpoint/Api/Http/Resources/ShareBgResource.php @@ -16,6 +16,7 @@ class ShareBgResource extends JsonResource { return [ 'image' => $this->image, + 'remark' => $this->remark, 'x' =>$this->x, 'y' =>$this->y, ]; diff --git a/resources/lang/zh_CN/share-bg.php b/resources/lang/zh_CN/share-bg.php index 6baf0894..560597dc 100644 --- a/resources/lang/zh_CN/share-bg.php +++ b/resources/lang/zh_CN/share-bg.php @@ -3,7 +3,7 @@ return [ 'labels' => [ 'ShareBg' => '分享背景', - 'share-bg' => '分享背景', + 'share-bgs' => '分享背景', ], 'fields' => [ 'image' => '背景图',