dev
This commit is contained in:
@@ -27,7 +27,12 @@
|
||||
"Bash(curl -X POST http://localhost:3000/api/orders/1/pay -H \"Content-Type: application/json\" -H \"Authorization: Bearer test\" -d '{\"paymentMethod\":\"wechat\"}' -v)",
|
||||
"Bash(curl -X POST http://localhost:3000/api/orders/1/pay -v)",
|
||||
"Bash(xargs grep -l \"jwt\\\\|JWT\")",
|
||||
"Bash(xargs grep -l \"invite\")"
|
||||
"Bash(xargs grep -l \"invite\")",
|
||||
"Bash(curl -s -X POST http://localhost:3000/api/auth/login/phone -H \"Content-Type: application/json\" -d '{\"phone\":\"13800138000\",\"code\":\"123456\"}')",
|
||||
"Bash(python3 -c \"import sys, json; data=json.load\\(sys.stdin\\); token=data['data']['accessToken']; import jwt; decoded=jwt.decode\\(token, options={'verify_signature': False}\\); print\\(f\\\\\"iat: {decoded['iat']}, exp: {decoded['exp']}, duration: {decoded['exp']-decoded['iat']} seconds \\({\\(decoded['exp']-decoded['iat']\\)/3600} hours\\)\\\\\"\\)\")",
|
||||
"Bash(curl -s -X GET http://localhost:3000/api/orders -H \"Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxIiwicGhvbmUiOiIxMzgwMDEzODAwMCIsImlhdCI6MTc3ODM4MTc2NywiZXhwIjoxNzc4Mzg4OTY3fQ.-jcY69afC6O6CtKtOj6tRaoiknypwDfvpXYhpz95rVE\")",
|
||||
"Bash(pnpm install *)",
|
||||
"Bash(pnpm dev:mp-weixin)"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user