|
|
@@ -364,11 +364,12 @@ class BetService extends BaseService
|
|
|
$text = "历史注单 \n";
|
|
|
|
|
|
foreach($list as $k => $v){
|
|
|
+ $phase = $v->profit - $v->amount;
|
|
|
$text .= "-------------------------------------\n";
|
|
|
$text .= "期数:{$v->issue_no} \n";
|
|
|
$text .= "内容:{$v->keywords} \n";
|
|
|
$text .= "金额:{$v->amount} \n";
|
|
|
- $text .= "盈亏:{($v->profit - $v->amount)} \n";
|
|
|
+ $text .= "盈亏:{$phase} \n";
|
|
|
}
|
|
|
|
|
|
$msg['text'] = $text;
|