Giter Site home page Giter Site logo

open-sdk-node's People

Contributors

xu42 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

open-sdk-node's Issues

【急】设置时间参数查询订单报错

代码如下:

const youzanyun = require('youzanyun-sdk');
const token = 'xxx';
const params = {
  end_created: '2020-03-05',  // 尝试改成:'2020-03-05T00:00:00.000Z'  和 new Date() 依然报错。
  start_created: '2020-03-01'
};

const resp = youzanyun.client.call({
  api: 'youzan.trades.sold.get',
  version: '4.0.1',
  token,
  params,
});

resp.then(function(res) {
  console.log(res.data);
});

返回的结果为:
{ gw_err_resp: { err_msg: '系统异常', err_code: 5001 } }

请问,我应该如何正确设置时间参数,获取指定时间区间的订单?

youzan.item.sku.list 1.0.0 请求总是不成功

代码:

const token = 'xxxx';

const params = {
   item_ids: [606302975, 577755618]
};
const resp = youzanyun.client.call({
  api: 'youzan.item.sku.list',
  version: '1.0.0',
  token,
  params,
});
resp.then(function(res) {
  console.log(res.data); 
});

结果:

{
  code: 121000104,
  data: null,
  success: false,
  message: '请求参数非法 itemIds is empty'
}

很明显已赋值参数 item_ids, 但接口返回 itemIds is empty, 求解

使用消息解密出现错误

{
"library": "digital envelope routines",
"function": "EVP_DecryptFinal_ex",
"reason": "wrong final block length",
"code": "ERR_OSSL_EVP_WRONG_FINAL_BLOCK_LENGTH"
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.