今日运势

GET 正常运行

随机生成今日运势,包含综合、爱情、事业、财运及幸运数字、颜色、方位、物品。

请求地址
/api/proxy/fortune
响应示例
{
  "code": 200,
  "message": "success",
  "data": {
    "overall": "大吉",
    "overallStars": 7,
    "love": "中吉",
    "loveStars": 5,
    "career": "吉",
    "careerStars": 6,
    "wealth": "小吉",
    "wealthStars": 4,
    "luckyNumber": 42,
    "luckyColor": "蓝色",
    "luckyDirection": "东南",
    "luckyItem": "咖啡"
  }
}
调用示例
fetch('https://www.somoe.top/api/proxy/fortune')
  .then(res => res.json())
  .then(data => console.log(data.data.overall));
在线测试