Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
Faker authored and Faker committed Dec 18, 2022
1 parent 0621a9d commit ac661b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion JDJRValidator_Pure.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ class JDJRValidator {

// console.log(pos[pos.length-1][2] -Date.now());
// await sleep(4500);
console.log(pos[pos.length - 1][2] - Date.now());
//console.log(pos[pos.length - 1][2] - Date.now());
await sleep(pos[pos.length - 1][2] - Date.now());
const result = await JDJRValidator.jsonp('/slide/s.html', {d, ...this.data}, scene);

Expand All @@ -267,6 +267,7 @@ class JDJRValidator {
try {
const data = await JDJRValidator.jsonp('/slide/g.html', {e: ''}, scene);
const {bg, patch, y} = data;
if (bg.length < 30000) return;
// const uri = 'data:image/png;base64,';
// const re = new PuzzleRecognizer(uri+bg, uri+patch, y);
const re = new PuzzleRecognizer(bg, patch, y);
Expand Down
3 changes: 1 addition & 2 deletions jd_joy_feedPets.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
宠汪汪喂食(默认20g)
更新时间:2022-10-14
活动入口:京东APP我的-更多工具-宠汪汪
33 0-23/4 * * * jd_joy_feedPets.js
*/
const $ = new Env('宠汪汪🐕喂食');
const $ = new Env('宠汪汪喂食');
const Slider = require('./JDJRValidator_Pure');
//$.get = Slider.injectToRequest2($.get.bind($));
const notify = $.isNode() ? require('./sendNotify') : '';
Expand Down

0 comments on commit ac661b1

Please sign in to comment.