📅  最后修改于: 2022-03-11 14:57:00.299000             🧑  作者: Mango
User user = new User(123, "John Doe");
Call call = apiService.createuser(user);
call.enqueue(new Callback() {
@Override
public void onResponse(Call call, Response response) {
}
@Override
public void onFailure(Call call, Throwable t) {
}