mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-06 09:26:45 +08:00
少的文件提交
This commit is contained in:
20
api/phase2/onceMedal.js
Normal file
20
api/phase2/onceMedal.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 has = function(type) {
|
||||
return ajax.post(baseURL,'/xboe/m/stat/once/medal/has',{type});
|
||||
}
|
||||
|
||||
const save = function(type) {
|
||||
return ajax.post(baseURL,'/xboe/m/stat/once/medal/save',{type});
|
||||
}
|
||||
|
||||
|
||||
|
||||
export default {
|
||||
has,
|
||||
save
|
||||
}
|
||||
Reference in New Issue
Block a user