1
This commit is contained in:
parent
58d8ff37b5
commit
6202759f09
@ -55,7 +55,7 @@ class KefuController {
|
|||||||
error_log($response);
|
error_log($response);
|
||||||
$ret = json_decode($response, true);
|
$ret = json_decode($response, true);
|
||||||
if ($ret['errcode'] == 0) {
|
if ($ret['errcode'] == 0) {
|
||||||
if ($gameid == 2001) {
|
if ($gameid >= 2001 && $gameid < 3000) {
|
||||||
if (count($ret['items']) > 0) {
|
if (count($ret['items']) > 0) {
|
||||||
$item = $ret['items'][rand() % count($ret['items'])];
|
$item = $ret['items'][rand() % count($ret['items'])];
|
||||||
error_log(json_encode($item));
|
error_log(json_encode($item));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user