PR

GOLDパック #376

wada opened this at 2020-10-28T11:55:16; closed

Description

opened by wada at 2020-10-28T11:55:16; updated 2023-04-28T16:33:30

issue #375

ゴールドパックをショップに追加
アイテムパックとは別処理

更新が必要
・master_gold_pack
・master_gold_pack_info
・master_shop
・master_shop_item

Comment

#7948 by wada at 2020-10-28T11:57:50; updated 2020-10-28T11:57:50

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

ゴールドパックは今回初めて実装するので、課金処理を修正しています。
ローカルで確認時は、master_gold_packの日付、master_shopの価格を調整するとスムーズです。

php bin/csv2mysql.php jrye csv/master_gold_pack.csv csv/master_gold_pack_info.csv csv/master_shop.csv csv/master_shop_item.csv

Comment

#7952 by iwamoto at 2020-10-28T14:09:22; updated 2020-10-28T14:09:22

@wada
こちら確認しました、購入・受取等は問題ありませんでした。

気になるところが2点ありました

Gold_Pack.php の function tempolary()
こちら使用はされてないみたいなんですが、綴りは``temporary``ではないでしょうか?

Comment

#7954 by wada at 2020-10-28T14:14:35; updated 2020-10-28T14:16:35

@iwamoto
ありがとうございます。
どちらも移植時の残りカスなので削除しました。

Comment

#7955 by iwamoto at 2020-10-28T14:29:33; updated 2020-10-28T14:29:33

@wada
承知しました、であれば問題ないと思います。

wada merge at 2020-10-28T14:43:53: GOLDパック
wada close at 2020-10-28T14:43:53: Close
wada refer at 2020-10-28T15:19:00: 378:10/28リリース
wada refer at 2021-02-09T11:54:05: 587:【2/12】船強化パック

Commit range

basebdcb77cbe967442057536b6da4d8ac51ab9da4cd
headcef335e08df94356fc59ca3231b96fefd8440967
base branchjolly/jr-web:develop
head branchjolly/jr-web:gold_pack_375

View commits

Commit details are loaded from Git when a dynamic archive server is running, or can be embedded with --include-commits.
Files changed35 filesView patch
statusfile
modifiedlib/ajax/shop_payment.inc
modifiedlib/conf/define_y.inc
modifiedlib/models/Shop_payment.php
modifiedlib/models/shop/Base_item.php
addedlib/models/shop/Gold_pack.php
modifiedlib/models/shop/Item_factory.php
addedpublic_html/img/assortment/10150/head.jpg
addedpublic_html/img/assortment/10150/spgacha_item_1.jpg
addedpublic_html/img/assortment/10150/spgacha_item_2.jpg
addedpublic_html/img/assortment/10150/spgacha_item_3.jpg
addedpublic_html/img/assortment/10151/spgacha_item_1.jpg
addedpublic_html/img/assortment/10151/spgacha_item_2.jpg
addedpublic_html/img/assortment/10151/spgacha_item_3.jpg
addedpublic_html/img/assortment/10152/spgacha_item_1.jpg
addedpublic_html/img/assortment/10152/spgacha_item_2.jpg
addedpublic_html/img/assortment/10152/spgacha_item_3.jpg
addedpublic_html/img/item/120/10150.jpg
addedpublic_html/img/item/120/10151.jpg
addedpublic_html/img/item/120/10152.jpg
addedpublic_html/img/item/150/10150.jpg
addedpublic_html/img/item/150/10151.jpg
addedpublic_html/img/item/150/10152.jpg
addedpublic_html/img/item/60/10150.jpg
addedpublic_html/img/item/60/10151.jpg
addedpublic_html/img/item/60/10152.jpg
addedpublic_html/img/item/70/10150.jpg
addedpublic_html/img/item/70/10151.jpg
addedpublic_html/img/item/70/10152.jpg
addedpublic_html/img/shop/banner/gold_pack/41_end_1.jpg
addedpublic_html/img/shop/banner/gold_pack/41_end_2.jpg
addedpublic_html/img/shop/banner/gold_pack/41_start_1.jpg
addedpublic_html/img/shop/banner/gold_pack/41_start_2.jpg
modifiedpublic_html/js/JOLLYROGER.js
modifiedpublic_html/template/Shop-GoldSet.tpl
modifiedpublic_html/template/Shop.tpl
Patch body is stored as a separate file to keep this page lightweight.