chore: set new env
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import {http} from "../utils/http";
|
||||
import { http2 } from "../utils/http2"
|
||||
|
||||
const url = {
|
||||
contacts: () => '/product/api/v5/customer-service'
|
||||
@@ -8,7 +8,7 @@ const hooks = {}
|
||||
|
||||
const api = {
|
||||
async getContacts() {
|
||||
return await http.fetcher(url.contacts())
|
||||
return await http2.fetcher(url.contacts())
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -1,16 +1,13 @@
|
||||
import {http} from "../utils/http";
|
||||
|
||||
const url = {
|
||||
payment: () => '/usermanagement/api/v5/validate/check-phone-register'
|
||||
payment: () => '/usermanagement/api/v5/validate/check-phone-register',
|
||||
sendInvoice: () => '/payment-service/api/v6/send-invoice',
|
||||
}
|
||||
|
||||
const hooks = {}
|
||||
|
||||
const api = {
|
||||
// async usePayment(data) {
|
||||
// return await http.post(url.payment, data)
|
||||
// },
|
||||
}
|
||||
const api = {}
|
||||
|
||||
export const orderRepository = {
|
||||
url,
|
||||
|
||||
Reference in New Issue
Block a user