Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zero205 committed Apr 1, 2021
1 parent 29c9d75 commit b7f1b7c
Show file tree
Hide file tree
Showing 10 changed files with 49 additions and 413 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/deploy_tencent_scf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ jobs:
JD_CASH_SHARECODES: ${{ secrets.JD_CASH_SHARECODES}}
JXNC_SHARECODES: ${{ secrets.JXNC_SHARECODES}}
JDSGMH_SHARECODES: ${{ secrets.JDSGMH_SHARECODES}}
JDCFD_SHARECODES: ${{ secrets.JDCFD_SHARECODES}}
JDCFD_SHARECODES: 2ACE2A524E87CFE3C6984213642144027EACC88E6938957CDA9984C30EB98575@37E04B22BDF86E3C3AAC578CC486BB8E15991492EABBD6D8458DEFD7D5E94D91@390051DBC6BB271E4868A98560AE67FB4EE1A54F9B3161BCEC7D26DCA1FC2BC4@A7BDD1C9A8337C93A8CC288AA6963AE83E50BFED3BCE97F52B4B9A061A0C0532@DE25E07F269BEFA8FF3988F4BB2BE35804CCF63D68E4ECFA9320E4E81046DC60@ ${{ secrets.JDCFD_SHARECODES }}
JD818_SHARECODES: ${{ secrets.JD818_SHARECODES}}
JD_BEAN_STOP: ${{ secrets.JD_BEAN_STOP}}
JD_BEAN_SIGN_STOP_NOTIFY: ${{ secrets.JD_BEAN_SIGN_STOP_NOTIFY}}
JD_BEAN_SIGN_NOTIFY_SIMPLE: ${{ secrets.JD_BEAN_SIGN_NOTIFY_SIMPLE}}
Expand Down Expand Up @@ -132,6 +133,7 @@ jobs:
if [ $JXNC_SHARECODES ]; then sed -i "/variables/a\ JXNC_SHARECODES: $JXNC_SHARECODES" serverless.yml; fi;
if [ $JDSGMH_SHARECODES ]; then sed -i "/variables/a\ JDSGMH_SHARECODES: $JDSGMH_SHARECODES" serverless.yml; fi;
if [ $JDCFD_SHARECODES ]; then sed -i "/variables/a\ JDCFD_SHARECODES: $JDCFD_SHARECODES" serverless.yml; fi;
if [ $JD818_SHARECODES ]; then sed -i "/variables/a\ JD818_SHARECODES: $JD818_SHARECODES" serverless.yml; fi;
if [ $JD_BEAN_STOP ]; then sed -i "/variables/a\ JD_BEAN_STOP: $JD_BEAN_STOP" serverless.yml; fi;
if [ $JD_BEAN_SIGN_STOP_NOTIFY ]; then sed -i "/variables/a\ JD_BEAN_SIGN_STOP_NOTIFY: $JD_BEAN_SIGN_STOP_NOTIFY" serverless.yml; fi;
if [ $JD_BEAN_SIGN_NOTIFY_SIMPLE ]; then sed -i "/variables/a\ JD_BEAN_SIGN_NOTIFY_SIMPLE: $JD_BEAN_SIGN_NOTIFY_SIMPLE" serverless.yml; fi;
Expand Down
11 changes: 2 additions & 9 deletions .github/workflows/jd_live_redrain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: jd_live_redrain
on:
workflow_dispatch:
schedule:
- cron: '30 11 30 3 *'
- cron: '0 12 2 4 *'
watch:
types: started
repository_dispatch:
Expand Down Expand Up @@ -35,14 +35,7 @@ jobs:
- name: npm install
run: |
npm install
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: '等待运行【超级直播间红包雨】'
run: |
python3 accwait.py 0.1 0.1 29
- name: '开始运行'
- name: '运行【超级直播间红包雨】'
run: |
node jd_live_redrain.js
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/jd_nzmh.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: jd_nzmh(过期)
name: jd_nzmh

on:
workflow_dispatch:
# schedule:
# - cron: '29 0 22-31/1 3 *'
# - cron: '20 1,15 * * *'
watch:
types: started
repository_dispatch:
Expand Down
15 changes: 9 additions & 6 deletions jd_carnivalcity.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion jd_jxnc2.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 20 additions & 13 deletions jd_live_redrain.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion jd_mohe.js
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ function updateShareCodesCDN(url = 'https://gitee.com/lxk0301/updateTeam/raw/mas
})
})
}
function updateShareCodesCDN(url = 'https://cdn.jsdelivr.net/gh/zero205/updateTeam@master/shareCodes/jd_shareCodes.json') {
function updateShareCodesCDN(url = 'https://ghproxy.com/https://raw.githubusercontent.com/zero205/updateTeam/master/shareCodes/jd_shareCodes.json') {
return new Promise(resolve => {
$.get({
url ,
Expand Down
6 changes: 1 addition & 5 deletions jd_nzmh.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,7 @@ if ($.isNode()) {
continue
}
try {
await jdMh('https://anmp.jd.com/babelDiy/Zeus/3gpAsWd6UBb1MWvr6PFYjNS4Nexk/index.html')
//3.24-3.26
if (new Date().getDate() < 27) await jdMh('https://anmp.jd.com/babelDiy/Zeus/4HVt431hqqWW8Nsb2t9jZKmJp4En/index.html');
// await jdMh('https://anmp.jd.com/babelDiy/Zeus/3UGPT8RMBu4kL2YAYN98MgkcDhRq/index.html?wxAppName=jd')
// await jdMh('https://anmp.jd.com/babelDiy/Zeus/yiNQjMxQvs3R3SdS4nwa2MFk1FE/index.html?wxAppName=jd')
await jdMh('https://anmp.jd.com/babelDiy/Zeus/2x3yeXUmPbFVCAoXKQqSrdrQuoBk/index.html')
} catch (e) {
$.logErr(e)
}
Expand Down
Loading

0 comments on commit b7f1b7c

Please sign in to comment.