InternetCompetition/.history/src/api/dbyx_20231103102050.js

15 lines
468 B
JavaScript

import axios from "axios";
export const GetDbwirldList = () => {
return axios.get("/wangguan?action=queryanswer&mark=DB-IotLite_yx")
}
export const SaveDbdatas = (data) => {
return axios.post(`/wangguan?action=updatecache`, {
mark: data.mark,
user_id: data.user_id,
mark_value: data.mark_value,
})
}
export const GetUserAnswer = () => {
return axios.get("/wangguan?action=querycache&mark=DB-IotLite_yx&user_id=1698025363002")
}