配置文件

This commit is contained in:
John
2024-05-20 00:19:47 +08:00
parent 956e402ad3
commit 55f495f930
3 changed files with 7 additions and 7 deletions

View File

@@ -57,7 +57,7 @@ export function getUserInfo() {
*/
export function getOssPolicyInfo() {
return http.request({
url: `${baseUrl}/v2/common/sts`,
url: `${baseUrl}/app/v2/common/sts`,
method: 'GET'
});
}
@@ -66,7 +66,7 @@ export function getOssPolicyInfo() {
*/
export function uploadCommon(file, onUploadProgress?) {
return http.uploadFile({
url: `${baseUrl}/v2/common/upload`,
url: `${baseUrl}/app/v2/common/upload`,
method: 'POST',
onUploadProgress: (progressEvent) => {
onUploadProgress && onUploadProgress(progressEvent)

View File

@@ -1,6 +1,6 @@
import { http } from '@/utils/http/axios';
const baseUrl = '/api'
const baseUrl = '/api/app'
export function getDomainList(){
return http.request({
@@ -91,7 +91,7 @@ export function updatePwd(data) {
*/
export function getUserInfo() {
return http.request({
url: `${baseUrl}/app/customer/info`,
url: `${baseUrl}/customer/info`,
method: 'GET'
});
}
@@ -103,7 +103,7 @@ export function getUserInfo() {
*/
export function closeAmount() {
return http.request({
url: `${baseUrl}/app/user/close/amount`,
url: `${baseUrl}/user/close/amount`,
method: 'GET'
});
}

View File

@@ -4,7 +4,7 @@ import { http } from '@/utils/http/axios';
const baseUrl = '/api'
const baseUrl = '/api/app'
/**
* @description: getLoansInfo
@@ -20,7 +20,7 @@ export function getDefaultLocal() {
lang = 'gu_IN'
}
return http.request({
url: `${baseUrl}/app/home/loans/defaultLocal`,
url: `${baseUrl}/home/loans/defaultLocal`,
method: 'GET',
params: {
lang