Commit 627d9386 authored by rlgy's avatar rlgy

Revert "update"

This reverts commit 5fc0e77d
parent 18b65952
......@@ -91,12 +91,12 @@ class JugdeAwardJob extends BaseObject implements JobInterface
$amount = 1;
} else {
$guess = [];
$guess[] = intval($item['guess'] / 10);
$guess[] = intval($item['guess'] % 10);
$guess[] = intval($item['guess'] / 10);
$ans = [];
$ans[] = intval($result / 10);
$ans[] = intval($result % 10);
if (!empty(array_intersect($ans, $guess))) {
$ans[] = intval($result / 10);
if ($ans[0] == $guess[0] || $ans[1] == $guess[1]) {
$flag = true;
$amount = 0.2;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment