1
This commit is contained in:
parent
22f6f43749
commit
835a831e8b
@ -145,6 +145,24 @@ class UserController extends BaseAuthedController {
|
|||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (SERVER_ENV == _TEST) {
|
||||||
|
|
||||||
|
array_push($addItems,
|
||||||
|
array(
|
||||||
|
'item_id' => V_ITEM_GOLD,
|
||||||
|
'item_num' => 500000
|
||||||
|
));
|
||||||
|
$itemIds = array(30100,30700,30900,40702,40902,40102);
|
||||||
|
foreach ($itemIds as $row){
|
||||||
|
array_push($addItems,
|
||||||
|
array(
|
||||||
|
'item_id' => $row,
|
||||||
|
'item_num' => 1
|
||||||
|
));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$awardService = new services\AwardService();
|
$awardService = new services\AwardService();
|
||||||
$propertyChgService = new services\PropertyChgService();
|
$propertyChgService = new services\PropertyChgService();
|
||||||
$this->_addItems($addItems, $awardService, $propertyChgService);
|
$this->_addItems($addItems, $awardService, $propertyChgService);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user