PR

【9/10】専用秘宝、配布スタンプ #3673

wada opened this at 2024-09-05T14:08:42; closed

Description

opened by wada at 2024-09-05T14:08:42; updated 2024-09-12T15:55:59

概要

仕様書
実装まとめ

専用秘薬 item_no:307
スタンプ stamp_id:102, 103

DB更新内容

【9/10】専用秘宝、配布スタンプ jolly/jrye-db#845

SQLクエリ

CREATE TABLE `user_chat_stamp` (
  `user_no` int(10) unsigned NOT NULL,
  `stamp_id` int(10) unsigned NOT NULL,
  `reg_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`user_no`,`stamp_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

db更新

#スタンププレゼント
INSERT INTO `present_box` (`user_no`, `sender_no`, `sender_name`, `type`, `present_id`)
VALUES
	({user_no}, 0, 'スタンプ配布', 17, 102),
	({user_no}, 0, 'スタンプ配布', 17, 103);

TODO

  • [x] 専用秘薬画像 → 画像PRで追加

Comment

#36439 by wada at 2024-09-05T14:08:52; updated 2024-09-05T14:08:52

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

kouho add_label at 2024-09-11T14:26:56: 皇甫 LGTM

Comment

#36509 by kouho at 2024-09-11T14:27:15; updated 2024-09-11T14:27:15

@wada
確認OKです

wada merge at 2024-09-12T15:55:59: 【9/10】専用秘宝、配布スタンプ
wada close at 2024-09-12T15:55:59: Close

Commit range

base894477175edb84b68734522bfcde54bc8bb3b175
headf0beb194c46126204a0c70f6265760efb36d9280
base branchjolly/jr-web:master
head branchjolly/jr-web:item_stamp_0917

View commits

Commit details are loaded from Git when a dynamic archive server is running, or can be embedded with --include-commits.
Files changed21 filesView patch
statusfile
modifiedlib/SubFunc.inc
modifiedlib/class/controller/JrControllerDeck.class.php
modifiedlib/class/present_box/PresentBoxContent.class.php
modifiedlib/conf/define.inc
addedlib/models/All_status_up_item.php
modifiedlib/models/Present_receive.php
addedlib/models/dao/user_chat_stamp.php
modifiedlib/public/Card-Detail.inc
modifiedlib/public/Card-StatusUp.inc
modifiedlib/public/Card-StatusUpCheck.inc
modifiedlib/public/Card-StatusUpResult.inc
modifiedlib/public/Card-StatusUpSelect.inc
modifiedlib/public/Friend-Bbs.inc
modifiedlib/public/Friend.inc
modifiedlib/public/Present-Default.inc
addedpublic_html/img/team/stamp/102.png
addedpublic_html/img/team/stamp/103.png
modifiedpublic_html/template/Card-Detail.tpl
modifiedpublic_html/template/Card-StatusUpCheck.tpl
modifiedpublic_html/template/Deck-CardDetail.tpl
modifiedpublic_html/template/Present-Default.tpl
Patch body is stored as a separate file to keep this page lightweight.