忘了改接口地址
This commit is contained in:
parent
ed9eb13cd0
commit
dcb98da660
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue