This commit is contained in:
parent
1e2d04778b
commit
146afb4e42
|
@ -38,7 +38,7 @@ public class System_messagesActivity extends AppCompatActivity {
|
|||
|
||||
// 初始化 Retrofit 和 ApiService
|
||||
Retrofit retrofit = new Retrofit.Builder()
|
||||
.baseUrl("https://dev.usemock.com/673ff29f94b857f277d90f07/") // 替换为你的 API 基础 URL
|
||||
.baseUrl("http://127.0.0.1:8080/system/message/list") // 替换为你的 API 基础 URL
|
||||
.addConverterFactory(GsonConverterFactory.create())
|
||||
.build();
|
||||
apiService = retrofit.create(ApiService.class);
|
||||
|
|
Loading…
Reference in New Issue