修改 测试问题

This commit is contained in:
18401019693 2023-12-06 15:18:42 +08:00
parent 79c1c01003
commit 2857bb09a2
2 changed files with 3 additions and 3 deletions

View File

@ -2440,7 +2440,7 @@ public class LiveNetManager {
@Override @Override
public void accept(ResponseModel<Object> objectResponseModel) throws Exception { public void accept(ResponseModel<Object> objectResponseModel) throws Exception {
if (callback != null) { if (callback != null) {
if (objectResponseModel.getData().getCode() == 0) { if (objectResponseModel.getData().getCode() == 200) {
callback.onSuccess("1"); callback.onSuccess("1");
} else if (objectResponseModel.getData().getCode() == 500) { } else if (objectResponseModel.getData().getCode() == 500) {
callback.onSuccess("2"); callback.onSuccess("2");

View File

@ -9,9 +9,9 @@ ext {
] ]
manifestPlaceholders = [ manifestPlaceholders = [
// //
// serverHost : "https://napi.yaoulive.com", serverHost : "https://napi.yaoulive.com",
// //
serverHost : " https://ceshi.yaoulive.com", // serverHost : " https://ceshi.yaoulive.com",