Activities of "maliming"

Answer

Thanks. I will check your logs.

Answer

hi

Can you share the full logs.txt of the authserver?

liming.ma@volosoft.com

Thanks

Great 👍

hi


 Ambiguous HTTP method for action - Hon.IFS.SiteManagement.SiteRiskIndices.SiteRiskIndexController.CreateBulkRiskIndicesAsync 
 (Hon.IFS.SiteManagement.HttpApi). 
 
Actions require an explicit HttpMethod binding for Swagger/OpenAPI 3.0

Try adding [HttpPost] and [HttpGet] attributes to your methods.

namespace Hon.IFS.SiteManagement.SiteRiskIndices
{
    [RemoteService(Name = SiteManagementRemoteServiceConsts.RemoteServiceName)]
    [Area(SiteManagementRemoteServiceConsts.ModuleName)]
    [ControllerName("SiteRiskIndex")]
    [Route("api/site-management/site-risk-indices")]
    [ApiController]
    public class SiteRiskIndexController : ISiteRiskIndexAppService
    {
        protected ISiteRiskIndexAppService _siteRiskIndexAppService;

        public SiteRiskIndexController(ISiteRiskIndexAppService siteRiskIndexAppService)
        {
            _siteRiskIndexAppService = siteRiskIndexAppService;
        }
        
        [HttpPost]
        public async Task<List<RiskIndexDto>> CreateBulkRiskIndicesAsync(Guid siteId, List<Guid> buildingIds)
        {
            // Implementation logic for creating bulk risk indices
            // Replace the following line with actual implementation
            return await _siteRiskIndexAppService.CreateBulkRiskIndicesAsync( siteId, buildingIds);
        }

        [HttpGet]
        public async Task<List<RiskIndexDto>> GetListBySiteAndBuildingsAsync(Guid siteId, List<Guid> buildingIds)
        {
            // Implementation logic for retrieving risk indices by site and buildings
            // Replace the following line with actual implementation
            return await _siteRiskIndexAppService.GetListBySiteAndBuildingsAsync(siteId, buildingIds);
        }
    }
}

hi

Please share the logst.txt with liming.ma@volosoft.com

Thanks.

hi

In the module, there is an HttpApi layer.

You should add a new controller that implements the ISiteRiskIndexAppService and add Route attributes.

eg IdentityUserController and IIdentityUserAppService

https://github.com/abpframework/abp/blob/dev/modules/identity/src/Volo.Abp.Identity.HttpApi/Volo/Abp/Identity/IdentityUserController.cs#L0-L1

Where did you add this new app service? In your app or a module?

Thanks.

hi

Can you remove the abstract keyword?

public class SiteRiskIndexAppService :

hi

The cmskit page will use the ABP layout from the theme module.

You can override the layout to add your custom meta elements. Get the current page info by Slug to determine your logic.

hi

Why did you add the MyDynamicResourceLocalizer?

What is its purpose?

Thanks.

Showing 2411 to 2420 of 12921 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on November 02, 2026, 06:56
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.