lizhen_gitee 17 stundas atpakaļ
vecāks
revīzija
1649c4c7ff
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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);
         }