feat: PMR 조제관리 - MSSQL(PharmaIT3000) 연동
- pmr_api.py: 192.168.0.4 MSSQL 연결 - /pmr/api/prescriptions: 일별 처방전 목록 - /pmr/api/prescription/<id>: 처방전 상세 - /pmr/api/stats: 당일 통계 - /pmr/api/test: DB 연결 테스트 - pmr.html: API 엔드포인트 수정
This commit is contained in:
@@ -50,6 +50,12 @@ app.config['SESSION_COOKIE_SECURE'] = not app.debug # HTTPS 전용 (로컬 개
|
||||
app.config['SESSION_COOKIE_SAMESITE'] = 'Lax' # QR 스캔 시 쿠키 전송 허용
|
||||
app.config['PERMANENT_SESSION_LIFETIME'] = timedelta(days=90) # 3개월 유지
|
||||
|
||||
# ─────────────────────────────────────────────────────────────
|
||||
# Blueprint 등록
|
||||
# ─────────────────────────────────────────────────────────────
|
||||
from pmr_api import pmr_bp
|
||||
app.register_blueprint(pmr_bp)
|
||||
|
||||
# 데이터베이스 매니저
|
||||
db_manager = DatabaseManager()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user