{wc:templates "index","header"}
(第{wc:$item['qishu']}期) {wc:$item['title']} {wc:$item['title2']}
价值:{wc:$item['money']}
恭喜{wc:fun:get_user_name($q_user)} 获得本期商品
揭晓时间:{wc:fun:microt($item['q_end_time'])}
夺宝时间:{wc:fun:microt($user_shop_time)}
商品获得者本期总共夺宝了{wc:$user_shop_number}人次
求和:
{wc:$item['q_counttime']}(上面100条夺宝记录时间取值相加之和)
取余:
{wc:$item['q_counttime']}(100条时间记录之和)
% {wc:$item['canyurenshu']}(本商品总需参与人次)
= {wc:$shop_fmod}(余数)
结果:
{wc:$shop_fmod}(余数)
+ 10000001 = {wc:$item['q_user_code']}
求和:
{wc:$user_shop_time_add}(揭晓时间求和结果)
取余:
{wc:$user_shop_time_add}(揭晓时间)
* 100 / {wc:$item['canyurenshu']}(本商品总需参与人次)
= {wc:$user_shop_fmod}(余数)
结果:
{wc:$user_shop_fmod}(余数)
+ 1000001 = {wc:$item['q_user_code']}