https://xxyh.xiaoli.icu/api/p_blessing.phphttps://xxyh.xiaoli.icu/api/p_blessing.php?scene=%E7%94%9F%E6%97%A5&count=1scene 支持生日、新年、春节、中秋、端午、教师节、母亲节、父亲节、婚礼、升职、开业、乔迁、毕业、考试、康复、日常。
to 传称呼会自动拼在句首,例如「小明,生日快乐!…」。
可用场景随 scenes 字段返回,不用记。
| 参数名 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
scene |
string | 选填 | 生日 | 场景 |
to |
string | 选填 | — | 称呼,可空 |
count |
int | 选填 | 1 | 返回条数 |
https://xxyh.xiaoli.icu/api/p_blessing.php
此处将显示接口返回结果…
{
"code": 200,
"msg": "ok",
"data": {
"scene": "生日",
"text": "小明,生日快乐!愿新的一岁,所求皆如愿,所行化坦途。"
},
"scenes": ["生日", "新年", "春节", "中秋"]
}
—