no message
This commit is contained in:
parent
b3a3ce482f
commit
6a06108980
@ -69,11 +69,22 @@ final class ReportUser
|
||||
$iTotalMoneyCount += $row['count_money'] ?? 0;
|
||||
}
|
||||
|
||||
$iRegFromRate = 0;
|
||||
$iPayRagRate = 0;
|
||||
if ($iTotalRegCount) {
|
||||
$iRegFromRate = (int) (($iTotalRegCount / $iTotalFromCount) * 100);
|
||||
}
|
||||
if ($iTotalPayCount) {
|
||||
$iPayRagRate = (int) (($iTotalPayCount / $iTotalRegCount) * 100);
|
||||
}
|
||||
|
||||
$sStr = "🎹🎹🎹🎹🎹🎹\n\n";
|
||||
$sStr .= "*总访问:".$iTotalFromCount."\n";
|
||||
$sStr .= "*总注册:".$iTotalRegCount."\n";
|
||||
$sStr .= "*总支付:".$iTotalPayCount."\n";
|
||||
$sStr .= "*总金额:".$iTotalMoneyCount."\n";
|
||||
$sStr .= "*访问注册比".$iRegFromRate."%\n";
|
||||
$sStr .= "*注册付款比".$iRegFromRate."%\n";
|
||||
|
||||
$iFromRate = 0;
|
||||
$iRegRate = 0;
|
||||
@ -98,7 +109,7 @@ final class ReportUser
|
||||
}
|
||||
|
||||
$sStr .= "\n";
|
||||
$sStr .= "[`".$row["from"]."`]\n";
|
||||
$sStr .= "`".$row["from"]."`\n";
|
||||
$sStr .= " - 访问:".$row['count_from']."(".$iFromRate."%)\n";
|
||||
$sStr .= " - 注册:".$row['count_reg']."(".$iRegRate."%)\n";
|
||||
$sStr .= " - 支付:".$row['count_pay']."(".$iPayRate."%)【新".$row['count_pay_new']."旧".$row['count_pay_old']."】\n";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user