输出金山词霸每日一句的励志英语
接口地址: http://api.cc1990.cc/api/dailyenglish
返回格式: JSON
请求方式: GET
请求示例: http://api.cc1990.cc/api/dailyenglish 调用测试
请求参数说明:
名称 | 是否必填 | 类型 | 说明 | 接口测试 |
---|---|---|---|---|
type | 否 | sj | 随机输出一段励志英语 | 调用测试 |
返回参数说明:
名称 | 类型 | 说明 |
---|
返回示例:【实时在线调试】2025-06-17 23:26:59
<br /> <b>Fatal error</b>: Uncaught Error: Class 'Redis' not found in /www/wwwroot/api.cc1990.cc/app/Http/Method/Redis.php:14 Stack trace: #0 /www/wwwroot/api.cc1990.cc/app/Http/Controller/IndexController.php(130): RInterceptor->init() #1 /www/wwwroot/api.cc1990.cc/app/Core/route/Route.php(260): indexController->api() #2 /www/wwwroot/api.cc1990.cc/app/Core/route/Route.php(218): Route::impController('IndexController...') #3 /www/wwwroot/api.cc1990.cc/app/Core/route/Route.php(124): Route::ifimp('/api/{apiVal}', 'IndexController...', NULL) #4 /www/wwwroot/api.cc1990.cc/app/Core/route/Route.php(44): Route::get('/api/{apiVal}', 'IndexController...', NULL) #5 /www/wwwroot/api.cc1990.cc/route/web.php(18): Route::any('/api/{apiVal}', 'IndexController...') #6 /www/wwwroot/api.cc1990.cc/app/init.php(22): require('/www/wwwroot/ap...') #7 /www/wwwroot/api.cc1990.cc/public/index.php(17): require('/www/wwwroot/ap...') #8 {main} thrown in <b>/www/wwwroot/api.cc1990.cc/app/Http/Method/Redis.php</b> on line <b>14</b><br />![]()
返回示例:
{ "code": 200, "msg": "每日一句英语", "data": { "time": "2024-08-22", "sid": "5325", "tts": "https://staticedu-wps.cache.iciba.com/audio/23c00f0a7aca8af390e52eceaca82e60.mp3", "en": "You're the only one who can save us now. — The 100 ", "zh": "你是唯一能拯救我们的人。 —《100%生存》", "haibao-1": "https://staticedu-wps.cache.iciba.com/image/ac7d4f2ef38caaf31d44202be7e7997e.png", "haibao-2": "https://staticedu-wps.cache.iciba.com/image/71997fa082318cf15234c9eaacfec25d.jpg", "fenxiang_img": "https://staticedu-wps.cache.iciba.com/image/b6572172a0002a58c28f566b2e8c5722.png", "author": "觅知博客www.98dou.cn提供技术支持" } }
请求参数设置:
参数名称 | 参数值 |
---|---|
{ "code": 200, "msg": "每日一句英语", "data": { "time": "2024-08-22", "sid": "5325", "tts": "https://staticedu-wps.cache.iciba.com/audio/23c00f0a7aca8af390e52eceaca82e60.mp3", "en": "You're the only one who can save us now. — The 100 ", "zh": "你是唯一能拯救我们的人。 —《100%生存》", "haibao-1": "https://staticedu-wps.cache.iciba.com/image/ac7d4f2ef38caaf31d44202be7e7997e.png", "haibao-2": "https://staticedu-wps.cache.iciba.com/image/71997fa082318cf15234c9eaacfec25d.jpg", "fenxiang_img": "https://staticedu-wps.cache.iciba.com/image/b6572172a0002a58c28f566b2e8c5722.png", "author": "觅知博客www.98dou.cn提供技术支持" } }
错误码格式说明:
名称 | 类型 | 说明 |
---|
代码示例:
http://api.cc1990.cc/api/dailyenglish
http://api.cc1990.cc/api/dailyenglish?type=sj