This commit is contained in:
2024-08-30 18:33:11 +08:00
parent 9204daccf2
commit 5ffb8d8e76
4 changed files with 6 additions and 9 deletions

View File

@@ -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,
);