This commit is contained in:
houjunxiang
2025-10-09 18:19:55 +08:00
parent f2ffc65094
commit 386f1e7466
1553 changed files with 284685 additions and 32820 deletions

39
nx/api/sys.js Normal file
View File

@@ -0,0 +1,39 @@
import request from '@/nx/request'
export function getSysParameterBizByName(name) {
return request({
url: '/sys/sysParameterBiz/getSysParameterBizByName',
method: 'GET',
params: { name }
})
}
export default {
getSysParameterBizByName,
// 获取验证图片以及 token
getCaptchaCode: data => {
return request({
url: '/system/captcha/get',
method: 'POST',
data,
custom: {
showError: false,
showLoading: false,
isTransformResponse: false
}
})
},
// 滑动或者点选验证
verifyCaptcha: data => {
return request({
url: '/system/captcha/check',
method: 'POST',
data,
custom: {
showError: false,
showLoading: false,
isTransformResponse: false
}
})
}
}