在测试下单接口这章里
1、在使用老师的微信小工具时获取了新的token后,再使用支付按钮后,在微信小工具的 Console中 报错
POST http://gt.cn/api/v1/order 500 (Internal Server Error)
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>System Error</title>
<meta name="robots" content="noindex,nofollow" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<style>
/* Base */
body {
color: #333;
font: 14px Verdana, "Helvetica Neue", helvetica, Arial, 'Microsoft YaHei', sans-serif;
margin: 0;
padding: 0 20px 20px;
word-break: break-word;
}
h1{
margin: 10px 0 0;
font-size: 28px;
font-weight: 500;
line-height: 32px;
}
h2{
color: #4288ce;
font-weight: 400;
padding: 6px 0;
margin: 6px 0 0;
font-size: 18px;
border-bottom: 1px solid #eee;
}
2、又在在postman 中,http://z.cn/api/v1/order
{"msg":"Token已过期或无效Token","error_code":10001,"request_url":"\/api\/v1\/order"}