京东某JD的sign-2024最新

计算京东sign需要7个参数,通过抓包工具Fiddler可以抓到
在这里插入图片描述
我已封装成接口,使用api工具可以获取到postapi
请求地址:

https://q81235516j.zicp.fun/api

请求方式:post/get
请求参数:

method=jd.app.sign&token=7cacd4fc610c5907a3763d4fce72dd01&functionId=getAddressByPin&body={"isLastOrder":true,"latitude":39.916411,"longitude":116.410249,"settlementVersionCode":1330}&uuid=8b03fd166286&client=android&clientVersion=12.3.5&st=1709470282075&sv=111

token并不是京东的参数,而是调用接口的鉴权密码,这里可以使用我的
不同语言的获取示例:
java

OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://q81235516j.zicp.fun/api?method=jd.app.sign&token=7cacd4fc610c5907a3763d4fce72dd01&functionId=getAddressByPin&body={"isLastOrder":true,"latitude":39.916411,"longitude":116.410249,"settlementVersionCode":1330}&uuid=8b03fd166286&client=android&clientVersion=12.3.5&st=1709470282075&sv=111")
  .get()
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();

go:

package main

import (
	"fmt"
	"net/http"
	"io/ioutil"
)

func main() {

	url := "https://q81235516j.zicp.fun/api?method=jd.app.sign&token=7cacd4fc610c5907a3763d4fce72dd01&functionId=getAddressByPin&body={"isLastOrder":true,"latitude":39.916411,"longitude":116.410249,"settlementVersionCode":1330}&uuid=8b03fd166286&client=android&clientVersion=12.3.5&st=1709470282075&sv=111"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("content-type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}

php

<?php

$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => "https://q81235516j.zicp.fun/api?method=jd.app.sign&token=7cacd4fc610c5907a3763d4fce72dd01&functionId=getAddressByPin&body={"isLastOrder":true,"latitude":39.916411,"longitude":116.410249,"settlementVersionCode":1330}&uuid=8b03fd166286&client=android&clientVersion=12.3.5&st=1709470282075&sv=111",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_POSTFIELDS => "",
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}

python

import requests

url = "https://q81235516j.zicp.fun/api"

querystring = {"method":"jd.app.sign","token":"7cacd4fc610c5907a3763d4fce72dd01","functionId":"getAddressByPin","body":"{\"isLastOrder\":true,\"latitude\":39.916411,\"longitude\":116.410249,\"settlementVersionCode\":1330}","uuid":"8b03fd166286","client":"android","clientVersion":"12.3.5","st":"1709470282075","sv":"111"}

headers = {"content-type": "application/json"}

response = requests.request("GET", url, headers=headers, params=querystring)

print(response.text)

另外还有其他算法:

京东.app.mck (appcookie转mcookie)2024-03-04 19:13
京东.app.login (登录账号)2024-03-04 19:13
京东.app.reg (注册账号)2024-03-04 19:13
京东.app.发送请求2024-03-10 21:47
京东.app.sign2024-03-05 17:56
京东.app.body.cipher.enc2024-03-03 23:02
京东.app.body.cipher.dec2024-03-03 23:02
京东.app.uuid2024-03-03 23:01
京东.app.paysign2024-03-03 23:01
京东.app.eid2024-03-03 23:00
京东.app.jec2024-03-05 02:43
京东.app.jeh2024-03-05 03:02
京东.app.jdgs2024-03-03 23:00
京东.app.sdktk2024-03-03 22:59
京东.app.rechargeNumberenc2024-03-04 04:58
京东.app.rechargeNumberdec2024-03-04 04:57
京东.app.encStr2024-03-04 04:26
京东.app.addressenc2024-03-04 04:57
京东.app.addressdec2024-03-04 04:57
京东M
京东.m.jstk2024-03-03 23:04
京东.m.h5st2024-03-04 03:53
京东.m.fp

参考地址:https://console-docs.apipost.cn/preview/9e8b4251f6050d95/21573eda432809f0点我打开文档

  • 9
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 4
    评论
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

江南啊江南

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值