|
|
@ -312,9 +312,22 @@ class AjaxController extends ThinkController{
|
|
|
|
|
|
|
|
|
|
|
|
// dump($statementData);die();
|
|
|
|
// dump($statementData);die();
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$data['address'] = json_decode($data['address'],1);
|
|
|
|
|
|
|
|
// dd($data['address']);
|
|
|
|
|
|
|
|
$address = '';
|
|
|
|
|
|
|
|
if (is_array($data['address'])) {
|
|
|
|
|
|
|
|
foreach($data['address'] as $key => $value) {
|
|
|
|
|
|
|
|
$address = $address.' '.$value;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
$data['address'] = $address;
|
|
|
|
|
|
|
|
|
|
|
|
if (is_array($data['game_ratio'])) {
|
|
|
|
if (is_array($data['game_ratio'])) {
|
|
|
|
foreach ($data['game_ratio'] as $key => &$value) {
|
|
|
|
foreach ($data['game_ratio'] as $key => &$value) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
foreach ($value as $k => &$v) {
|
|
|
|
foreach ($value as $k => &$v) {
|
|
|
|
$v['game_name'] = get_gamename($key);
|
|
|
|
$v['game_name'] = get_gamename($key);
|
|
|
|
}
|
|
|
|
}
|
|
|
|