用于外部程序调用接口(如 /api/todos),网页端登录后无需 token。
/api/todos
GET 你的域名/api/todos Authorization: Bearer YOUR_TOKEN
POST 你的域名/api/todos {"title":"xxx"} + 同上 Header
/todos.php