Commit 3346acd2 by 宋毅

tj

parent 702a274f
...@@ -20,12 +20,14 @@ class tmqueryCtl extends CtlBase { ...@@ -20,12 +20,14 @@ class tmqueryCtl extends CtlBase {
if (!pobj.actionBody.channelUserId) { if (!pobj.actionBody.channelUserId) {
return system.getResultFail(-99, "verify channelUserId is not empty"); return system.getResultFail(-99, "verify channelUserId is not empty");
} }
if (pobj.actionProcess && pobj.actionProcess == "bw") {
if (!req.session.userPinInfo) { if (!req.session.userPinInfo) {
return system.getResultFail(-99, "user is not login"); return system.getResultFail(-99, "user is not login");
} }
if (req.session.userPinInfo.encryptChannelUserId != pobj.actionBody.channelUserId) { if (req.session.userPinInfo.encryptChannelUserId != pobj.actionBody.channelUserId) {
return system.getResultFail(-99, "user login is error"); return system.getResultFail(-99, "user login is error");
} }
}
pobj.isDecryptUser = "yes"; pobj.isDecryptUser = "yes";
} }
var rc = system.getObject("util.execClient"); var rc = system.getObject("util.execClient");
......
...@@ -1307,12 +1307,13 @@ ...@@ -1307,12 +1307,13 @@
channelOrder: { channelOrder: {
quantity: 1, quantity: 1,
payStatus: "dfk" payStatus: "dfk"
}, }
channelUserId: that.$route.query.channelUserId
}; };
obj.tm.tmFormType = that.form.tmFormType.toString(); obj.tm.tmFormType = that.form.tmFormType.toString();
this.$root.loading = true; this.$root.loading = true;
var jdObj = that.$root.copyParams(obj, "subTmOrder", "/action/tmOrder/springBoard", "yes", "yes"); var jdObj = that.$root.copyParams(obj, "subTmOrder", "/action/tmOrder/springBoard", "yes", "yes");
obj.channelUserId = obj.channelUser.channelUserId;
that.$root.postReq("/web/trademark/tmqueryCtl/doPost", jdObj).then(function (d) { that.$root.postReq("/web/trademark/tmqueryCtl/doPost", jdObj).then(function (d) {
that.$root.loading = false; that.$root.loading = false;
console.log(`///////////////////////////////`, d); console.log(`///////////////////////////////`, d);
......
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