build
This commit is contained in:
parent
779ff305f0
commit
d0808a86dc
4 changed files with 10 additions and 10 deletions
|
|
@ -39,7 +39,7 @@ class ClassPilao {
|
|||
}
|
||||
|
||||
#gerarUrl(acao: string, extraPath?: string): { rota: string; url: string } {
|
||||
const rota = `${PREFIXO_PILAO}/api/${this.#produto}/${this.#conta}/${acao}${
|
||||
const rota = `${PREFIXO_PILAO}/api/${acao}/${this.#produto}/${this.#conta}${
|
||||
extraPath ? `/${extraPath}` : ""
|
||||
}`
|
||||
const url = `${this.baseUrlApi}${rota}`
|
||||
|
|
@ -59,7 +59,7 @@ class ClassPilao {
|
|||
}
|
||||
|
||||
rotaIframeSerie(tipoVisao: keyof typeof visoes | ":tipoVisao") {
|
||||
const rota = `${PREFIXO_PILAO}/${this.#produto}/${this.#conta}/consultar-serie/${tipoVisao}`
|
||||
const rota = `${PREFIXO_PILAO}/consultar-serie/${this.#produto}/${this.#conta}/${tipoVisao}`
|
||||
const url = `${this.baseUrlSite}${rota}`
|
||||
return { rota, url }
|
||||
}
|
||||
|
|
@ -243,7 +243,7 @@ class ClassPilao {
|
|||
}
|
||||
|
||||
urlLaboratorio() {
|
||||
const rota = `${PREFIXO_PILAO}/${this.#produto}/${this.#conta}/laboratório`
|
||||
const rota = `${PREFIXO_PILAO}/laboratório/${this.#produto}/${this.#conta}`
|
||||
const url = `${this.baseUrlSite}${rota}`
|
||||
return { rota, url }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue