...
|
...
|
@@ -742,9 +742,9 @@ public class BjwjActivity extends BaseActivity { |
|
|
final RequestBody requestBody = RequestBody.create(MediaType.parse("multipart/form-data"), file);
|
|
|
MultipartBody.Part body = MultipartBody.Part.createFormData("files", file.getName(), requestBody);
|
|
|
sRetrofit.create(ApiService.class)
|
|
|
.upload2("2f9c663e-9137-43cd-a2fd-02e1a09f03ff",
|
|
|
"2f9c663e-9137-43cd-a2fd-02e1a09f03ff",
|
|
|
"2f9c663e-9137-43cd-a2fd-02e1a09f03ff", body)
|
|
|
.upload2(Config.Token,
|
|
|
Config.Token,
|
|
|
Config.Token, body)
|
|
|
.enqueue(new Callback<PostFielBean>() {
|
|
|
@Override
|
|
|
public void onResponse(Call<PostFielBean> call, Response<PostFielBean> response) {
|
...
|
...
|
|