新增加文件

This commit is contained in:
daihh
2022-12-31 16:45:35 +08:00
parent 63624faccb
commit 7728f2073a

20
api/phase2/yearMedal.js Normal file
View File

@@ -0,0 +1,20 @@
/**文章模块的相关处理*/
// import ajax from '@/utils/xajax.js'
import config from '@/config/index.js'
import ajax from '../ajax'
const baseURL = config.statApiBaseUrl;
const has2023 = function() {
return ajax.get(baseURL,'/xboe/m/stat/year/medal/has');
}
const save2023 = function() {
return ajax.get(baseURL,'/xboe/m/stat/year/medal/save');
}
export default {
has2023,
save2023
}