|
|
@@ -34,23 +34,23 @@ class SportsNoteList extends BaseModel {
|
|
|
//订单投注的玩法
|
|
|
$content = \App\Models\MoneyBuyMatch::where('bet_type','1')->get();
|
|
|
for($d=0;$d<count($content);$d++){
|
|
|
- if($data[$d]->result==0){
|
|
|
- $data[$d]->result = '未处理';
|
|
|
+ if($content[$d]->result==0){
|
|
|
+ $content[$d]->result = '未处理';
|
|
|
}
|
|
|
- if($data[$d]->result==1){
|
|
|
- $data[$d]->result = '赢';
|
|
|
+ if($content[$d]->result==1){
|
|
|
+ $content[$d]->result = '赢';
|
|
|
}
|
|
|
- if($data[$d]->result==-1){
|
|
|
- $data[$d]->result = '输';
|
|
|
+ if($content[$d]->result==-1){
|
|
|
+ $content[$d]->result = '输';
|
|
|
}
|
|
|
- if($data[$d]->result==2){
|
|
|
- $data[$d]->result = '平';
|
|
|
+ if($content[$d]->result==2){
|
|
|
+ $content[$d]->result = '平';
|
|
|
}
|
|
|
- if($data[$d]->result==3){
|
|
|
- $data[$d]->result = '赢半平半';
|
|
|
+ if($content[$d]->result==3){
|
|
|
+ $content[$d]->result = '赢半平半';
|
|
|
}
|
|
|
- if($data[$d]->result==4){
|
|
|
- $data[$d]->result = '输半平半';
|
|
|
+ if($content[$d]->result==4){
|
|
|
+ $content[$d]->result = '输半平半';
|
|
|
}
|
|
|
}
|
|
|
|