PR

【5/12】アイテムアルバム自動公開修正 #1802

wada opened this at 2022-05-02T16:38:54; closed

Description

opened by wada at 2022-05-02T16:38:54; updated 2022-05-11T13:44:27

概要

強化アイテムの公開フラグを時限式 #1731
すでにcron設定済みのアイテムアルバム自動公開スクリプトを修正
一度公開になったら非公開にならない

問題点

全所持ユーザーが集計前に消費してしまうと公開されない

  • [x] 対象カードの強化アイテム取得時に自動公開されるよう対応

DB更新内容

jolly/jrye-db#53

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

cd jr-web/lib/exec
ENVIRONMENT=develop PF=yamada HTTP_HOST=127.0.0.1 IS_DOCKER=true php item_album_list.php

master_item_albumn.view_flg=0のケース(非公開)

  • 全ユーザー未所持
  • master_item.del_flg=1
wada change_title at 2022-05-02T17:15:54: [WIP]アイテムアルバム自動公開修正 【5/12】アイテムアルバム自動公開修正
wada add_label at 2022-05-02T17:15:57: レビュー待ち

Comment

#18859 by wada at 2022-05-02T17:16:08; updated 2022-05-02T17:16:08

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

Comment

#18910 by kouho at 2022-05-10T14:22:02; updated 2022-05-10T14:22:02

@wada
確認OKです

kouho add_label at 2022-05-10T14:22:05: 皇甫 LGTM
wada merge at 2022-05-10T18:26:42: 【5/12】アイテムアルバム自動公開修正
wada close at 2022-05-10T18:26:42: Close
wada refer at 2022-05-11T13:44:27: 1813:【5/12】アイテム自動解放リリース

Commit range

basedcc637cd94f6ee4be4b6caaaf1b9f613c2b7e127
head3952ebc7653bdaf27f109ac1cdf9c57b24ee7c57
base branchjolly/jr-web:develop
head branchjolly/jr-web:strong_item_auto_release

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/SubFunc.inc
modifiedlib/exec/item_album_list.php
Patch body is stored as a separate file to keep this page lightweight.