PR

【3/22】パック販売集計 #3417

wada opened this at 2024-03-19T11:48:30; closed

Description

opened by wada at 2024-03-19T11:48:30; updated 2024-03-19T18:53:13

概要

イベントスケジュール同形式のパック販売リスト用のデータ集計
リリースからスクリプト実行までにリリースされたパックが対象
event_typeを分けることで、パック販売もevent_scheduleで管理できるようにする

集計内容

イベントと同じ

  • event_type
  • event_id
  • star_time
  • end_time
  • json[total_payment, total_coin, uu]

新規追加

  • json[shop_item_no]: 販売アイテムID
  • json[limit_count]: 購入制限回数
  • json[daily_limit_count]: 1日の購入制限回数
  • json[price]: 価格

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

#スクリプト実行
ENVIRONMENT=develop PF=yamada php tool_pack_payment.php 

集計内容は、管理画面 http://127.0.0.1:20081/?m=m_pack_schedule で表示予定(現在対応中)

ゲーム自体には影響ないので、スクリプト実行して集計結果に問題がないか確認お願いします。

Comment

#33761 by wada at 2024-03-19T11:48:42; updated 2024-03-19T11:48:42

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

kouho add_label at 2024-03-19T16:31:02: 皇甫 LGTM

Comment

#33778 by kouho at 2024-03-19T16:31:13; updated 2024-03-19T16:31:13

@wada
確認OKです

wada merge at 2024-03-19T18:53:10: 【3/22】パック販売集計
wada close at 2024-03-19T18:53:10: Close
wada delete_branch at 2024-03-19T18:53:13: tool_pack_payment

Commit range

base100d30306c6c6a8f7923609d682c421bebf3b11b
head3681909f9d59a8228336795dd41fad21f3a0c94e
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 changed3 filesView patch
statusfile
modifiedlib/conf/class/EventScheduleConfig.class.php
addedlib/exec/tool_pack_payment.php
modifiedlib/models/dao/event_schedule.php
Patch body is stored as a separate file to keep this page lightweight.