提交 b1378d6c 编写于 作者: Mr.奇淼('s avatar Mr.奇淼(

代码结构整理

上级 b76343db
......@@ -77,20 +77,4 @@ export const setUserAuthority = (data) => {
method: 'post',
data: data
})
}
// @Tags User
// @Summary 验证码
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body api.SetUserAuth true "设置用户权限"
// @Success 200 {string} json "{"success":true,"data":{},"msg":"修改成功"}"
// @Router /user/setUserAuthority [post]
export const captcha = (data) => {
return service({
url: "/base/captcha",
method: 'post',
data: data
})
}
}
\ No newline at end of file
......@@ -98,7 +98,6 @@ export default {
this.lock === 'lock' ? (this.lock = 'unlock') : (this.lock = 'lock')
},
loginVefify() {
console.log(this.logVerify)
captcha({}).then(ele=>{
this.picPath = ele.data.picPath
this.loginForm.captchaId = ele.data.captchaId
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册