From 59ce095e4f04b00249a36039bc9e53c383e1a9f6 Mon Sep 17 00:00:00 2001 From: zhaohe Date: Tue, 10 Sep 2024 15:20:23 +0800 Subject: [PATCH] append --- appsrc/service/user_mgr_service.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appsrc/service/user_mgr_service.cpp b/appsrc/service/user_mgr_service.cpp index 3a11b4c..d0a8c13 100644 --- a/appsrc/service/user_mgr_service.cpp +++ b/appsrc/service/user_mgr_service.cpp @@ -12,7 +12,7 @@ void UserMgrService::initialize() { REG_EXTFN_VOID(unlogin, void()); REG_EXTFN(addUser, void(string, string, UsrRoleType), name, passwd, roleType); REG_EXTFN(chpasswd, void(int, string, string), id, newpasswd, passwd); - REG_EXTFN(changeUsrRoleType, void(int, UsrRoleType), name, roleType); + REG_EXTFN(changeUsrRoleType, void(int, UsrRoleType), id, roleType); REG_EXTFN(delUser, void(int), id); REG_EXTFN(updateUserName, void(int, string), id, name); REG_EXTFN_VOID(getAllUser, void());