Skip to content

Commit 96409c7

Browse files
committed
Update cowopenbox.js
1 parent 3c00d17 commit 96409c7

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

TXSTOCK/cowopenbox.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const jsname = '腾讯自选股'
22
const $ = Env(jsname)
3-
const logs = 0; //0为关闭日志,1为开启,默认为0
3+
const logs = 1; //0为关闭日志,1为开启,默认为0
44
const notifyInterval = 1; //0为关闭通知,1为所有通知,默认为0
55

66
let rndtime = Math.round(new Date().getTime()) //毫秒
@@ -305,11 +305,9 @@ async function cowopenbox() {
305305
if (safeGet(data)) {
306306
if (logs == 1) $.log(data)
307307
data = JSON.parse(data);
308-
if(data.forbidden_code >= 0 ){
309-
$.log(`【点长牛开💰】:${data.forbidden_reason}💭`);
310-
}else{
311-
$.log(`【点长牛开💰】:${data.reward_info.reward_vaule}牛气`);
312-
tz += `【点长牛开💰】:${data.reward_info.reward_vaule}牛气\n`
308+
if(data.ret_code == 0 ){
309+
//$.log(`【点长牛开💰】:${data.reward_info[0].reward_vaule}牛气`);
310+
tz += `【点长牛开💰】:${data.reward_info[0].reward_vaule}牛气\n`
313311
}
314312
}
315313
}

0 commit comments

Comments
 (0)