PR

【3/29】パック情報更新 #3424

wada opened this at 2024-03-22T18:15:26; closed

Description

opened by wada at 2024-03-22T18:15:26; updated 2024-03-29T15:07:58

概要

パック情報を自動的にevent_scheduleに格納
販売終了後、売上情報をevent_scheduleへ更新

既存のスクリプト tool_event_schedule_insertion.inc にパックの処理を追加

テスト方法、確認した内容

#スクリプト実行
ENVIRONMENT=deveop PF=yamada php tool_event_schedule_insertion.inc 

パックが取得できないときは、$range_min_timeを変更してください。

注意点

以下configのstart_timeが現在時刻になっているため、実行のたびにレコードが作成されます。
回避するには、_configureTestEnv()のstart_time変更処理をコメントアウトしてください。

MissionRareMonsterConfig
EventFestivalConfig

Comment

#33831 by wada at 2024-03-22T18:22:45; updated 2024-03-22T18:22:45

@kouho
レビューお願いします。

kouho add_label at 2024-03-29T09:33:06: 皇甫 LGTM

Comment

#33875 by kouho at 2024-03-29T09:33:14; updated 2024-03-29T09:33:14

@wada
確認OKです

wada merge at 2024-03-29T15:07:55: 【3/29】パック情報更新
wada close at 2024-03-29T15:07:55: Close
wada delete_branch at 2024-03-29T15:07:58: tool_pack_payment

Commit range

base5002237a3a8ac494f1eb45bf00d344ab994b1ae8
head7e7e102f3a4d858a5746979ee94d9416d54c30f7
base branchjolly/jr-web:master
head branchjolly/jr-web:tool_pack_payment

View commits

Commit details are loaded from Git when a dynamic archive server is running, or can be embedded with --include-commits.
Files changed2 filesView patch
statusfile
modifiedlib/exec/tool_event_schedule_insertion.inc
modifiedlib/models/dao/event_schedule.php
Patch body is stored as a separate file to keep this page lightweight.