在HBuilderX使用uni.request返回错误,后端接口经调试是正常的,返回的错误如下,是什么意思。
这个程序运行了几个月了都没问题,代码几个月都没修改,今天突然报这个错,所有代码都没动过。
{
"data": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\"/>\r\n<title>500 - �ڲ�����������</title>\r\n<style type=\"text/css\">\r\n<!--\r\nbody{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}\r\nfieldset{padding:0 15px 10px 15px;} \r\nh1{font-size:2.4em;margin:0;color:#FFF;}\r\nh2{font-size:1.7em;margin:0;color:#CC0000;} \r\nh3{font-size:1.2em;margin:10px 0 0 0;color:#000000;} \r\n#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:\"trebuchet MS\", Verdana, sans-serif;color:#FFF;\r\nbackground-color:#555555;}\r\n#content{margin:0 0 0 2%;position:relative;}\r\n.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}\r\n-->\r\n</style>\r\n</head>\r\n<body>\r\n<div id=\"header\"><h1>����������</h1></div>\r\n<div id=\"content\">\r\n <div class=\"content-container\"><fieldset>\r\n <h2>500 - �ڲ�����������</h2>\r\n <h3>�����ҵ���Դ�������⣬�������ʾ��</h3>\r\n </fieldset></div>\r\n</div>\r\n</body>\r\n</html>\r\n",
"statusCode": 500,
"header": {
"X-Powered-By": "ASP.NET",
"Content-Length": "1141",
"X-RateLimit-Reset": "1735260610",
"Cache-Control": "private",
"X-RateLimit-Remaining": "496",
"Date": "Fri, 27 Dec 2024 00:50:07 GMT",
"X-RateLimit-Limit": "500",
"X-H3-TraceId": "37feaf62d0bdd98b",
"X-AspNetMvc-Version": "5.2",
"Set-Cookie": "[shardkey2=Vessel_91;path=/;expires=Fri, 27 Dec 2024 10:50:07 GMT, upstreamip3=172.31.255.75:29585;path=/;expires=Fri, 27 Dec 2024 10:50:07 GMT, h3_Session=e214e9a2a00341f5957e63a957be7dc6; expires=Fri, 27-Dec-2024 10:50:07 GMT; path=/]",
"Connection": "keep-alive",
"X-AspNet-Version": "4.0.30319",
"Content-Type": "text/html",
"Server": "openresty"
},
"cookies": [
"shardkey2=Vessel_91;path=/;expires=Fri 27 Dec 2024 10:50:07 GMT",
" upstreamip3=172.31.255.75:29585;path=/;expires=Fri 27 Dec 2024 10:50:07 GMT",
" h3_Session=e214e9a2a00341f5957e63a957be7dc6; expires=Fri 27-Dec-2024 10:50:07 GMT; path=/"
],
"errMsg": "request:ok"
}