|
@@ -21,6 +21,10 @@ export const FootplateStore = defineStore('footplate', () => {
|
|
const res = await axios.$get(`${url}/list`, cond)
|
|
const res = await axios.$get(`${url}/list`, cond)
|
|
return res
|
|
return res
|
|
}
|
|
}
|
|
|
|
+ const detail = async (payload) => {
|
|
|
|
+ const res = await axios.$get(`${url}/detail/${payload}`)
|
|
|
|
+ return res
|
|
|
|
+ }
|
|
const fetch = async (payload) => {
|
|
const fetch = async (payload) => {
|
|
const res = await axios.$get(`${url}/${payload}`)
|
|
const res = await axios.$get(`${url}/${payload}`)
|
|
return res
|
|
return res
|
|
@@ -41,6 +45,7 @@ export const FootplateStore = defineStore('footplate', () => {
|
|
return {
|
|
return {
|
|
query,
|
|
query,
|
|
list,
|
|
list,
|
|
|
|
+ detail,
|
|
fetch,
|
|
fetch,
|
|
create,
|
|
create,
|
|
update,
|
|
update,
|