|
|
@ -60,7 +60,7 @@ void UserMgrService::delUser(shared_ptr<MsgProcessContext> cxt, int id) { |
|
|
|
void UserMgrService::updateUserUid(shared_ptr<MsgProcessContext> cxt, int id, string uid) { |
|
|
|
string olduid; |
|
|
|
auto user = m_db->updateUserUid(id, uid, olduid); |
|
|
|
APPCHECK(!user, err::kappe_user_not_exist, fmt::format("user {} not exist", id)); |
|
|
|
APPCHECK(user, err::kappe_user_not_exist, fmt::format("user {} not exist", id)); |
|
|
|
} |
|
|
|
void UserMgrService::getAllUser(shared_ptr<MsgProcessContext> cxt) { |
|
|
|
auto users = m_db->getAllUserJson(); |
|
|
|