@@ -89,7 +89,7 @@ class UniversityEvent extends Api
if (empty($v['phone'])) {
return $this->error('报名信息手机号不能为空');
}
- if (empty($v['sex'])) {
+ if (!isset($v['sex']) && $v['sex'] !== 0) {
return $this->error('报名信息性别不能为空');
if (empty($v['age'])) {