feat: 根据502647092提供的偏移,新增登录二维码
This commit is contained in:
1 parent
581aacb8ce
commit
aaada266df
6 files changed
+49
-12
No files matched your search
@@ -572,6 +572,12 @@ string Dispatch(struct mg_connection *c, struct mg_http_message *hm) {
|
||||
ret = ret_data.dump();
|
||||
break;
|
||||
}
|
||||
case WECHAT_GET_QRCODE: {
|
||||
string url = g_context.account_mgr->GetQRCodeUrl();
|
||||
json ret_data = {{"code", 1}, {"result", "OK"},{"qrCodeUrl",url}};
|
||||
ret = ret_data.dump();
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user