1
This commit is contained in:
parent
3ba4b38a8f
commit
f66f39b768
@ -114,6 +114,7 @@ class FragmentController extends BaseAuthedController
|
|||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
$token_id_arr = array();
|
$token_id_arr = array();
|
||||||
|
array_push($token_id_arr,$fragmentDbSpecial['token_id']);
|
||||||
foreach ($unique_id_arr as $val){
|
foreach ($unique_id_arr as $val){
|
||||||
$fragmentDb = Fragment::getFragmentByIdx($val);
|
$fragmentDb = Fragment::getFragmentByIdx($val);
|
||||||
if (!$fragmentDb){
|
if (!$fragmentDb){
|
||||||
@ -147,6 +148,7 @@ class FragmentController extends BaseAuthedController
|
|||||||
$propertyChgService = new services\PropertyChgService();
|
$propertyChgService = new services\PropertyChgService();
|
||||||
$propertyChgService->addUserChg();
|
$propertyChgService->addUserChg();
|
||||||
$propertyChgService->addFragment();
|
$propertyChgService->addFragment();
|
||||||
|
$propertyChgService->addHeroChg();
|
||||||
$this->_rspData(array(
|
$this->_rspData(array(
|
||||||
'property_chg' => $propertyChgService->toDto(),
|
'property_chg' => $propertyChgService->toDto(),
|
||||||
'item_id' => $itemMeta['id']
|
'item_id' => $itemMeta['id']
|
||||||
@ -190,6 +192,7 @@ class FragmentController extends BaseAuthedController
|
|||||||
$propertyChgService = new services\PropertyChgService();
|
$propertyChgService = new services\PropertyChgService();
|
||||||
$propertyChgService->addUserChg();
|
$propertyChgService->addUserChg();
|
||||||
$propertyChgService->addFragment();
|
$propertyChgService->addFragment();
|
||||||
|
$propertyChgService->addHeroChg();
|
||||||
$this->_rspData(array(
|
$this->_rspData(array(
|
||||||
'property_chg' => $propertyChgService->toDto(),
|
'property_chg' => $propertyChgService->toDto(),
|
||||||
'item_id' => $itemMeta['id']
|
'item_id' => $itemMeta['id']
|
||||||
@ -216,6 +219,7 @@ class FragmentController extends BaseAuthedController
|
|||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
$token_id_arr = array();
|
$token_id_arr = array();
|
||||||
|
array_push($token_id_arr,$fragmentDbSpecial['token_id']);
|
||||||
foreach ($unique_id_arr as $val){
|
foreach ($unique_id_arr as $val){
|
||||||
$fragmentDb = Fragment::getFragmentByIdx($val);
|
$fragmentDb = Fragment::getFragmentByIdx($val);
|
||||||
if (!$fragmentDb){
|
if (!$fragmentDb){
|
||||||
@ -249,6 +253,7 @@ class FragmentController extends BaseAuthedController
|
|||||||
$propertyChgService = new services\PropertyChgService();
|
$propertyChgService = new services\PropertyChgService();
|
||||||
$propertyChgService->addUserChg();
|
$propertyChgService->addUserChg();
|
||||||
$propertyChgService->addFragment();
|
$propertyChgService->addFragment();
|
||||||
|
$propertyChgService->addGunChg();
|
||||||
$this->_rspData(array(
|
$this->_rspData(array(
|
||||||
'property_chg' => $propertyChgService->toDto(),
|
'property_chg' => $propertyChgService->toDto(),
|
||||||
'item_id' => $itemMeta['id']
|
'item_id' => $itemMeta['id']
|
||||||
@ -293,6 +298,7 @@ class FragmentController extends BaseAuthedController
|
|||||||
$propertyChgService = new services\PropertyChgService();
|
$propertyChgService = new services\PropertyChgService();
|
||||||
$propertyChgService->addUserChg();
|
$propertyChgService->addUserChg();
|
||||||
$propertyChgService->addFragment();
|
$propertyChgService->addFragment();
|
||||||
|
$propertyChgService->addGunChg();
|
||||||
$this->_rspData(array(
|
$this->_rspData(array(
|
||||||
'property_chg' => $propertyChgService->toDto(),
|
'property_chg' => $propertyChgService->toDto(),
|
||||||
'item_id' => $itemMeta['id']
|
'item_id' => $itemMeta['id']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user