Skip to content

Commit

Permalink
Update reserve basic payload data
Browse files Browse the repository at this point in the history
change description and default value of "psgTpCd1", "psgInfoPerPrnb1"
  • Loading branch information
pisik9 authored Dec 16, 2024
1 parent 09aa435 commit 053c3d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SRT/srt.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,8 +452,8 @@ def _reserve(
"arvTm1": train.arr_time, # 도착일자1 (열차 목록 값)
"totPrnb": passengersCount, # 승차인원
"psgGridcnt": passengersCount, # 승차인원
"psgTpCd1": passengersCount, # 승차인원
"psgInfoPerPrnb1": passengersCount, # 승차인원
"psgTpCd1": "0", # 승객종류1 인원수 (psgTpCd1~5)
"psgInfoPerPrnb1": "0", # 승객종류1 인원수 (psgInfoPerPrnb1~5)
"trnNo1": "%05d" % int(train.train_number), # 열차번호1 (열차 목록 값)
"runDt1": train.dep_date, # 운행일자1 (열차 목록 값)
"psrmClCd1": "2" if is_special_seat is True else "1",
Expand Down

0 comments on commit 053c3d2

Please sign in to comment.