生日选择 不能小于18 岁 创建房间校验修改
This commit is contained in:
@@ -15,7 +15,7 @@ class UserData extends BaseCom
|
||||
$key_name = "api:user:follow_user:" . $this->uid;
|
||||
redis_lock_exit($key_name);
|
||||
$nick_name = input('nickname');
|
||||
$birthday = input('birthday');
|
||||
$birthday = input('birthday', '1990-01-01');
|
||||
$sex = input('sex', 0);
|
||||
$head_pic = input('avatar', '');
|
||||
$reg_code = input('init_code', '');
|
||||
@@ -47,7 +47,7 @@ class UserData extends BaseCom
|
||||
$key_name = "api:user:follow_user:" . $this->uid;
|
||||
redis_lock_exit($key_name);
|
||||
$nick_name = input('nick_name');
|
||||
$birthday = input('birthday');
|
||||
$birthday = input('birthday', '1990-01-01');
|
||||
$sex = input('sex', 1);
|
||||
$head_pic = input('head_pic', '');
|
||||
$images = input('images', '');//背景图(以json字符串的形式可以多图)
|
||||
|
||||
Reference in New Issue
Block a user