提交 871d2cbc 编写于 作者: Afeiamic's avatar Afeiamic 🤺

Update PaymentController.java

上级 0a635643
......@@ -22,7 +22,7 @@ public class PaymentController {
if (ret > 0) {
return new R<>(200, "新增成功", ret);
}
return new R<>(200, "新增失败");
return new R<>(555, "新增失败");
}
@GetMapping(value = "/payment/get/{id}")
......@@ -32,6 +32,6 @@ public class PaymentController {
if (payment != null) {
return new R<>(200, "查询成功", payment);
}
return new R<>(404, "查询失败, 没有对应记录, id: 【" + id + "】");
return new R<>(444, "查询失败, 没有对应记录, id: 【" + id + "】");
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册