Commit bd7ae9e6 by 刘泽奇

123

parent 2899a46d
......@@ -270,6 +270,7 @@
let obj = this.$root.copyParams(userInfo, "userPinByLgoinVcode", "/auth/accessAuth/springBoard");
this.$root.loading = true;
this.$root.postReq("/web/trademark/tmqueryCtl/doPost", obj).then((d) => {
console.log(d.msg);
this.$root.loading = false;
if (d.status == 0) {
$.cookie('channelUserId', d.data.channelUserId);
......@@ -324,6 +325,7 @@
this.$root.loading = true;
this.$root.postReq("/web/trademark/tmqueryCtl/doPost", userInfo).then((d) => {
this.$root.loading = false;
console.log(d.msg);
if (d.status == 0) {
$.cookie('channelUserId', d.data.channelUserId);
$.cookie('userName', d.data.userName);
......
......@@ -286,6 +286,7 @@
var userInfo = that.$root.copyParams(obj, "userPinByRegister", "/auth/accessAuth/springBoard");
console.log(userInfo, 'mmmmmmmmmmmmmmmmmmmmmm');
this.$root.postReq("/web/trademark/tmqueryCtl/doPost", userInfo).then((d) => {
console.log("返回信息", d.msg);
if (d.status == 0) {
this.$root.channelUserId = d.data.channelUserId;
console.log("返回信息", d)
......@@ -311,6 +312,7 @@
that.$refs.form2.validate(valid => {
if (valid) {
that.$root.postReq("/web/userCtl/login", { u: obj }).then(function (d) {
console.log(d.msg);
if (d.status == 0) {
that.$root.refreshLoginState(() => {
console.log("....................................................................................innner");
......
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