This commit is contained in:
aozhiwei 2021-12-13 14:13:56 +08:00
parent 49d25b1d3e
commit e290c00987
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ class UserController extends BaseAuthedController {
$this->_rspData(array( $this->_rspData(array(
'info' => User::show($userInfo) 'info' => User::show($userInfo)
)); ));
$this->_incDailyV(TN_DAILY_LOGINS, 0); $this->_incDailyV(TN_DAILY_LOGINS, 0, 1);
} }
private function loginCheck($userInfo) private function loginCheck($userInfo)

View File

@ -113,7 +113,7 @@ class DynData extends BaseModel {
) )
); );
if (self::$dynData) { if (self::$dynData) {
self::$dynData[$key] = $defVal; self::$dynData[$key] = $val;
} }
} }