feat(platform): add CRM SMS and payment settings

This commit is contained in:
2026-07-29 15:41:27 +08:00
parent 6db200a2fc
commit ead7bdc2e2
25 changed files with 23250 additions and 140 deletions

View File

@@ -355,6 +355,16 @@ public sealed class ExceptionHandlingMiddleware(
return;
}
if (exception is PlatformCapabilityException platformCapabilityException)
{
await WriteProblemAsync(
context,
platformCapabilityException.Message,
StatusCodes.Status400BadRequest,
platformCapabilityException.Code);
return;
}
if (exception is ObjectStorageException storageException)
{
await WriteProblemAsync(