1
This commit is contained in:
parent
60eb4f35e3
commit
fa3915532e
@ -114,6 +114,23 @@ class BuyPassCbService
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
$this->_updatePassData($userDbNew);
|
$this->_updatePassData($userDbNew);
|
||||||
|
$this->_updateDynData($userDbNew);
|
||||||
|
}
|
||||||
|
|
||||||
|
private function _updateDynData($user){
|
||||||
|
SqlHelper::update
|
||||||
|
( myself()->_getMysql($user['address']),
|
||||||
|
't_dyndata',
|
||||||
|
array(
|
||||||
|
'account_id' => $user['account_id'],
|
||||||
|
'x' => TN_DAILY_BUY_LEVEL_STATE,
|
||||||
|
'y' => 0
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'val' => 0,
|
||||||
|
'modifytime' => myself()->_getNowTime()
|
||||||
|
)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
private function _updatePassData($user){
|
private function _updatePassData($user){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user