...
|
...
|
@@ -10108,8 +10108,10 @@ class Algorithm extends Api |
|
|
// if ($CurrentInnateEnergyTendency[0] == $CurrentInnateEnergyTendency[1]) {
|
|
|
// //两个相同的最高分值,为“排名1能量+排名2能量 主导”
|
|
|
// $CurrentInnate = $this->CurrentInnateName($CurrentInnateEnergyTendency[0], $CurrentInnateEnergyTendencyArray) . '+' . $this->CurrentInnateName($CurrentInnateEnergyTendency[1], $CurrentInnateEnergyTendencyArray) . '能主导';
|
|
|
|
|
|
if ($CurrentInnateEnergyTendency[0] == $CurrentInnateEnergyTendency[1] || $CurrentInnateEnergyTendency[1] == $CurrentInnateEnergyTendency[2]) {
|
|
|
if ($CurrentInnateEnergyTendency[0] == $CurrentInnateEnergyTendency[1] && $CurrentInnateEnergyTendency[1] == $CurrentInnateEnergyTendency[2]) {
|
|
|
//三能体质
|
|
|
$CurrentInnate = '三能平衡';
|
|
|
} elseif ($CurrentInnateEnergyTendency[0] == $CurrentInnateEnergyTendency[1] || $CurrentInnateEnergyTendency[1] == $CurrentInnateEnergyTendency[2]) {
|
|
|
//出现两个相同分值的特殊情况
|
|
|
if ($CurrentInnateEnergyTendency[0] == $CurrentInnateEnergyTendency[1]) {
|
|
|
//出现两个相同的最高分值,为“排名1能量($First)+排名2($Second)能量 主导”
|
...
|
...
|
@@ -11138,7 +11140,9 @@ class Algorithm extends Api |
|
|
$B = $InnateEnergyTendency[1] - $InnateEnergyTendency[2];
|
|
|
$C = $InnateEnergyTendency[0] - $InnateEnergyTendency[1];
|
|
|
//判断用户天生能量倾向 $Innate 能量标签
|
|
|
if ($InnateEnergyTendency[0] == $InnateEnergyTendency[1] || $InnateEnergyTendency[1] == $InnateEnergyTendency[2]) {
|
|
|
if ($InnateEnergyTendency[0] == $InnateEnergyTendency[1] && $InnateEnergyTendency[1] == $InnateEnergyTendency[2]) {
|
|
|
$Innate = '三能平衡';
|
|
|
} elseif ($InnateEnergyTendency[0] == $InnateEnergyTendency[1] || $InnateEnergyTendency[1] == $InnateEnergyTendency[2]) {
|
|
|
//出现两个相同分值的特殊情况
|
|
|
if ($InnateEnergyTendency[0] == $InnateEnergyTendency[1]) {
|
|
|
//出现两个相同的最高分值,为“排名1能量($First)+排名2($Second)能量 主导”
|
...
|
...
|
|