Authored by qinchao

fix: 修改地址时候,如果地址信息没有变化,返回的提示为空串,如果有变化,返回修改成功5

... ... @@ -143,7 +143,9 @@ public class BuyerOrderController {
if(changed){
info = "修改成功";
}
ApiResponse rtn = new ApiResponse(200,info,"修改地址成功");
/* ApiResponse rtn = new ApiResponse(200,info,"修改地址成功");
rtn.setMessage(info);*/
ApiResponse rtn =new ApiResponse.ApiResponseBuilder().code(200).message("修改收货地址成功").build();
rtn.setMessage(info);
return rtn;
}
... ...