ajuste produto ocnta

This commit is contained in:
Luiz Silva 2024-10-02 11:05:44 -03:00
parent cb61a8500e
commit 1d3c84ff9a
4 changed files with 10 additions and 10 deletions

View file

@ -39,7 +39,7 @@ class ClassPilao {
}
#gerarUrl(acao: string, extraPath?: string): { rota: string; url: string } {
const rota = `${PREFIXO_PILAO}/${this.#conta}/${this.#produto}/${acao}${
const rota = `${PREFIXO_PILAO}/${this.#produto}/${this.#conta}/${acao}${
extraPath ? `/${extraPath}` : ""
}`
const url = `${this.baseUrlApi}${rota}`
@ -59,7 +59,7 @@ class ClassPilao {
}
rotaIframeSerie(tipoVisao: keyof typeof visoes | ":tipoVisao") {
const rota = `${PREFIXO_PILAO}/${this.#conta}/${this.#produto}/consultar-serie/${tipoVisao}`
const rota = `${PREFIXO_PILAO}/${this.#produto}/${this.#conta}/consultar-serie/${tipoVisao}`
const url = `${this.baseUrlSite}${rota}`
return { rota, url }
}
@ -243,7 +243,7 @@ class ClassPilao {
}
urlLaboratorio() {
const rota = `${PREFIXO_PILAO}/${this.#conta}/${this.#produto}/laboratório`
const rota = `${PREFIXO_PILAO}/${this.#produto}/${this.#conta}/laboratório`
const url = `${this.baseUrlSite}${rota}`
return { rota, url }
}