diff --git a/.env.fat b/.env.fat index be41d88..5a5d50f 100644 --- a/.env.fat +++ b/.env.fat @@ -5,3 +5,4 @@ VITE_FOLDER = /vite-4 VITE_APPID = wxc2bc9f9e8d19b504 VITE_API = /intfgw/data/mmoactivity VITE_URL = https://w-stg.pingan.com.cn/lckj/pawm-mmo-activity-xgl-frontend/index.html + diff --git a/src/api/index.js b/src/api/index.js index 351a78a..8971192 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -2,7 +2,7 @@ import http from './http' // 获取code export function authorize(data, authorization) { - return http.post("/h5/Oauth/authorize", + return http.post("/h5/oauth/authorize", data, true, ); @@ -10,7 +10,7 @@ export function authorize(data, authorization) { // 获取用户信息 export function getUserInfo(data, authorization) { - return http.post("/h5/Oauth/getUserInfo", + return http.post("/h5/oauth/getUserInfo", data, true, ); @@ -54,7 +54,7 @@ export function exchangePrize(data, authorization) { // 分享接口 export function getShareConfig(data, authorization) { - return http.post("/h5/Oauth/getShareConfig", + return http.post("/h5/oauth/getShareConfig", data, true, ); diff --git a/src/components/Rule.vue b/src/components/Rule.vue index 86b04ca..c0f8f5a 100644 --- a/src/components/Rule.vue +++ b/src/components/Rule.vue @@ -51,11 +51,6 @@ onMounted(() => {