diff --git a/webapp/controller/UserController.class.php b/webapp/controller/UserController.class.php index 9ef1b6c3..74a2ab79 100644 --- a/webapp/controller/UserController.class.php +++ b/webapp/controller/UserController.class.php @@ -1168,7 +1168,10 @@ class UserController extends BaseAuthedController { } } } - +public function test(){ + $a = $this->_getShortAccountId("6517_2006_s1_0_104162729566475397176"); + print_r($a); +} private function _updateSubUserAccount() { if ($this->_getChannel() == BC_POLY_CHANNEL) { $shortAccountId = $this->_getShortAccountId(myself()->_getAccountId()); @@ -1183,7 +1186,7 @@ class UserController extends BaseAuthedController { 'modifytime' => myself()->_getNowTime(), ), array( - 'org_account_id' => myself()->_getAccountId(), + 'org_account_id' => $shortAccountId, 'cur_account_id' => myself()->_getAccountId(), 'createtime' => myself()->_getNowTime(), 'modifytime' => myself()->_getNowTime(),