TA的每日心情 | 开心 2024-7-30 00:00 |
---|
签到天数: 122 天 [LV.7]常住居民III
专家
- 积分
- 542
   
|
发表于
2021-9-18 14:57:30
|
显示全部楼层
悬赏就是发现问题解决问题,没有诚意的悬赏都是耍流氓
obj.getShareList_mobile = function (shareId, shareRandsk, callback) {
var baiduId = randString(32).toUpperCase() + ":FG=1", // getCookie("BAIDUID")
logid = window.btoa(baiduId);
http.ajax({
type: "get",
url: "https://pan.baidu.com/share/list?r=" + Math.random(),
data: {
web: 5,
app_id: 250528,
logid: logid,
channel: "chunlei",
clienttype: 5,
desc: 1,
showempty: 0,
page: 1,
num: 20,
order: "time",
shorturl: shareId,
root: 1,
"dp-logid": ""
},
headers: {
"Cookie:": "BDCLND=" + (/\+\/\=/.test(shareRandsk) ? encodeURIComponent(shareRandsk) : shareRandsk),
Referer: "https://pan.baidu.com/s/" + shareId
},
dataType: "json",
timeout: 3e3,
success: function (response) {
console.log("getShareList_mobile", response);
callback && callback(response);
},
error: function () {
callback && callback("");
}
});
};
伪代码就是这个,你一看就明白。是百毒移动端接口 |
|