haixiangyan / react-adder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

前端需要发送请求获取 ResultList

haixiangyan opened this issue · comments

  • get /results -> 获取 ResultList
  • post /results -> 添加一个 Result

Result 的数据类型如下:

type TResult = {
  id: number
  first: number
  second: number
  result: number
  createdAt: number
}