调整 api 目录,代码优化

This commit is contained in:
dqjdda
2019-11-22 19:57:35 +08:00
parent d99fb71fe0
commit 559adfd786
61 changed files with 394 additions and 831 deletions

16
src/api/system/code.js Normal file
View File

@@ -0,0 +1,16 @@
import request from '@/utils/request'
export function resetEmail(data) {
return request({
url: 'api/code/resetEmail',
method: 'post',
data
})
}
export function updatePass(pass) {
return request({
url: 'api/users/updatePass/' + pass,
method: 'get'
})
}