谷歌微信登录注册新增参数
This commit is contained in:
@@ -489,7 +489,8 @@ export default defineComponent({
|
|||||||
//微信登录
|
//微信登录
|
||||||
wechatLogin(value:any) {
|
wechatLogin(value:any) {
|
||||||
let data = {
|
let data = {
|
||||||
code : value.code
|
code : value.code,
|
||||||
|
type:1
|
||||||
}
|
}
|
||||||
Https.axiosGet(Https.httpUrls.parseWeChatCode, {params:data})
|
Https.axiosGet(Https.httpUrls.parseWeChatCode, {params:data})
|
||||||
.then((rv: any) => {
|
.then((rv: any) => {
|
||||||
@@ -499,7 +500,7 @@ export default defineComponent({
|
|||||||
},
|
},
|
||||||
//谷歌登录
|
//谷歌登录
|
||||||
googelLogin(value:any) {
|
googelLogin(value:any) {
|
||||||
let data = {credential : value}
|
let data = {credential : value,type:1}
|
||||||
Https.axiosGet(Https.httpUrls.parseGoogleCredential, {params:data})
|
Https.axiosGet(Https.httpUrls.parseGoogleCredential, {params:data})
|
||||||
.then((rv: any) => {
|
.then((rv: any) => {
|
||||||
this.setSuccessLogin(rv)
|
this.setSuccessLogin(rv)
|
||||||
|
|||||||
@@ -536,7 +536,8 @@ export default defineComponent({
|
|||||||
//微信登录
|
//微信登录
|
||||||
wechatLogin(value:any) {
|
wechatLogin(value:any) {
|
||||||
let data = {
|
let data = {
|
||||||
code : value.code
|
code : value.code,
|
||||||
|
type:2
|
||||||
}
|
}
|
||||||
this.loadingShow = true
|
this.loadingShow = true
|
||||||
Https.axiosGet(Https.httpUrls.parseWeChatCode, {params:data})
|
Https.axiosGet(Https.httpUrls.parseWeChatCode, {params:data})
|
||||||
@@ -548,7 +549,7 @@ export default defineComponent({
|
|||||||
},
|
},
|
||||||
//谷歌登录
|
//谷歌登录
|
||||||
googelLogin(value:any) {
|
googelLogin(value:any) {
|
||||||
let data = {credential : value}
|
let data = {credential : value,type:2}
|
||||||
Https.axiosGet(Https.httpUrls.parseGoogleCredential, {params:data})
|
Https.axiosGet(Https.httpUrls.parseGoogleCredential, {params:data})
|
||||||
.then((rv: any) => {
|
.then((rv: any) => {
|
||||||
this.setSuccessLogin(rv)
|
this.setSuccessLogin(rv)
|
||||||
|
|||||||
Reference in New Issue
Block a user