diff --git a/src/main/java/com/hnucm/c202201020328/System_messagesActivity.java b/src/main/java/com/hnucm/c202201020328/System_messagesActivity.java index 7ecd592..63a2ba9 100644 --- a/src/main/java/com/hnucm/c202201020328/System_messagesActivity.java +++ b/src/main/java/com/hnucm/c202201020328/System_messagesActivity.java @@ -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);