From 8cff1cd12ae9b295a85d04dc364a0af14716ace0 Mon Sep 17 00:00:00 2001 From: zhl Date: Wed, 16 Jun 2021 17:25:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=97=E9=93=BA=E4=BF=A1=E6=81=AF=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E5=A2=9E=E5=8A=A0=E8=BF=94=E5=9B=9E=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=88=86=E4=BA=AB=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/api.md | 6 +++++- src/models/shop/ShopGameExt.ts | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/api.md b/doc/api.md index 370ec13..a8c6630 100644 --- a/doc/api.md +++ b/doc/api.md @@ -23,6 +23,8 @@ 1. [获取店铺信息](#208) 增加返回字段 local, 用于表示是否使用本地数据 +### 20200616 +1 . [获取店铺信息](#208) 增加返回默认的分享图和分享语 @@ -376,7 +378,9 @@ "game_main_pic": "主页正中间图片", "bg_item_icon": "背景图案", "game_single_btn": "主页上单人赛按钮文字", - "game_multi_btn": "主页上多人赛按钮名字" + "game_multi_btn": "主页上多人赛按钮名字", + "default_share_pic":"默认分享图", + "default_share_txt": "默认分享语" } } ``` diff --git a/src/models/shop/ShopGameExt.ts b/src/models/shop/ShopGameExt.ts index 323a22d..9548d1d 100644 --- a/src/models/shop/ShopGameExt.ts +++ b/src/models/shop/ShopGameExt.ts @@ -27,6 +27,8 @@ export class ShopGameExtClass extends BaseModule { * game_main_pic: 主页正中间图片 * game_single_btn: 主页上单人赛按钮文字 * game_multi_btn: 主页上多人赛按钮名字 + * default_share_pic: 默认的分享图 + * default_share_txt: 默认的分享语 */ @prop({ type: mongoose.Schema.Types.Mixed }) public cfg: {}