|
|
@@ -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) { |
|
|
|
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) |
|
|
|
if err != nil { |
|
|
|
return nil, err |
|
|
|