From 146afb4e42c3a15350071677f0a5792fe19fd39b Mon Sep 17 00:00:00 2001 From: YGRXZYGR <1513065229@qq.com> Date: Mon, 9 Dec 2024 00:00:28 +0800 Subject: [PATCH] =?UTF-8?q?=EF=BC=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/hnucm/c202201020328/System_messagesActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);