Skip to content
This repository has been archived by the owner on Jan 1, 2020. It is now read-only.

Commit

Permalink
Merge branch 'release/V0.0.24'
Browse files Browse the repository at this point in the history
  • Loading branch information
MoeHero committed Aug 30, 2017
2 parents 4912666 + a5b925a commit 3c74bf8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/live/Helper.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* globals ModuleStore */
/* globals ModuleStore, store */
'use strict';
var Helper = {
options: {},
Expand Down Expand Up @@ -206,7 +206,7 @@ Helper.init = callback => {
Helper.option = r[0];
Helper.roomID = r[1];
$.post('//bh.moehero.com/api/helper/upload/userinfo', {uid: Helper.userInfo.uid, version: Helper.info.version, option: JSON.stringify(Helper.option)});

$.post('//bh.moehero.com/api/helper/upload/statinfo', {uid: Helper.userInfo.uid, smalltv_times: store.get('BH_SmallTVTimes'), school_times: store.get('BH_SchoolTimes') || 0, summer_times: store.get('BH_SummerTimes') || 0, lighten_times: store.get('BH_LightenTimes') || 0});
{
Helper.DOM.info = $('<div>').addClass('seeds-buy-cntr').append($('<div>').addClass('ctrl-item').html(`${Helper.localize.helper} V${Helper.info.version} QQ群:<a class="bili-link" target="_blank" href="//jq.qq.com/?k=47vw4s3">285795550</a>`));
$('.control-panel').prepend(Helper.DOM.info);
Expand Down
8 changes: 0 additions & 8 deletions src/live/ModuleStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,6 @@ class ModuleStore {
'smallTV': 'BH_SmallTV',
'school': 'BH_School',
};

$.post('//bh.moehero.com/api/helper/upload/statinfo', {
uid: Helper.userInfo.uid,
smalltv_times: store.get('BH_SmallTVTimes'),
school_times: store.get('BH_SchoolTimes') || 0,
summer_times: store.get('BH_SummerTimes') || 0,
lighten_times: store.get('BH_LightenTimes') || 0,
});
}

static roomID_get(showID) {
Expand Down

0 comments on commit 3c74bf8

Please sign in to comment.