子程序1 ()返回 (0
) 变量名 | 类 型 | 静态 | 数组 | 备 注 |
res | 文本型 | | |
json | 类_json | | |
nonce | 文本型 | | |
res =
initData ()调试输出 (res
)json.
解析 (res, ,
)nonce = json.
取通用属性 (“data.nonce”,
)调试输出 (nonce
) 变量名 | 类 型 | 静态 | 数组 | 备 注 |
局_网址 | 文本型 | | |
局_结果 | 字节集 | | |
局_提交数据 | 文本型 | | |
局_返回 | 文本型 | | |
局_提交数据 =
“locale=zh_CN&mode=redirect&appId=store&guestLoginButtonVisible=false×tamp=” +
时间_取现行时间戳 (真) +
“000” +
“&backUrl=https%3A%2F%2Fwww.dji.com&pnonce=&psign=&authTicket=&lang=zh_CN®ion&actualAppId=”局_结果 =
网页_访问_对象 (“https://account.dji.com/user/webrest/v1/initData.do”, 1, 局_提交数据, , , , , , , , , , , , , , , ,
)局_返回 =
到文本 (编码_编码转换对象 (局_结果, , ,
))
返回 (局_返回
)