|
|
@@ -440,7 +440,13 @@ class BetService extends BaseService
|
|
|
$text = "历史注单 \n";
|
|
|
|
|
|
foreach ($list as $k => $v) {
|
|
|
- $phase = $v->profit - $v->amount;
|
|
|
+ if($v->status == self::model()::STATUS_SETTLED){
|
|
|
+ $phase = $v->profit - $v->amount;
|
|
|
+
|
|
|
+ }else{
|
|
|
+ $phase = '待开奖';
|
|
|
+ }
|
|
|
+
|
|
|
$text .= "-------------------------------------\n";
|
|
|
$text .= "期数:{$v->issue_no} \n";
|
|
|
$text .= "内容:{$v->keywords} \n";
|