忘了改接口地址

This commit is contained in:
kun1h 2024-02-02 18:29:47 +08:00
parent ed9eb13cd0
commit dcb98da660
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ class MainActivity : AppCompatActivity() {
builder = builder.addFormDataPart("file", "1.jpg", requestFile) builder = builder.addFormDataPart("file", "1.jpg", requestFile)
val multipartBody: MultipartBody = builder.build() val multipartBody: MultipartBody = builder.build()
val request = Request.Builder() val request = Request.Builder()
.url("http://192.168.0.200:3000/api/v1/plans/" + planText.text + "/ways") .url("http://travebing.bing89.com/api/v1/plans/" + planText.text + "/ways")
.post(multipartBody) .post(multipartBody)
.build() .build()