PR

【即日】必ずもらえるキャンペーン報酬配布 #1683

kouho opened this at 2022-03-28T12:15:51; closed

Description

opened by kouho at 2022-03-28T12:15:51; updated 2022-03-28T14:42:16

概要

必ずもらえるキャンペーン報酬配布用PRです

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

dbブランチ名:yamada_campaign
更新テーブル

 master_yamada_campaign.csv
 master_yamada_campaign_reward.csv
 master_yamada_campaign_reward_item.csv

user_yamada_campaign_rewardに自分のデータを入れる
(puidは自分のもの)

INSERT INTO `user_yamada_campaign_reward` (`puid`, `reward_id`, `receive_flg`, `tutorial_flg`, `update_time`)
VALUES
('210168537239499ee096e41b583345b03233f8c03323360c14f8dd4fbed04921', 115, 0, 0, '2022-03-28 11:54:13'),
('210168537239499ee096e41b583345b03233f8c03323360c14f8dd4fbed04921', 114, 0, 0, '2022-03-28 11:54:13'),
('210168537239499ee096e41b583345b03233f8c03323360c14f8dd4fbed04921', 113, 0, 0, '2022-03-28 11:54:13'),
('210168537239499ee096e41b583345b03233f8c03323360c14f8dd4fbed04921', 112, 0, 0, '2022-03-28 11:54:13'),
('210168537239499ee096e41b583345b03233f8c03323360c14f8dd4fbed04921', 111, 0, 0, '2022-03-28 11:54:13'),
('210168537239499ee096e41b583345b03233f8c03323360c14f8dd4fbed04921', 110, 0, 0, '2022-03-28 11:54:13');

$campaign_idを93に変更
ENVIRONMENT=develop PF=yamada HTTP_HOST=127.0.0.1 IS_DOCKER=true php tool_send_yamada_rewards.php

TODO

確認でき次第開発に反映後テストで配布して本番で配布

対象ユーザーは以下のシートにまとめています
https://docs.google.com/spreadsheets/d/1WV1oUePxVbBhrJ-IOMlXyaxuqlWJALTBpUI4d2KsokY/edit?usp=sharing

Comment

#18086 by kouho at 2022-03-28T12:16:22; updated 2022-03-28T12:16:22

@wada
確認お願いいたします。

Comment

#18089 by wada at 2022-03-28T13:40:39; updated 2022-03-28T13:40:53

@kouho
確認しました。
$campaign_id はファイルを直接変更ですかね。

wada add_label at 2022-03-28T13:40:42: 和田 LGTM

Comment

#18091 by kouho at 2022-03-28T13:43:22; updated 2022-03-28T13:43:22

@wada
確認ありがとうございます。記載漏れすみません。$campaign_idはviで直接変更でしようとおもいます。

kouho merge at 2022-03-28T14:42:16: 【即日】必ずもらえるキャンペーン報酬配布
kouho close at 2022-03-28T14:42:16: Close

Commit range

base7fe0a5cc2040cbd30b15dec25dbec5dfce53c0c2
heade0ddcea7ff65f3df38538aa40e048f1a63c9bd05
base branchjolly/jr-web:develop
head branchjolly/jr-web:yamada_campaign_reward_type

View commits

Commit details are loaded from Git when a dynamic archive server is running, or can be embedded with --include-commits.
Files changed1 filesView patch
statusfile
modifiedlib/models/Yamada_campaign.php
Patch body is stored as a separate file to keep this page lightweight.