Commit 9486bbbf by 宋毅

tj

parent 26c922ee
......@@ -22,7 +22,7 @@ class jdAuthAPI extends APIBase {
let ctx = new Context('x3k0s704lfun-test.cn-north-1.jdcloud-api.net', '/market/order/api/submit', 'POST', null, 'empty');
ctx.regionId = 'cn-north-1'
ctx.headers.set('content-type', 'application/json')
let credentials = {
accessKeyId: 'C6D680733C19362B5DF478207D6A90A4', //替换自己的AK
secretAccessKey: 'EB9AFEE49CE41700CADD5F2EE3B2122C' //替换自己的SK--jd>>>>>>>
......@@ -39,7 +39,7 @@ class jdAuthAPI extends APIBase {
ctx.body = tmpContent;
ctx.method = 'POST'
signer = new Signer(ctx, credentials);
var signer = new Signer(ctx, credentials);
ctx.headers.set('Content-Length', tmpContentLength)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment