File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 } 查询风险信息失败` )
Original file line number Diff line number Diff 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 } 查询风险信息失败` )
You can’t perform that action at this time.
0 commit comments