lizhen_gitee 17 giờ trước cách đây
mục cha
commit
1649c4c7ff
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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);
         }