mirror of
https://github.com/qitoqito/psyduck.git
synced 2026-01-12 04:30:42 +08:00
Update jd_task_hudong.js
This commit is contained in:
parent
4f238da1bb
commit
386e4f71f4
@ -702,7 +702,15 @@ export class Main extends Template {
|
||||
)
|
||||
let num = parseInt(this.haskey(lottery, 'chances') || 0)
|
||||
if (this.haskey(lottery, 'prizeType')) {
|
||||
p.award(lottery.prizeName, 'bean')
|
||||
if (lottery.prizeName.includes("京豆")) {
|
||||
p.award(lottery.prizeName, 'bean')
|
||||
}
|
||||
else if (lottery.prizeName.includes("优惠券")) {
|
||||
p.award(lottery.prizeName, 'coupon')
|
||||
}
|
||||
else {
|
||||
p.log(lottery.prizeName)
|
||||
}
|
||||
}
|
||||
else {
|
||||
p.log(this.haskey(lottery, 'promptMsg') || lottery)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user