PR

【10/22】倉庫枠拡張 #1239

wada opened this at 2021-10-20T14:19:17; closed

Description

opened by wada at 2021-10-20T14:19:17; updated 2025-11-12T11:48:54

概要

https://docs.google.com/spreadsheets/d/1uXVJhi0efAn2v5OA4YGzJWNdATnPv-pMj95RmIBBmpY
建物倉庫の枠上限をGOLD、コインで拡張する機能
倉庫の建物一覧のアイコン、ショップから拡張可能
拡張によって上限を超える場合、ショップリストに商品が表示されない

ショップ

購入処理を新しい処理に変更
shop_payment.incShop_payment.php

ブランチ

web: storage_extension
db: storage_extension

Comment

#14501 by wada at 2021-10-20T14:26:09; updated 2021-10-20T14:26:09

@iwamoto @kouho
レビューお願いします。
特にショップ購入処理を変更したので、ショップ周りの表示や動作がおかしくないか確認お願いします。

Comment

#14525 by iwamoto at 2021-10-21T12:59:02; updated 2021-10-21T12:59:02

@wada
goldでの購入は問題ないように思います。

また、コインで購入した際、購入後ページに
「建築倉庫の上限数を+1開放した」等の表示がありませんが問題ないでしょうか?

いつもの
!shop1

今回(建物倉庫
!shop2

Comment

#14539 by wada at 2021-10-21T15:27:33; updated 2021-10-21T15:27:33

@iwamoto
元々なかったんで消したけど、あった方が統一感ありますね。
カードホルダーもないので一緒に追加します。

Comment

#14547 by wada at 2021-10-21T16:43:26; updated 2021-10-21T16:43:26

@iwamoto
ショップ購入後の表示を他のアイテムと同じにしました。
確認には、master_itemの更新が必要です。

wada assign at 2021-10-22T10:06:03: Not assigned:wada

Comment

#14556 by kouho at 2021-10-22T10:09:06; updated 2021-10-22T10:09:06

@wada
確認しました。問題ないと思います。

kouho add_label at 2021-10-22T10:09:12: 皇甫 LGTM

Comment

#14561 by iwamoto at 2021-10-22T10:41:03; updated 2021-10-22T10:41:03

@wada
確認しました、問題ないと思います。

iwamoto add_label at 2021-10-22T10:41:06: 岩本 LGTM
wada merge at 2021-10-22T17:17:58: 【10/22】倉庫枠拡張
wada close at 2021-10-22T17:17:58: Close
wada refer at 2021-10-26T10:52:30: 1253:【10/26 12:00】倉庫枠拡張リリース
wada refer at 2021-10-26T11:01:04: 1254:【10/26 12:00】倉庫枠拡張リリース

Commit range

base630aa6b83d4a2c0cc9e5e8762d73ee549f693187
heade42727b46cb75c38cc52b242f869a7d7cf18c442
base branchjolly/jr-web:develop
head branchjolly/jr-web:storage_extension

View commits

Commit details are loaded from Git when a dynamic archive server is running, or can be embedded with --include-commits.
Files changed9 filesView patch
statusfile
modifiedlib/ajax/shop_payment.inc
modifiedlib/class/building/BuildingStorageManager.class.php
modifiedlib/class/const/ItemConst.class.php
modifiedlib/conf/class/BuildingStorageConfig.class.php
modifiedlib/models/Shop_payment.php
addedlib/models/shop/Building_storage.php
modifiedlib/models/shop/Item_factory.php
modifiedpublic_html/js/JOLLYROGER.js
modifiedpublic_html/template/Build.tpl
Patch body is stored as a separate file to keep this page lightweight.