📌 📄 内容摘要:
@thinkhard 在 有没有佬知道cc switch查余额怎么总是undefined啊 中发帖
用了查余额里面的NewAPI的默认代码,接口请求成功了,但是总是undefined
[image]
({
request: {
url: "{{baseUrl}}/api/user/self",
method: "GET",
headers: {
"Content-Type": "application/json",
Authorization: "Bearer {{accessToken}}",
"New-Api-User": "{{userId}}",
},
},
extractor: function (response) {
if (response.success && response.data) {
return {
planName: response....
────────── 链接信息 ──────────
🔗 论坛链接: linux.do
📎 访问地址: https://linux.do/t/topic/1410015/1
─────────────────────────────
📢 来源:LINUX DO