master
tping 4 years ago
parent b4c3b64fb0
commit e3f020965d

@ -292,6 +292,11 @@ class SocietyInfoController extends ThinkController
foreach ($save['game_types'] as $v) {
$save['game_type'] .= $v . "/";
}
if ($save['province'] == '请选择省份') {
$save['province'] = '';
$save['city'] = '';
}
$save['game_type'] = trim($save['game_type'], '/');
$save['communication_time'] = time();
$save['update_time'] = time();

@ -255,10 +255,10 @@
$("#submit").on("click",function(){
var cres = $('form').serializeArray();
if ($("#province").val() == "请选择省份" || !$("#province").val()) {
layer.msg('请选择省份');return ;
// layer.msg('请选择省份');return ;
}
if (!$("#city").val()) {
layer.msg('请选择城市');return ;
// layer.msg('请选择城市');return ;
}
if (!$("#company_name").val()) {
layer.msg('请输入公司名');return ;

Loading…
Cancel
Save