code验证2
This commit is contained in:
parent
61beec853f
commit
e73f1fa52f
@ -79,10 +79,17 @@ const indexPage = (actions) => {
|
||||
// 授权获取code
|
||||
const getCode = () => {
|
||||
let redirect_uri = window.location.href;
|
||||
service.post(process.env.VUE_APP_API + '/cms-activity/cms88/zsApi/xfhdAuthorize', qs.stringify({
|
||||
redirect_uri: redirect_uri
|
||||
service.post(process.env.VUE_APP_API + '/cms-activity/cms88/zsApi/xfhdAuthorize',
|
||||
// qs.stringify({
|
||||
// redirect_uri: redirect_uri
|
||||
// })
|
||||
|
||||
})).then((res) => {
|
||||
{
|
||||
params:{
|
||||
redirect_uri: redirect_uri
|
||||
}
|
||||
},
|
||||
).then((res) => {
|
||||
let code = res.data.data
|
||||
console.log("get code",res);
|
||||
// authCode.value = res.data.data
|
||||
|
||||
Loading…
Reference in New Issue
Block a user