mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-18 15:26:45 +08:00
feat: Add 添加SignupModal组件,并在CourseManage中集成注册功能;
This commit is contained in:
@@ -106,6 +106,15 @@ const get = function (baseURL, url) {
|
||||
})
|
||||
}
|
||||
|
||||
const get1= function (baseURL, params) {
|
||||
return request({
|
||||
baseURL,
|
||||
method: 'get',
|
||||
params: params,
|
||||
headers: {'Content-Type': 'application/x-www-form-urlencoded'}
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* post请求
|
||||
* @param {Object} url
|
||||
@@ -199,6 +208,7 @@ export default {
|
||||
tokenName: TokenName,
|
||||
request,
|
||||
get,
|
||||
get1,
|
||||
post,
|
||||
postJson,
|
||||
postJsonToFile,
|
||||
|
||||
Reference in New Issue
Block a user