forked from Adleraci/adlerka.top
Edit userinfo
This commit is contained in:
parent
bc4e698b35
commit
1e8877c87e
@ -44,11 +44,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function getUserInfo() {
|
async function getUserInfo() {
|
||||||
const userId = document.getElementById("getUserInfoId").value;
|
|
||||||
|
|
||||||
const data = new URLSearchParams();
|
const data = new URLSearchParams();
|
||||||
data.append("action", "get_user_info");
|
data.append("action", "get_user_info");
|
||||||
data.append("user_id", userId);
|
|
||||||
|
|
||||||
const result = await doAccountAction(data, "User info retrieved Successfully!", "User info retrieval failed.");
|
const result = await doAccountAction(data, "User info retrieved Successfully!", "User info retrieval failed.");
|
||||||
|
|
||||||
@ -128,9 +125,6 @@
|
|||||||
<div class="form-container" id="getUserInfoForm">
|
<div class="form-container" id="getUserInfoForm">
|
||||||
<h1>Get User Info</h1>
|
<h1>Get User Info</h1>
|
||||||
<form>
|
<form>
|
||||||
<label for="getUserInfoId">User ID:</label>
|
|
||||||
<input type="text" id="getUserInfoId" name="getUserInfoId" required>
|
|
||||||
|
|
||||||
<button type="button" onclick="getUserInfo()">Get User Info</button>
|
<button type="button" onclick="getUserInfo()">Get User Info</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user