需求 #14563
春节小游戏(1月17号需上线)
100%
描述
背景:1月17号后app没有商品供用户浏览,为维护app的日活,留住用户,故设计三个小游戏增强与用户的互动,保住日活。
活动时间:2020.01.17:07-2020.01.01.29 07:00
活动玩法具体见附件
后端分支:
feature/01.08#14563春节小游戏
新增接口:
获取用户信息(http://xdebug.yishou.com/dist/project-api-list?project_id=2&api_id=6099)
兑换红包(http://xdebug.yishou.com/dist/project-api-list?project_id=2&api_id=6100)
接金币(http://xdebug.yishou.com/dist/project-api-list?project_id=2&api_id=6101)
获取成语(http://xdebug.yishou.com/dist/project-api-list?project_id=2&api_id=6102)
验证成语(http://xdebug.yishou.com/dist/project-api-list?project_id=2&api_id=6103)
翻牌(http://xdebug.yishou.com/dist/project-api-list?project_id=2&api_id=6104)
新增sql:
CREATE TABLE `fmys_activity_user_behavior_history` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '用户id',
`activity_type` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '活动类型:{1:春节兑换, 2:春节接金币, 3:春节猜成语, 4:春节翻牌}',
`create_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
PRIMARY KEY (`id`),
KEY `user_id` (`user_id`) USING BTREE,
KEY `activity_type` (`activity_type`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='用户活动行为记录表';
CREATE TABLE `fmys_activity_user_money` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '用户id',
`amount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '金额',
`currency` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '币种{1:2020春节金币}',
`create_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
`update_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
PRIMARY KEY (`id`),
KEY `user_id` (`user_id`) USING BTREE,
KEY `currency` (`currency`) USING BTREE,
KEY `amount` (`amount`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='用户活动钱包表';
CREATE TABLE `fmys_activity_user_money_history` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '用户id',
`currency` int(3) unsigned NOT NULL DEFAULT '0' COMMENT '币种{1:2020春节金币兑换红包}',
`before_money` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '变更前金额',
`change_money` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '变更金额',
`event_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '事件id',
`event_type` varchar(255) NOT NULL DEFAULT '' COMMENT '事件类型{1:春节兑换, 2:春节接金币, 3:春节猜成语, 4:春节翻牌}',
`create_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
PRIMARY KEY (`id`),
KEY `user_id` (`user_id`) USING BTREE,
KEY `currency` (`currency`) USING BTREE,
KEY `event_id` (`event_id`) USING BTREE,
KEY `event_type` (`event_type`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='用户活动钱包变更历史表';
接金币 正式 https://static.yishouapp.com/app/h5/production/game/index.html#/
接金币 测试 http://static.yishouapp.com/app/h5/tests/game/index.html#/?testEnv=test1
游戏主页正式:https://static.yishouapp.com/app/h5/production/game-index/index.html#/
游戏主页测试:http://static.yishouapp.com/app/h5/tests/game-index/index.html#/?testEnv=test10
需求对接人:陈琼宇
历史记录
#16
由 刘莉 更新于 超过 5 年 之前
- 文件 游戏主界面.png 游戏主界面.png 已添加
- 文件 填成语赢金币.png 填成语赢金币.png 已添加
- 文件 翻一翻抽金币.png 翻一翻抽金币.png 已添加
- 文件 财神爷接金币.png 财神爷接金币.png 已添加