diff --git a/api/phase2/yearMedal.js b/api/phase2/yearMedal.js new file mode 100644 index 0000000..e5e280d --- /dev/null +++ b/api/phase2/yearMedal.js @@ -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 +}