We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c00d17 commit 96409c7Copy full SHA for 96409c7
1 file changed
TXSTOCK/cowopenbox.js
@@ -1,6 +1,6 @@
1
const jsname = '腾讯自选股'
2
const $ = Env(jsname)
3
-const logs = 0; //0为关闭日志,1为开启,默认为0
+const logs = 1; //0为关闭日志,1为开启,默认为0
4
const notifyInterval = 1; //0为关闭通知,1为所有通知,默认为0
5
6
let rndtime = Math.round(new Date().getTime()) //毫秒
@@ -305,11 +305,9 @@ async function cowopenbox() {
305
if (safeGet(data)) {
306
if (logs == 1) $.log(data)
307
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`
+ if(data.ret_code == 0 ){
+ //$.log(`【点长牛开💰】:${data.reward_info[0].reward_vaule}牛气`);
+ tz += `【点长牛开💰】:${data.reward_info[0].reward_vaule}牛气\n`
313
}
314
315
0 commit comments