1
This commit is contained in:
parent
23f5b937d8
commit
9441d0705c
@ -358,6 +358,9 @@ class BigwheelController extends BaseAuthedController {
|
||||
$info = array(
|
||||
'drawed_times' => $data['drawed_times'],
|
||||
'total_times' => self::MAX_DRAW_TIMES,
|
||||
'single_src_cost' => $priceInfo['price_single'],
|
||||
'double_src_cost' => $priceInfo['price_double'],
|
||||
'double_cost' => $priceInfo['price_double'] * $priceInfo['discount_double'],
|
||||
'single_cost' => $priceInfo['price_single'] * $priceInfo['discount_single'],
|
||||
'double_cost' => $priceInfo['price_double'] * $priceInfo['discount_double'],
|
||||
'items1' => array(),
|
||||
@ -443,27 +446,32 @@ class BigwheelController extends BaseAuthedController {
|
||||
$elements = array();
|
||||
array_push($elements, array(
|
||||
'ele_type' => 2,
|
||||
'color' => '#ffffff',
|
||||
'lang_key' => 'Marquee_rewards_get_1',
|
||||
"lang_params" => array(),
|
||||
'lang_params' => array(),
|
||||
));
|
||||
array_push($elements, array(
|
||||
'ele_type' => 1,
|
||||
"text" => myself()->_getUserInfo(array('name'))['name'],
|
||||
//'color' => '#',
|
||||
'text' => myself()->_getUserInfo(array('name'))['name'],
|
||||
));
|
||||
array_push($elements, array(
|
||||
'ele_type' => 2,
|
||||
'color' => '#ffffff',
|
||||
'lang_key' => 'Marquee_rewards_get_2',
|
||||
"lang_params" => array(),
|
||||
'lang_params' => array(),
|
||||
));
|
||||
array_push($elements, array(
|
||||
'ele_type' => 2,
|
||||
'color' => '#ff3f3f',
|
||||
'lang_key' => $itemMeta['name'],
|
||||
"lang_params" => array(),
|
||||
'lang_params' => array(),
|
||||
));
|
||||
array_push($elements, array(
|
||||
'ele_type' => 2,
|
||||
'color' => '#ffffff',
|
||||
'lang_key' => 'Marquee_rewards_get_3',
|
||||
"lang_params" => array(),
|
||||
'lang_params' => array(),
|
||||
));
|
||||
error_log(json_encode($elements));
|
||||
$content = myself()->_callServiceStatic('NoticeService', 'buildCustom', $elements);
|
||||
|
Loading…
x
Reference in New Issue
Block a user