save code

This commit is contained in:
Your Name
2026-03-08 16:02:37 +00:00
parent 339e7dc1f6
commit 01fa717f5f
40 changed files with 196 additions and 22 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 222 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 277 KiB

+3 -3
View File
@@ -92,12 +92,12 @@
<div class="form-group">
<label for="clothImgUrl">服装图片URL:</label>
<input type="text" id="clothImgUrl" name="cloth_img"
value="http://112.126.94.241:18888/static/imgs/cloth_20250713_092536_279335d2.jpg"
value="http://117.50.44.174:18888/static/imgs/cloth_20250713_092536_279335d2.jpg"
placeholder="输入服装图片的URL" required>
<div class="preview">
<div class="preview-item">
<span>URL图片预览:</span>
<img id="urlPreview" src="http://112.126.94.241:18888/static/imgs/cloth_20250713_092536_279335d2.jpg"
<img id="urlPreview" src="http://117.50.44.174:18888/static/imgs/cloth_20250713_092536_279335d2.jpg"
alt="URL图片预览" onerror="this.style.display='none'">
</div>
</div>
@@ -149,7 +149,7 @@
statusDiv.className = "";
const formData = new FormData(this);
const apiUrl = "http://47.94.244.112:19001/process-image";
const apiUrl = "http://117.50.44.174:19001/process-image";
fetch(apiUrl, {
method: 'POST',
Binary file not shown.

After

Width:  |  Height:  |  Size: 709 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 709 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

+1 -1
View File
@@ -257,7 +257,7 @@
console.log("准备发送的数据:", data); // 调试用
// 调用API
fetch('http://112.126.94.241:28888/change_cloth_base64', {
fetch('http://117.50.44.174:28888/change_cloth_base64', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
+3 -3
View File
@@ -94,12 +94,12 @@
<div class="input-group">
<label for="human-url">人体图片URL:</label>
<input type="text" id="human-url" value="http://112.126.94.241:18888/static/imgs/human_20250713_091718_fb1f8a05.jpg">
<input type="text" id="human-url" value="http://117.50.44.174:18888/static/imgs/human_20250713_091718_fb1f8a05.jpg">
</div>
<div class="input-group">
<label for="cloth-url">衣服图片URL:</label>
<input type="text" id="cloth-url" value="http://112.126.94.241:18888/static/imgs/cloth_20250713_092536_279335d2.jpg">
<input type="text" id="cloth-url" value="http://117.50.44.174:18888/static/imgs/cloth_20250713_092536_279335d2.jpg">
</div>
<button id="submit-btn">提交处理</button>
@@ -136,7 +136,7 @@
try {
// 发送POST请求
const response = await fetch('http://112.126.94.241:18888/change_cloth', {
const response = await fetch('http://117.50.44.174:18888/change_cloth', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
+1 -1
View File
@@ -246,7 +246,7 @@
// 获取服务器状态数据
async function fetchServerStatus() {
try {
const response = await fetch('http://112.126.94.241:18018/get_server_state');
const response = await fetch('http://117.50.44.174:18018/get_server_state');
if (!response.ok) throw new Error('网络响应不正常');
return await response.json();
} catch (error) {