Merge remote-tracking branch 'origin/master' into release/5.0.0
Showing
4 changed files
with
6 additions
and
3 deletions
@@ -29,12 +29,11 @@ exports.index = (req, res, next) => { | @@ -29,12 +29,11 @@ exports.index = (req, res, next) => { | ||
29 | exports.main = (req, res, next) => { | 29 | exports.main = (req, res, next) => { |
30 | const isReplay = /^\/live\/replay\//.test(req.path); | 30 | const isReplay = /^\/live\/replay\//.test(req.path); |
31 | const id = req.params.id; | 31 | const id = req.params.id; |
32 | - const goDownload = req.query.no; | ||
33 | 32 | ||
34 | res.locals.liveRoom = id; | 33 | res.locals.liveRoom = id; |
35 | res.locals.module = 'activity'; | 34 | res.locals.module = 'activity'; |
36 | res.locals.page = 'live-play'; | 35 | res.locals.page = 'live-play'; |
37 | - res.locals.enableFoot = goDownload !== 1; | 36 | + res.locals.enableFoot = Number(req.query.no) !== 1; |
38 | 37 | ||
39 | model.fetchInfo(id, isReplay) | 38 | model.fetchInfo(id, isReplay) |
40 | .then(result => { | 39 | .then(result => { |
@@ -11,6 +11,7 @@ const isTest = process.env.NODE_ENV === 'test'; | @@ -11,6 +11,7 @@ const isTest = process.env.NODE_ENV === 'test'; | ||
11 | 11 | ||
12 | module.exports = { | 12 | module.exports = { |
13 | app: 'h5', | 13 | app: 'h5', |
14 | + appVersion: '4.9.2', // 调用api的版本 | ||
14 | port: 6001, | 15 | port: 6001, |
15 | siteUrl: '//m.yohobuy.com', | 16 | siteUrl: '//m.yohobuy.com', |
16 | domains: { | 17 | domains: { |
@@ -30,6 +30,9 @@ var debounceFn = debounce(function(cardNo, formModel) { | @@ -30,6 +30,9 @@ var debounceFn = debounce(function(cardNo, formModel) { | ||
30 | 30 | ||
31 | // 返回1不支持, 孟令阶 | 31 | // 返回1不支持, 孟令阶 |
32 | if (result && result.data && result.data.businessSupport === '1') { | 32 | if (result && result.data && result.data.businessSupport === '1') { |
33 | + formModel.bankCode = ''; | ||
34 | + formModel.bankName = ''; | ||
35 | + | ||
33 | $('#bank-name').text('暂不支持此银行卡'); | 36 | $('#bank-name').text('暂不支持此银行卡'); |
34 | $('#bank-desc').show(); | 37 | $('#bank-desc').show(); |
35 | $('#bank-icon').hide(); | 38 | $('#bank-icon').hide(); |
-
Please register or login to post a comment