|
|
@@ -1018,10 +1018,17 @@ class BetService extends BaseService
|
|
|
$v['win_amount'] = number_format($v['win_amount'],2);
|
|
|
$profit = number_format($v['profit'],2);
|
|
|
$yl = bcsub($v['profit'], $v['amount'], 2); // 盈利
|
|
|
+ if(empty($v['openKeywords'])){
|
|
|
+ $openKeyword = '-';
|
|
|
+
|
|
|
+ }else{
|
|
|
+ $openKeyword = implode(',', $v['openKeywords']);
|
|
|
+ }
|
|
|
+
|
|
|
if(($k+1) <= $noticeNum){
|
|
|
$text .= "用户ID:{$v['lastStr']} \n";
|
|
|
$text .= "下注类型:[".implode(',', $v['keywords'])."] \n";
|
|
|
- $text .= "中奖类型:[".implode(',', $v['openKeywords'])."] \n";
|
|
|
+ $text .= "中奖类型:[".$openKeyword."] \n";
|
|
|
$text .= "投注金额:{$amount} \n";
|
|
|
$text .= "中奖金额:{$v['win_amount']} \n";
|
|
|
$text .= "派彩金额:{$profit} \n";
|
|
|
@@ -1032,7 +1039,7 @@ class BetService extends BaseService
|
|
|
if($v['is_send']){
|
|
|
$text2 = "{$issue_no}期开奖结果 \n";
|
|
|
$text2 .= "下注类型:[".implode(',', $v['keywords'])."] \n";
|
|
|
- $text2 .= "中奖类型:[".implode(',', $v['openKeywords'])."] \n";
|
|
|
+ $text2 .= "中奖类型:[".$openKeyword."] \n";
|
|
|
$text2 .= "投注金额:{$amount} \n";
|
|
|
$text2 .= "中奖金额:{$v['win_amount']} \n";
|
|
|
$text2 .= "派彩金额:{$profit} \n";
|