配置文件
This commit is contained in:
@@ -57,7 +57,7 @@ export function getUserInfo() {
|
|||||||
*/
|
*/
|
||||||
export function getOssPolicyInfo() {
|
export function getOssPolicyInfo() {
|
||||||
return http.request({
|
return http.request({
|
||||||
url: `${baseUrl}/v2/common/sts`,
|
url: `${baseUrl}/app/v2/common/sts`,
|
||||||
method: 'GET'
|
method: 'GET'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -66,7 +66,7 @@ export function getOssPolicyInfo() {
|
|||||||
*/
|
*/
|
||||||
export function uploadCommon(file, onUploadProgress?) {
|
export function uploadCommon(file, onUploadProgress?) {
|
||||||
return http.uploadFile({
|
return http.uploadFile({
|
||||||
url: `${baseUrl}/v2/common/upload`,
|
url: `${baseUrl}/app/v2/common/upload`,
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
onUploadProgress: (progressEvent) => {
|
onUploadProgress: (progressEvent) => {
|
||||||
onUploadProgress && onUploadProgress(progressEvent)
|
onUploadProgress && onUploadProgress(progressEvent)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { http } from '@/utils/http/axios';
|
import { http } from '@/utils/http/axios';
|
||||||
|
|
||||||
const baseUrl = '/api'
|
const baseUrl = '/api/app'
|
||||||
|
|
||||||
export function getDomainList(){
|
export function getDomainList(){
|
||||||
return http.request({
|
return http.request({
|
||||||
@@ -91,7 +91,7 @@ export function updatePwd(data) {
|
|||||||
*/
|
*/
|
||||||
export function getUserInfo() {
|
export function getUserInfo() {
|
||||||
return http.request({
|
return http.request({
|
||||||
url: `${baseUrl}/app/customer/info`,
|
url: `${baseUrl}/customer/info`,
|
||||||
method: 'GET'
|
method: 'GET'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -103,7 +103,7 @@ export function getUserInfo() {
|
|||||||
*/
|
*/
|
||||||
export function closeAmount() {
|
export function closeAmount() {
|
||||||
return http.request({
|
return http.request({
|
||||||
url: `${baseUrl}/app/user/close/amount`,
|
url: `${baseUrl}/user/close/amount`,
|
||||||
method: 'GET'
|
method: 'GET'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { http } from '@/utils/http/axios';
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
const baseUrl = '/api'
|
const baseUrl = '/api/app'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description: getLoansInfo
|
* @description: getLoansInfo
|
||||||
@@ -20,7 +20,7 @@ export function getDefaultLocal() {
|
|||||||
lang = 'gu_IN'
|
lang = 'gu_IN'
|
||||||
}
|
}
|
||||||
return http.request({
|
return http.request({
|
||||||
url: `${baseUrl}/app/home/loans/defaultLocal`,
|
url: `${baseUrl}/home/loans/defaultLocal`,
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
params: {
|
params: {
|
||||||
lang
|
lang
|
||||||
|
|||||||
Reference in New Issue
Block a user