Skip to content

Commit 99bb9a9

Browse files
author
Leaf
committed
增加提现渠道提醒
1 parent 49e4989 commit 99bb9a9

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎jckd/jckd_risk.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ async function GetOrderList() {
138138
notifyStr += `账户${userIdx+1} ${nickname[userIdx]}: \n`
139139
for(let item of result.data) {
140140
let withdrawStr = ''
141+
let withType = (item.type==2) ? '微信' : '支付宝'
141142
let desc = (item.description) ? item.description : '无'
142143
if (item.status == 0){
143144
withdrawStr = '未入账';
@@ -146,7 +147,7 @@ async function GetOrderList() {
146147
} else if (item.status == 2){
147148
withdrawStr = '提现失败';
148149
}
149-
notifyStr += `提现信息:${item.add_time_str} 提现${item.money}元,${withdrawStr},风险信息:${desc}\n`
150+
notifyStr += `${item.add_time_str} ${withType}提现${item.money}元,${withdrawStr},风险信息:${desc}\n`
150151
}
151152
} else {
152153
console.log(`账户${userIdx+1}查询风险信息失败`)

‎zqkd/zqkd_risk.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ async function GetOrderList() {
138138
notifyStr += `账户${userIdx+1} ${nickname[userIdx]}: \n`
139139
for(let item of result.data) {
140140
let withdrawStr = ''
141+
let withType = (item.type==2) ? '微信' : '支付宝'
141142
let desc = (item.description) ? item.description : '无'
142143
if (item.status == 0){
143144
withdrawStr = '未入账';
@@ -146,7 +147,7 @@ async function GetOrderList() {
146147
} else if (item.status == 2){
147148
withdrawStr = '提现失败';
148149
}
149-
notifyStr += `提现信息:${item.add_time_str} 提现${item.money}元,${withdrawStr},风险信息:${desc}\n`
150+
notifyStr += `${item.add_time_str} ${withType}提现${item.money}元,${withdrawStr},风险信息:${desc}\n`
150151
}
151152
} else {
152153
console.log(`账户${userIdx+1}查询风险信息失败`)

0 commit comments

Comments
 (0)