Starts in:
0 DAY
4 HRS
28 MIN
43 SEC
Starts in:
0 D
4 H
28 M
43 S

Activities of "liangshiwei"

Answer

Hi

Inject IScreenRootManager here

Answer

Hi,

You can try this:

public class CreateScreenDesignConsumer : IConsumer<IScreenDesignCreateCommand>
{
    private readonly IScreenRootManager _screenRootManager;
    private readonly ILogger<CreateScreenDesignConsumer> _logger;

    public CreateScreenDesignConsumer(IScreenRootManager screenRootManager, ILogger<CreateScreenDesignConsumer> logger)
    {
        _screenRootManager = screenRootManager;
        _logger = logger;
    }

    public virtual async Task Consume(ConsumeContext<IScreenDesignCreateCommand> context)
    {

        try
        {
            var result = await _screenRootManager.CreateAsync(context.Message);
            await context.RespondAsync(new Result<ScreenDesignCreateResult>(data: result));
        }
        catch (Exception ex)
        {
            await context.RespondAsync<Fault<Result>>
          (new { Message = "ScreenDeisgn:CreateFail", FaultMessage = ex.Message, FaultStackTrace = ex.StackTrace });

        }
    }
}
Answer

Hi,

Here are some requirements for using unit of work

See https://abp.io/docs/latest/framework/architecture/domain-driven-design/unit-of-work#controlling-the-unit-of-work

Hi,

The problem is that the access_token's lifetime is short. You can change the cache expiration time

When I look at the logs, it says that the token expired at 08:28:00. So how did the request sent at 8:32:00 return 200?

This is the JWT token clock skew https://stackoverflow.com/questions/47153080/clock-skew-and-tokens

Hi,

The problem is that the access_token's lifetime is short. You can change the cache expiration time

When I look at the logs, it says that the token expired at 08:28:00. So how did the request sent at 8:32:00 return 200?

This is the JWT token clock skew https://stackoverflow.com/questions/47153080/clock-skew-and-tokens

Hi,

okay, good to see that the problem was solved.

Answer

Hi,

You can try override the LogoutController

I am sending a request to the merchant/detail endpoint.

could you share your code?

The operation was canceled

seems like the client canceled the request. is there any other error message?

Hi,

you can create a new project with React Native and copy it to your existing project.

you need to :

  • change the HTTPs ports
  • add an openiddict client for React Native
Showing 121 to 130 of 6105 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06