1.0.1 • Published 2 years ago

jdsdk v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago
var JdSdk = require("jdsdk");

var client = new JdSdk({
  appkey: "your appkey",
  secretkey: "your secretkey",
});


client
  .execute("jd.union.open.goods.jingfen.query", {
    goodsReq: { eliteId: 22, pageSize: 10, pageIndex: 1 },
  })
  .then((res) => {
    if (res.error_response) {
      console.log(res);
    } else {
      console.log(
        JSON.parse(res.jd_union_open_goods_jingfen_query_responce.queryResult)
      );
    }
  });