房间分享文案修改
This commit is contained in:
@@ -155,12 +155,12 @@ public class XChatConstants {
|
||||
/**
|
||||
* 分享房间文本
|
||||
*/
|
||||
public static final String SHARE_ROOM_TEXT = "带你走进Ta的房间——";
|
||||
public static final String SHARE_ROOM_TEXT = "免费报名,奖金高,比赛多";
|
||||
|
||||
/**
|
||||
* 分享房间标题
|
||||
*/
|
||||
public static final String SHARE_ROOM_TITLE = "听声音玩游戏交朋友,来音游";
|
||||
public static final String SHARE_ROOM_TITLE = "玩和平精英赢奖金";
|
||||
|
||||
/**
|
||||
* 分享房间 URL
|
||||
|
@@ -155,7 +155,7 @@ public class ShareModel extends BaseModel implements IShareModel {
|
||||
//无UI API
|
||||
if (userInfo != null && platform != null) {
|
||||
Platform.ShareParams sp = new Platform.ShareParams();
|
||||
sp.setText(userInfo.getNick() + XChatConstants.SHARE_ROOM_TEXT + title);
|
||||
sp.setText(XChatConstants.SHARE_ROOM_TEXT);
|
||||
sp.setTitle(XChatConstants.SHARE_ROOM_TITLE);
|
||||
sp.setImageUrl(userInfo.getAvatar());
|
||||
final String siteUrl = UriProvider.IM_SERVER_URL + XChatConstants.SHARE_ROOM_URL +
|
||||
@@ -165,7 +165,7 @@ public class ShareModel extends BaseModel implements IShareModel {
|
||||
URLEncoder.encode( UserModel.get().getCacheLoginUserInfo().getNick(), "utf8");
|
||||
//QQ空间分享
|
||||
|
||||
sp.setSite(userInfo.getNick() + XChatConstants.SHARE_ROOM_TEXT + title);
|
||||
sp.setSite(XChatConstants.SHARE_ROOM_TEXT);
|
||||
sp.setSiteUrl(siteUrl);
|
||||
//QQ分享
|
||||
sp.setTitleUrl(siteUrl);
|
||||
|
Reference in New Issue
Block a user