Skip to content

Commit

Permalink
添加回Android的微信检测,发布0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
duansishu committed Dec 3, 2018
1 parent ea1ee94 commit 7553d91
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
14 changes: 7 additions & 7 deletions byr/assets/main.js
Expand Up @@ -25,14 +25,14 @@ function ios_click(){
}

function android_click(){
// if (is_weixin()) {
// _czc.push(['_trackEvent', 'Android', '微信提示']);
// TDAPP.onEvent("Android", '微信提示');
// $("#weixin-browser").html("选择「在浏览器中打开」")
// $("#bottom-modal").modal("show");
// } else {
if (is_weixin()) {
_czc.push(['_trackEvent', 'Android', '微信提示']);
TDAPP.onEvent("Android", '微信提示');
$("#weixin-browser").html("选择「在浏览器中打开」")
$("#bottom-modal").modal("show");
} else {
_czc.push(['_trackEvent', 'Android', '下载跳转']);
TDAPP.onEvent("Android", '下载跳转');
window.location.href="https://sj.qq.com/myapp/detail.htm?apkName=cn.byr.bbs.app"
// }
}
}
12 changes: 4 additions & 8 deletions byr/setting.json
@@ -1,10 +1,6 @@
{
"app_version_code": 600,
"app_version_name": "v0.6.0",
"app_update_info": "1. 增加文章的编辑和删除功能\n2. 支持了论坛开屏图\n3. 增加检查版本更新功能\n4. 错误修正和细节优化",
"app_download_url": "http://app.dss886.com/byr",
"config_board_version": 1,
"config_board_url": "http://app.dss886.com/byr/config_board.xml",
"welcome_cover": "default",
"use_byr_welcome_api": true
"app_version_code": 701,
"app_version_name": "v0.7.0",
"app_update_info": "1. 踩贴功能上线\n2. 优化了悄悄话版的回复体验\n3. 修复了微信公众号链接参数错误的问题\n4. 修复了一些可能导致崩溃的问题",
"app_download_url": "http://app.dss886.com/byr"
}

0 comments on commit 7553d91

Please sign in to comment.