|
|
@@ -379,6 +379,7 @@ class User extends Api
|
|
|
['id_card',''],
|
|
|
['nation',''],
|
|
|
['birthday',''],
|
|
|
+ ['gender',0],
|
|
|
['user_type',0],
|
|
|
['mobile',''],
|
|
|
],$request
|
|
|
@@ -392,7 +393,7 @@ class User extends Api
|
|
|
{
|
|
|
if($v!='')
|
|
|
{
|
|
|
- if(in_array($key,['id_card','birthday','user_type','mobile']))
|
|
|
+ if(in_array($key,['id_card','birthday','user_type','mobile','gender']))
|
|
|
{
|
|
|
$user[$key] = $v;
|
|
|
}
|