金民工程向黑龙江民政厅合并
This commit is contained in:
@@ -24,11 +24,12 @@ export default {
|
|||||||
handleLogin() {
|
handleLogin() {
|
||||||
const {code} = this.$route.query
|
const {code} = this.$route.query
|
||||||
if (code) {
|
if (code) {
|
||||||
this.$http.post("/app/wxcp/portal/hljJmgcLogin2", null, {
|
this.$http.post("/app/wxcp/portal/hljJmgcLogin", null, {
|
||||||
withoutToken: true,
|
withoutToken: true,
|
||||||
params: {code}
|
params: {code}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res?.data?.data?.userId) {
|
const token = res?.data?.data?.["TA-JTOKEN"]
|
||||||
|
if (token) {
|
||||||
// location.replace()
|
// location.replace()
|
||||||
}
|
}
|
||||||
}).catch(() => this.err = "error")
|
}).catch(() => this.err = "error")
|
||||||
Reference in New Issue
Block a user