mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-06 17:36:45 +08:00
新增加文件
This commit is contained in:
20
api/phase2/yearMedal.js
Normal file
20
api/phase2/yearMedal.js
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user