@ -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 ;