pixel преди 5 години
родител
ревизия
b1378d6cd0
променени са 2 файла, в които са добавени 1 реда и са изтрити 18 реда
  1. 1 17
      QMPlusVuePage/src/api/user.js
  2. 0 1
      QMPlusVuePage/src/view/login/login.vue

+ 1 - 17
QMPlusVuePage/src/api/user.js

@@ -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
-    })
-}
+}

+ 0 - 1
QMPlusVuePage/src/view/login/login.vue

@@ -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