|
@@ -67,7 +67,7 @@ class LqRule
|
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
|
*/
|
|
*/
|
|
|
- public function lq_concede_home($model, $resultModel, $resultRecords){
|
|
|
|
|
|
|
+ public function concede_home($model, $resultModel, $resultRecords){
|
|
|
// 主队得分
|
|
// 主队得分
|
|
|
$homeScore = intval($resultModel -> home_score);
|
|
$homeScore = intval($resultModel -> home_score);
|
|
|
// 客队得分
|
|
// 客队得分
|
|
@@ -87,7 +87,7 @@ class LqRule
|
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
|
*/
|
|
*/
|
|
|
- public function lq_concede_guest($model, $resultModel, $resultRecords){
|
|
|
|
|
|
|
+ public function concede_guest($model, $resultModel, $resultRecords){
|
|
|
// 主队得分
|
|
// 主队得分
|
|
|
$homeScore = intval($resultModel -> home_score);
|
|
$homeScore = intval($resultModel -> home_score);
|
|
|
// 客队得分
|
|
// 客队得分
|
|
@@ -107,7 +107,7 @@ class LqRule
|
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
|
*/
|
|
*/
|
|
|
- public function lq_half_concede_home($model, $resultModel, $resultRecords){
|
|
|
|
|
|
|
+ public function half_concede_home($model, $resultModel, $resultRecords){
|
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
|
$upResultKey = array_search('第二节', array_column($newResultRecords, 'match_process'));
|
|
$upResultKey = array_search('第二节', array_column($newResultRecords, 'match_process'));
|
|
|
// 主队得分
|
|
// 主队得分
|
|
@@ -129,7 +129,7 @@ class LqRule
|
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
|
*/
|
|
*/
|
|
|
- public function lq_half_concede_guest($model, $resultModel, $resultRecords){
|
|
|
|
|
|
|
+ public function half_concede_guest($model, $resultModel, $resultRecords){
|
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
|
$upResultKey = array_search('第二节', array_column($newResultRecords, 'match_process'));
|
|
$upResultKey = array_search('第二节', array_column($newResultRecords, 'match_process'));
|
|
|
// 主队得分
|
|
// 主队得分
|
|
@@ -151,7 +151,7 @@ class LqRule
|
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
|
*/
|
|
*/
|
|
|
- public function lq_one_concede_home($model, $resultModel, $resultRecords){
|
|
|
|
|
|
|
+ public function one_concede_home($model, $resultModel, $resultRecords){
|
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
|
$oneResultKey = array_search('第一节', array_column($newResultRecords, 'match_process'));
|
|
$oneResultKey = array_search('第一节', array_column($newResultRecords, 'match_process'));
|
|
|
// 主队得分
|
|
// 主队得分
|
|
@@ -173,7 +173,7 @@ class LqRule
|
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
|
*/
|
|
*/
|
|
|
- public function lq_one_concede_guest($model, $resultModel, $resultRecords){
|
|
|
|
|
|
|
+ public function one_concede_guest($model, $resultModel, $resultRecords){
|
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
|
$oneResultKey = array_search('第一节', array_column($newResultRecords, 'match_process'));
|
|
$oneResultKey = array_search('第一节', array_column($newResultRecords, 'match_process'));
|
|
|
// 主队得分
|
|
// 主队得分
|
|
@@ -195,7 +195,7 @@ class LqRule
|
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
|
*/
|
|
*/
|
|
|
- public function lq_two_concede_home($model, $resultModel, $resultRecords){
|
|
|
|
|
|
|
+ public function two_concede_home($model, $resultModel, $resultRecords){
|
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
|
$oneResultKey = array_search('第一节', array_column($newResultRecords, 'match_process'));
|
|
$oneResultKey = array_search('第一节', array_column($newResultRecords, 'match_process'));
|
|
|
$twoResultKey = array_search('第二节', array_column($newResultRecords, 'match_process'));
|
|
$twoResultKey = array_search('第二节', array_column($newResultRecords, 'match_process'));
|
|
@@ -218,7 +218,7 @@ class LqRule
|
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
|
*/
|
|
*/
|
|
|
- public function lq_two_concede_guest($model, $resultModel, $resultRecords){
|
|
|
|
|
|
|
+ public function two_concede_guest($model, $resultModel, $resultRecords){
|
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
|
$oneResultKey = array_search('第一节', array_column($newResultRecords, 'match_process'));
|
|
$oneResultKey = array_search('第一节', array_column($newResultRecords, 'match_process'));
|
|
|
$twoResultKey = array_search('第二节', array_column($newResultRecords, 'match_process'));
|
|
$twoResultKey = array_search('第二节', array_column($newResultRecords, 'match_process'));
|
|
@@ -241,7 +241,7 @@ class LqRule
|
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
|
*/
|
|
*/
|
|
|
- public function lq_three_concede_home($model, $resultModel, $resultRecords){
|
|
|
|
|
|
|
+ public function three_concede_home($model, $resultModel, $resultRecords){
|
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
|
$twoResultKey = array_search('第二节', array_column($newResultRecords, 'match_process'));
|
|
$twoResultKey = array_search('第二节', array_column($newResultRecords, 'match_process'));
|
|
|
$threeResultKey = array_search('第三节', array_column($newResultRecords, 'match_process'));
|
|
$threeResultKey = array_search('第三节', array_column($newResultRecords, 'match_process'));
|
|
@@ -264,7 +264,7 @@ class LqRule
|
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
|
*/
|
|
*/
|
|
|
- public function lq_three_concede_guest($model, $resultModel, $resultRecords){
|
|
|
|
|
|
|
+ public function three_concede_guest($model, $resultModel, $resultRecords){
|
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
|
$twoResultKey = array_search('第二节', array_column($newResultRecords, 'match_process'));
|
|
$twoResultKey = array_search('第二节', array_column($newResultRecords, 'match_process'));
|
|
|
$threeResultKey = array_search('第三节', array_column($newResultRecords, 'match_process'));
|
|
$threeResultKey = array_search('第三节', array_column($newResultRecords, 'match_process'));
|
|
@@ -287,7 +287,7 @@ class LqRule
|
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
|
*/
|
|
*/
|
|
|
- public function lq_four_concede_home($model, $resultModel, $resultRecords){
|
|
|
|
|
|
|
+ public function four_concede_home($model, $resultModel, $resultRecords){
|
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
|
$threeResultKey = array_search('第三节', array_column($newResultRecords, 'match_process'));
|
|
$threeResultKey = array_search('第三节', array_column($newResultRecords, 'match_process'));
|
|
|
$fourResultKey = array_search('第四节', array_column($newResultRecords, 'match_process'));
|
|
$fourResultKey = array_search('第四节', array_column($newResultRecords, 'match_process'));
|
|
@@ -310,7 +310,7 @@ class LqRule
|
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
|
*/
|
|
*/
|
|
|
- public function lq_four_concede_guest($model, $resultModel, $resultRecords){
|
|
|
|
|
|
|
+ public function four_concede_guest($model, $resultModel, $resultRecords){
|
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
|
$threeResultKey = array_search('第三节', array_column($newResultRecords, 'match_process'));
|
|
$threeResultKey = array_search('第三节', array_column($newResultRecords, 'match_process'));
|
|
|
$fourResultKey = array_search('第四节', array_column($newResultRecords, 'match_process'));
|
|
$fourResultKey = array_search('第四节', array_column($newResultRecords, 'match_process'));
|
|
@@ -327,13 +327,13 @@ class LqRule
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * 总进球|全场|大
|
|
|
|
|
|
|
+ * 全场总分大
|
|
|
* @param mixed $model 注单表数据
|
|
* @param mixed $model 注单表数据
|
|
|
* @param mixed $resultModel 结果表数据
|
|
* @param mixed $resultModel 结果表数据
|
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
|
*/
|
|
*/
|
|
|
- public function lq_total_sizes_big($model, $resultModel, $resultRecords){
|
|
|
|
|
|
|
+ public function total_number_big($model, $resultModel, $resultRecords){
|
|
|
// 主队得分
|
|
// 主队得分
|
|
|
$homeScore = intval($resultModel -> home_score);
|
|
$homeScore = intval($resultModel -> home_score);
|
|
|
// 客队得分
|
|
// 客队得分
|
|
@@ -346,13 +346,13 @@ class LqRule
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * 总进球|全场|小
|
|
|
|
|
|
|
+ * 全场总分小
|
|
|
* @param mixed $model 注单表数据
|
|
* @param mixed $model 注单表数据
|
|
|
* @param mixed $resultModel 结果表数据
|
|
* @param mixed $resultModel 结果表数据
|
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
|
*/
|
|
*/
|
|
|
- public function lq_total_sizes_small($model, $resultModel, $resultRecords){
|
|
|
|
|
|
|
+ public function total_number_small($model, $resultModel, $resultRecords){
|
|
|
// 主队得分
|
|
// 主队得分
|
|
|
$homeScore = intval($resultModel -> home_score);
|
|
$homeScore = intval($resultModel -> home_score);
|
|
|
// 客队得分
|
|
// 客队得分
|
|
@@ -365,13 +365,13 @@ class LqRule
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * 总进球|上半场|大
|
|
|
|
|
|
|
+ * 上半场总分大
|
|
|
* @param mixed $model 注单表数据
|
|
* @param mixed $model 注单表数据
|
|
|
* @param mixed $resultModel 结果表数据
|
|
* @param mixed $resultModel 结果表数据
|
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
|
*/
|
|
*/
|
|
|
- public function lq_half_total_sizes_big($model, $resultModel, $resultRecords){
|
|
|
|
|
|
|
+ public function half_total_sizes_big($model, $resultModel, $resultRecords){
|
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
|
$upResultKey = array_search('第二节', array_column($newResultRecords, 'match_process'));
|
|
$upResultKey = array_search('第二节', array_column($newResultRecords, 'match_process'));
|
|
|
// 主队得分
|
|
// 主队得分
|
|
@@ -386,13 +386,13 @@ class LqRule
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * 总进球|上半场|小
|
|
|
|
|
|
|
+ * 上半场总分小
|
|
|
* @param mixed $model 注单表数据
|
|
* @param mixed $model 注单表数据
|
|
|
* @param mixed $resultModel 结果表数据
|
|
* @param mixed $resultModel 结果表数据
|
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
|
*/
|
|
*/
|
|
|
- public function lq_half_total_sizes_small($model, $resultModel, $resultRecords){
|
|
|
|
|
|
|
+ public function half_total_sizes_small($model, $resultModel, $resultRecords){
|
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
|
$upResultKey = array_search('第二节', array_column($newResultRecords, 'match_process'));
|
|
$upResultKey = array_search('第二节', array_column($newResultRecords, 'match_process'));
|
|
|
// 主队得分
|
|
// 主队得分
|
|
@@ -407,13 +407,13 @@ class LqRule
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * 总进球|第一节|大
|
|
|
|
|
|
|
+ * 第一节总分大
|
|
|
* @param mixed $model 注单表数据
|
|
* @param mixed $model 注单表数据
|
|
|
* @param mixed $resultModel 结果表数据
|
|
* @param mixed $resultModel 结果表数据
|
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
|
*/
|
|
*/
|
|
|
- public function lq_one_total_sizes_big($model, $resultModel, $resultRecords){
|
|
|
|
|
|
|
+ public function one_total_sizes_big($model, $resultModel, $resultRecords){
|
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
|
$oneResultKey = array_search('第一节', array_column($newResultRecords, 'match_process'));
|
|
$oneResultKey = array_search('第一节', array_column($newResultRecords, 'match_process'));
|
|
|
// 主队得分
|
|
// 主队得分
|
|
@@ -428,13 +428,13 @@ class LqRule
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * 总进球|第一节|小
|
|
|
|
|
|
|
+ * 第一节总分小
|
|
|
* @param mixed $model 注单表数据
|
|
* @param mixed $model 注单表数据
|
|
|
* @param mixed $resultModel 结果表数据
|
|
* @param mixed $resultModel 结果表数据
|
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
|
*/
|
|
*/
|
|
|
- public function lq_one_total_sizes_small($model, $resultModel, $resultRecords){
|
|
|
|
|
|
|
+ public function one_total_sizes_small($model, $resultModel, $resultRecords){
|
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
|
$oneResultKey = array_search('第一节', array_column($newResultRecords, 'match_process'));
|
|
$oneResultKey = array_search('第一节', array_column($newResultRecords, 'match_process'));
|
|
|
// 主队得分
|
|
// 主队得分
|
|
@@ -449,13 +449,13 @@ class LqRule
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * 总进球|第二节|大
|
|
|
|
|
|
|
+ * 第二节总分大
|
|
|
* @param mixed $model 注单表数据
|
|
* @param mixed $model 注单表数据
|
|
|
* @param mixed $resultModel 结果表数据
|
|
* @param mixed $resultModel 结果表数据
|
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
|
*/
|
|
*/
|
|
|
- public function lq_two_total_sizes_big($model, $resultModel, $resultRecords){
|
|
|
|
|
|
|
+ public function two_total_sizes_big($model, $resultModel, $resultRecords){
|
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
|
$oneResultKey = array_search('第一节', array_column($newResultRecords, 'match_process'));
|
|
$oneResultKey = array_search('第一节', array_column($newResultRecords, 'match_process'));
|
|
|
$twoResultKey = array_search('第二节', array_column($newResultRecords, 'match_process'));
|
|
$twoResultKey = array_search('第二节', array_column($newResultRecords, 'match_process'));
|
|
@@ -471,13 +471,13 @@ class LqRule
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * 总进球|第二节|小
|
|
|
|
|
|
|
+ * 第二节总分小
|
|
|
* @param mixed $model 注单表数据
|
|
* @param mixed $model 注单表数据
|
|
|
* @param mixed $resultModel 结果表数据
|
|
* @param mixed $resultModel 结果表数据
|
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
|
*/
|
|
*/
|
|
|
- public function lq_two_total_sizes_small($model, $resultModel, $resultRecords){
|
|
|
|
|
|
|
+ public function two_total_sizes_small($model, $resultModel, $resultRecords){
|
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
|
$oneResultKey = array_search('第一节', array_column($newResultRecords, 'match_process'));
|
|
$oneResultKey = array_search('第一节', array_column($newResultRecords, 'match_process'));
|
|
|
$twoResultKey = array_search('第二节', array_column($newResultRecords, 'match_process'));
|
|
$twoResultKey = array_search('第二节', array_column($newResultRecords, 'match_process'));
|
|
@@ -493,13 +493,13 @@ class LqRule
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * 总进球|第三节|大
|
|
|
|
|
|
|
+ * 第三节总分大
|
|
|
* @param mixed $model 注单表数据
|
|
* @param mixed $model 注单表数据
|
|
|
* @param mixed $resultModel 结果表数据
|
|
* @param mixed $resultModel 结果表数据
|
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
|
*/
|
|
*/
|
|
|
- public function lq_three_total_sizes_big($model, $resultModel, $resultRecords){
|
|
|
|
|
|
|
+ public function three_total_sizes_big($model, $resultModel, $resultRecords){
|
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
|
$twoResultKey = array_search('第二节', array_column($newResultRecords, 'match_process'));
|
|
$twoResultKey = array_search('第二节', array_column($newResultRecords, 'match_process'));
|
|
|
$threeResultKey = array_search('第三节', array_column($newResultRecords, 'match_process'));
|
|
$threeResultKey = array_search('第三节', array_column($newResultRecords, 'match_process'));
|
|
@@ -515,13 +515,13 @@ class LqRule
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * 总进球|第三节|小
|
|
|
|
|
|
|
+ * 第三节总分小
|
|
|
* @param mixed $model 注单表数据
|
|
* @param mixed $model 注单表数据
|
|
|
* @param mixed $resultModel 结果表数据
|
|
* @param mixed $resultModel 结果表数据
|
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
|
*/
|
|
*/
|
|
|
- public function lq_three_total_sizes_small($model, $resultModel, $resultRecords){
|
|
|
|
|
|
|
+ public function three_total_sizes_small($model, $resultModel, $resultRecords){
|
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
|
$twoResultKey = array_search('第二节', array_column($newResultRecords, 'match_process'));
|
|
$twoResultKey = array_search('第二节', array_column($newResultRecords, 'match_process'));
|
|
|
$threeResultKey = array_search('第三节', array_column($newResultRecords, 'match_process'));
|
|
$threeResultKey = array_search('第三节', array_column($newResultRecords, 'match_process'));
|
|
@@ -537,13 +537,13 @@ class LqRule
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * 总进球|第四节|大
|
|
|
|
|
|
|
+ * 第四节总分大
|
|
|
* @param mixed $model 注单表数据
|
|
* @param mixed $model 注单表数据
|
|
|
* @param mixed $resultModel 结果表数据
|
|
* @param mixed $resultModel 结果表数据
|
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
|
*/
|
|
*/
|
|
|
- public function lq_four_total_sizes_big($model, $resultModel, $resultRecords){
|
|
|
|
|
|
|
+ public function four_total_sizes_big($model, $resultModel, $resultRecords){
|
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
|
$threeResultKey = array_search('第三节', array_column($newResultRecords, 'match_process'));
|
|
$threeResultKey = array_search('第三节', array_column($newResultRecords, 'match_process'));
|
|
|
$fourResultKey = array_search('第四节', array_column($newResultRecords, 'match_process'));
|
|
$fourResultKey = array_search('第四节', array_column($newResultRecords, 'match_process'));
|
|
@@ -559,13 +559,13 @@ class LqRule
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * 总进球|第四节|小
|
|
|
|
|
|
|
+ * 第四节总分小
|
|
|
* @param mixed $model 注单表数据
|
|
* @param mixed $model 注单表数据
|
|
|
* @param mixed $resultModel 结果表数据
|
|
* @param mixed $resultModel 结果表数据
|
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
* @param mixed $resultRecords 结果记录表数据
|
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
* @return string 1:赢 -1:输 2:平 3:赢半平半 4:输半平半
|
|
|
*/
|
|
*/
|
|
|
- public function lq_four_total_sizes_small($model, $resultModel, $resultRecords){
|
|
|
|
|
|
|
+ public function four_total_sizes_small($model, $resultModel, $resultRecords){
|
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
$newResultRecords = array_reverse($resultRecords);
|
|
|
$threeResultKey = array_search('第三节', array_column($newResultRecords, 'match_process'));
|
|
$threeResultKey = array_search('第三节', array_column($newResultRecords, 'match_process'));
|
|
|
$fourResultKey = array_search('第四节', array_column($newResultRecords, 'match_process'));
|
|
$fourResultKey = array_search('第四节', array_column($newResultRecords, 'match_process'));
|