เครื่องราช => ปรับการเรียกประเภทเครื่องราช
This commit is contained in:
parent
7041a9e050
commit
5a8f6d6434
9 changed files with 47 additions and 31 deletions
|
|
@ -307,7 +307,7 @@ async function fecthRound() {
|
|||
/** function เรียกประเภทเครื่องราชฯ*/
|
||||
async function fecthInsignia() {
|
||||
await http
|
||||
.get(config.API.insignia)
|
||||
.get(config.API.insigniaOrg)
|
||||
.then((res) => {
|
||||
let data = res.data.result;
|
||||
DataStore.fetchDataInsignia(data);
|
||||
|
|
@ -324,7 +324,7 @@ async function fecthInsignia() {
|
|||
|
||||
/** function เรียกระดับเครื่องราชฯ Tab*/
|
||||
async function fecthInsigniaType() {
|
||||
await http(config.API.insigniaType)
|
||||
await http(config.API.insigniaTypeOrg)
|
||||
.then(async (res) => {
|
||||
let data = res.data.result;
|
||||
DataStore.fetchDatainsigniaType(data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue