3 || count($domain_array) <2) { iajax(-1, '只支持一级域名和二级域名!'); } $data = array('domain' => trim($_GPC['bind_domain'])); uni_setting_save('bind_domain', iserializer($data)); iajax(0, '更新成功!', referer()); } template('profile/bind-domain'); } if ($do == 'delete') { uni_setting_save('bind_domain', array()); itoast('删除成功!', referer(), 'success'); }