Impl Functions_FUNC_GET_USER_INFO
This commit is contained in:
parent
99b65fe2f9
commit
4ef478a5bb
@ -574,12 +574,12 @@ static bool dispatcher(uint8_t *in, size_t in_len, uint8_t *out, size_t *out_len
|
||||
ret = func_get_db_tables(req.msg.str, out, out_len);
|
||||
break;
|
||||
}
|
||||
#if 0
|
||||
case Functions_FUNC_GET_USER_INFO: {
|
||||
LOG_DEBUG("[Functions_FUNC_GET_USER_INFO]");
|
||||
ret = func_get_user_info(out, out_len);
|
||||
break;
|
||||
}
|
||||
#if 0
|
||||
case Functions_FUNC_SEND_TXT: {
|
||||
LOG_DEBUG("[Functions_FUNC_SEND_TXT]");
|
||||
ret = func_send_txt(req.msg.txt, out, out_len);
|
||||
|
@ -33,7 +33,7 @@ UserInfo_t GetUserInfo()
|
||||
ui.wxid = GetSelfWxid();
|
||||
ui.name = GET_STRING_FROM_P(g_WeChatWinDllAddr + g_WxCalls.ui.nickName);
|
||||
ui.mobile = GET_STRING_FROM_P(g_WeChatWinDllAddr + g_WxCalls.ui.mobile);
|
||||
ui.home = GET_STRING(g_WeChatWinDllAddr + g_WxCalls.ui.home);
|
||||
ui.home = Wstring2String(GET_WSTRING(g_WeChatWinDllAddr + g_WxCalls.ui.home));
|
||||
|
||||
return ui;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user