Commit 3346acd2 by 宋毅

tj

parent 702a274f
...@@ -20,11 +20,13 @@ class tmqueryCtl extends CtlBase { ...@@ -20,11 +20,13 @@ 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 (!req.session.userPinInfo) { if (pobj.actionProcess && pobj.actionProcess == "bw") {
return system.getResultFail(-99, "user is not login"); if (!req.session.userPinInfo) {
} return system.getResultFail(-99, "user is not login");
if (req.session.userPinInfo.encryptChannelUserId != pobj.actionBody.channelUserId) { }
return system.getResultFail(-99, "user login is error"); if (req.session.userPinInfo.encryptChannelUserId != pobj.actionBody.channelUserId) {
return system.getResultFail(-99, "user login is error");
}
} }
pobj.isDecryptUser = "yes"; pobj.isDecryptUser = "yes";
} }
......
...@@ -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