Browse Source

update

master
DengBiao 1 year ago
parent
commit
d4cf157fd7
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      internal/business/api/business_ext.go

+ 3
- 0
internal/business/api/business_ext.go View File

@@ -97,6 +97,9 @@ func (s *BusinessExtServer) EmoticonList(ctx context.Context, empty *pb.Empty) (
} }


func (s *BusinessExtServer) SignIn(ctx context.Context, req *pb.SignInReq) (*pb.SignInResp, error) { func (s *BusinessExtServer) SignIn(ctx context.Context, req *pb.SignInReq) (*pb.SignInResp, error) {
utils.FilePutContents("sign_in", utils.SerializeStr(map[string]interface{}{
"args": req,
}))
isNew, userId, token, masterId, err := app.AuthApp.SignIn(ctx, req.PhoneNumber, req.Code, req.MasterId, req.DeviceId, req.PushAlia, req.Nickname, req.AvatarUrl) isNew, userId, token, masterId, err := app.AuthApp.SignIn(ctx, req.PhoneNumber, req.Code, req.MasterId, req.DeviceId, req.PushAlia, req.Nickname, req.AvatarUrl)
if err != nil { if err != nil {
return nil, err return nil, err


Loading…
Cancel
Save