1
This commit is contained in:
parent
62374d0314
commit
55f70f26ba
@ -455,14 +455,36 @@ class BagController extends BaseAuthedController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private function sendNotice($itemMeta,$awardNum){
|
private function sendNotice($itemMeta,$awardNum){
|
||||||
$elements = array(
|
$elements = array();
|
||||||
array(
|
array_push($elements, array(
|
||||||
|
'ele_type' => 2,
|
||||||
|
'color' => '#ffffff',
|
||||||
|
'lang_key' => 'Marquee_rewards_get_1',
|
||||||
|
'lang_params' => array(),
|
||||||
|
));
|
||||||
|
array_push($elements, array(
|
||||||
|
'ele_type' => 1,
|
||||||
|
//'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(),
|
||||||
|
));
|
||||||
|
array_push($elements, array(
|
||||||
'ele_type' => 2,
|
'ele_type' => 2,
|
||||||
'color' => '#ff3f3f',
|
'color' => '#ff3f3f',
|
||||||
'lang_key' => $itemMeta['name'],
|
'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(),
|
||||||
|
));
|
||||||
if ($itemMeta['id'] == V_ITEM_BCEG){
|
if ($itemMeta['id'] == V_ITEM_BCEG){
|
||||||
array_push($elements, array(
|
array_push($elements, array(
|
||||||
'ele_type' => 1,
|
'ele_type' => 1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user