Commit 2a69c01f by 宋毅

tj

parent 5ca11a0b
...@@ -288,7 +288,7 @@ class tmqueryCtl extends CtlBase { ...@@ -288,7 +288,7 @@ class tmqueryCtl extends CtlBase {
//POST //POST
var qs = require('querystring'); var qs = require('querystring');
// var post_data = { pin: "syaify", serviceId: 580010, itemCode: "FW_GOODS-580010-1", platform: 6, orderNum: 1, articleType: 1 };//这是需要提交的数据 // var post_data = { pin: "syaify", serviceId: 580010, itemCode: "FW_GOODS-580010-1", platform: 6, orderNum: 1, articleType: 1 };//这是需要提交的数据
var post_data = { pin: req.session.userPinInfo.channelUserId, serviceId: itemCodeList[1], itemCode: itemCode, platform: 6, orderNum: 1, articleType: 1, additions: { "195": 0 } };//这是需要提交的数据 var post_data = { pin: req.session.userPinInfo.channelUserId, serviceId: itemCodeList[1], itemCode: itemCode, platform: 6, orderNum: 1, articleType: 1, additions: { "ncl_count": 0 } };//这是需要提交的数据
var tmpContent = JSON.stringify(post_data); var tmpContent = JSON.stringify(post_data);
var tmpContentLength = Buffer.byteLength(tmpContent); var tmpContentLength = Buffer.byteLength(tmpContent);
var content = qs.stringify(post_data); var content = qs.stringify(post_data);
......
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