12345678910111213141516171819 |
- CREATE TABLE `h_game_price` (
- `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
- `app_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '游戏ID',
- `agent_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '所属渠道ID',
- `parent_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '关联ID',
- `is_vip` tinyint(4) unsigned NOT NULL DEFAULT '1' COMMENT ' 1 不是VIP 2 是VIP',
- `mobile_prefix` int(11) unsigned NOT NULL DEFAULT '156' COMMENT '国家编码 默认中国156',
- `ch_product_code` varchar(64) NOT NULL DEFAULT '0' COMMENT 'CP或渠道计费点id 用于映射到苹果',
- `product_code` varchar(64) NOT NULL DEFAULT '0' COMMENT '商品ID 0表示单机游戏购买费用',
- `product_name` varchar(64) NOT NULL DEFAULT '' COMMENT '商品名称',
- `product_price` decimal(12,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '商品价格 对应本地商品价格',
- `create_time` bigint(20) NOT NULL DEFAULT '0' COMMENT '创建时间',
- `update_time` bigint(20) NOT NULL DEFAULT '0' COMMENT '更新时间',
- PRIMARY KEY (`id`) USING BTREE,
- KEY `gp_app_index` (`app_id`) USING BTREE,
- KEY `gp_country_index` (`mobile_prefix`) USING BTREE,
- KEY `gp_cpc_index` (`ch_product_code`) USING BTREE,
- KEY `gp_code_index` (`product_code`) USING BTREE
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='游戏计费点';
|