Skip to content

Commit fdfe3f1

Browse files
committed
fix: login接口用户默认是存在
1 parent b0a6a25 commit fdfe3f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

biz/application/basicuser/basic_user.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func (s *BasicUserService) Login(ctx context.Context, req *model.BasicUserLoginR
8484
return nil, err
8585
}
8686

87-
var ok bool
87+
var ok = true
8888
var u *entity.BasicUser
8989
switch req.AuthType {
9090
case cst.AuthTypePhoneVerify:

0 commit comments

Comments
 (0)