PR

【1/28】ゲソてん3stepキャンペーン #4482

kouho opened this at 2026-01-26T09:08:02; closed

Description

opened by kouho at 2026-01-26T09:08:02; updated 2026-01-28T10:00:14

概要

  • 集金でミッションカウントが進むように
  • ゲソてん3stepミッションをAPI利用に
  • あらかじめゲソてん側に共有したtypeを元にAPI送信をして疎通をする形で対応
  • API利用前後の定数名の意味をコードで確認できるように別定数を作成

仕様書

https://docs.google.com/spreadsheets/d/1a0qOSUHPD4MS4Fxp2BgkENLFDj1yiwL_Lx8jq6J1PbY/edit?gid=1447896418#gid=1447896418

ゲソてん共有資料

https://docs.google.com/spreadsheets/d/1uQ1S5B149-HAHY1QbqGN6B9Imad9frh6UVv0leOLowY/edit?gid=985014480#gid=985014480

確認した内容

  • 開発環境で各ミッションクリア時にAPI実行でstatus200が返ってくること

ゲソてんとの連携

開発でAPI実行した旨を伝えたため問題がないかを依頼中

kouho change_title at 2026-01-26T09:24:59: 【】ゲソてん3stepキャンペーン 【1/28】ゲソてん3stepキャンペーン

Comment

#44040 by kouho at 2026-01-26T09:25:08; updated 2026-01-26T09:25:08

@wada
レビューお願いいたします

Comment

#44067 by wada at 2026-01-27T11:16:53; updated 2026-01-27T11:16:53

@kouho
戦争条件の達成回数が7回のところ、テーブルの数値が40になっています。
戦争条件が<span style="color:red;">参加</span>になったので、1開催中に2回以上カウントさせない必要があります。

wada add_label at 2026-01-27T11:16:56: コメントあり

Comment

#44075 by kouho at 2026-01-27T16:13:32; updated 2026-01-27T16:13:32

@wada
以下修正しましたのでレビューをお願いいたします
> 戦争条件の達成回数が7回のところ、テーブルの数値が40になっています。
戦争条件が参加になったので、1開催中に2回以上カウントさせない必要があります。

Comment

#44076 by wada at 2026-01-27T18:21:45; updated 2026-01-27T18:21:45

@kouho
確認OKです

wada delete_label at 2026-01-27T18:21:48: コメントあり
wada add_label at 2026-01-27T18:21:49: 和田 LGTM
kouho merge at 2026-01-28T10:00:14: 【1/28】ゲソてん3stepキャンペーン
kouho close at 2026-01-28T10:00:14: Close

Commit range

basef7d37997c6967f4958cf8a76f3f616759016279d
head19e3769ef45ce24bf27d48342f38967d1833a2e3
base branchjolly/jr-web:master
head branchjolly/jr-web:gesoten_3tep_api

View commits

Commit details are loaded from Git when a dynamic archive server is running, or can be embedded with --include-commits.
Files changed5 filesView patch
statusfile
modifiedlib/SubFunc.inc
modifiedlib/class/const/QuestConst.class.php
modifiedlib/class/platform/gesoten/GesotenPlatformService.class.php
modifiedlib/models/Gesoten_campaign.php
modifiedlib/models/dao/Gesoten_campaign_repository.php
Patch body is stored as a separate file to keep this page lightweight.