From b7ab6f194967ac99cd0683b4f3b2434128e454b6 Mon Sep 17 00:00:00 2001 From: hujiabin <519660157@qq.com> Date: Mon, 12 Jun 2023 15:26:49 +0800 Subject: [PATCH] 1 --- webapp/controller/HeroController.class.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/webapp/controller/HeroController.class.php b/webapp/controller/HeroController.class.php index f759a076..02a33972 100644 --- a/webapp/controller/HeroController.class.php +++ b/webapp/controller/HeroController.class.php @@ -296,7 +296,11 @@ class HeroController extends BaseAuthedController { return ; } HeroPreset::upsertPreset($heroId,$skillId,$chipPageId,$weaponUid1,$weaponUid2); - $this->_rspOk(); + $propertyChgService = new services\PropertyChgService(); + $propertyChgService->addGunChg(); + $this->_rspData(array( + 'property_chg' => $propertyChgService->toDto(), + )); }