From 5d7a2744f2dc6ed22c539ca69669f30db249f3f7 Mon Sep 17 00:00:00 2001 From: hujiabin Date: Fri, 10 Mar 2023 13:32:48 +0800 Subject: [PATCH] 1 --- webapp/controller/UserController.class.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/webapp/controller/UserController.class.php b/webapp/controller/UserController.class.php index fad5f9fb..8de514ee 100644 --- a/webapp/controller/UserController.class.php +++ b/webapp/controller/UserController.class.php @@ -105,6 +105,11 @@ class UserController extends BaseAuthedController { 'item_id' => V_ITEM_GOLD, 'item_num' => 100000 )); + array_push($addItems, + array( + 'item_id' => V_ITEM_DIAMOND, + 'item_num' => 100000 + )); $awardService = new services\AwardService(); $propertyChgService = new services\PropertyChgService(); $this->_addItems($addItems, $awardService, $propertyChgService);