lizhen_gitee hai 17 horas
pai
achega
1649c4c7ff
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      application/api/controller/User.php

+ 1 - 0
application/api/controller/User.php

@@ -519,6 +519,7 @@ class User extends Api
         } else {
             $extend = [
                 'wechat_openid' => $wechatCode['openid'],
+                'gender' => -1
             ];
             $ret = $this->auth->register('', '','', $mobile, $extend);
         }