更新示例

2.x
tanghc 5 years ago
parent 42ac4fff77
commit 7fabddcd11
  1. 2
      sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/TraditionalWebappController.java

@ -84,6 +84,8 @@ public class TraditionalWebappController {
public Food getById(@PathVariable("id") Integer id) {
Food food = new Food();
food.setId(id);
food.setName("香蕉");
food.setPrice(BigDecimal.valueOf(100));
return food;
}

Loading…
Cancel
Save