tping 4 years ago
parent 5c22a252a3
commit cfd4368fe5

@ -316,12 +316,6 @@ class SocietyInfoController extends ThinkController
if (empty($save['game_types'])) { if (empty($save['game_types'])) {
$this->error("游戏类型为必填项"); $this->error("游戏类型为必填项");
} }
foreach ($save['game_types'] as $v) {
$save['game_type'] .= $v . "/";
}
$save['game_type'] = trim($save['game_type'], '/');
// dump($save['game_type']);die();
if ($save['province'] == "请选择省份") $save['province'] = ''; if ($save['province'] == "请选择省份") $save['province'] = '';
if ($save['city'] == "请选择城市") $save['city'] = ''; if ($save['city'] == "请选择城市") $save['city'] = '';
foreach ($save['game_types'] as $v) { foreach ($save['game_types'] as $v) {

Loading…
Cancel
Save