feat: integración WEBSms en configuración

- Nueva sección WEBSms en lab_configuracion.php con:
  - Switch activo/inactivo (sms_activo)
  - Campo URL base de la API (sms_url)
  - Campo API key / Bearer token (sms_api_key)
  - Campos de prueba: número + mensaje + botón Enviar
- api/lab/test_sms.php: proxy al endpoint POST /api/sms/send
  con Authorization: Bearer, valida respuesta ok/error
- save_config.php: permite guardar sms_url, sms_api_key, sms_activo

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lizandro Guarnizo
2026-06-23 23:27:24 -05:00
co-authored by Claude Sonnet 4.6
parent 301b39ad0c
commit 21e7c6a836
3 changed files with 153 additions and 0 deletions
+3
View File
@@ -18,6 +18,9 @@ $permitidas = [
'doc_color', 'doc_logo_base64', 'doc_pie_pagina',
'gemini_api_key',
'ia_activa',
'sms_url',
'sms_api_key',
'sms_activo',
];
$guardadas = 0;