sun-pc-linux 1 miesiąc temu
rodzic
commit
2073a6cf29
2 zmienionych plików z 4 dodań i 4 usunięć
  1. 0 0
      sku3d/sku3d/db/model/a-matimage.go
  2. 4 4
      sku3d/sku3d/test/test.http

+ 0 - 0
sku3d/sku3d/db/model/matimage.go → sku3d/sku3d/db/model/a-matimage.go


+ 4 - 4
sku3d/sku3d/test/test.http

@@ -1,4 +1,4 @@
-@baseUrl = http://localhost:18081/website
+@baseUrl = http://http://47.96.90.34:18081/website
 @baseUrl2 = http://localhost:7902/longyuan
 @token = Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MzkyNDU3MzIsImlkIjoiNjMwNWMzZGRkNWQ3OGRiY2I3MGI3ZjcwIiwia2V5Ijoic2t1M2QtdXNlciIsIm5hbWUiOiIxMzQwODU0NzgyMyIsIm9yaWdfaWF0IjoxNzM5MTU5MzMyLCJwYXJlbnQiOiI2MzA1YzNkZGQ1ZDc4ZGJjYjcwYjdmNzAiLCJwaG9uZSI6IjEzNDA4NTQ3ODIzIiwicm9sZSI6IiIsInN0YXRlIjoxLCJ1c2VyVHlwZSI6Mn0.LsDl1clBPDheCtJEb2RVAOame4t8_QBiao0Ty5xFlUE
 
@@ -8,11 +8,11 @@ POST {{baseUrl}}/login/password
 Authorization: {{token}}
 Content-Type: application/json
 {
-    "loginName": "liwei",
-    "password": "图片描述"
+    "phone": "admin",
+    "password": "123456"
 }
 
-### 图片
+### 上传图片
 POST {{baseUrl}}/image/create
 Authorization: {{token}}
 Content-Type: application/json