ding logout

This commit is contained in:
周源 2021-07-07 11:19:50 +08:00
parent 0396fa53f4
commit b819a80908
102 changed files with 66 additions and 53 deletions

View File

@ -302,6 +302,19 @@ public class ApiAuthController extends ApiBaseController {
}
}
@PostMapping("/ding_unbind")
@ApiOperation(value = "解除绑定钉钉")
public Ret unbind() {
User user = getApiUser();
if (user!=null) {
user.setOpenId("");
userService.updateById(user);
return Ret.ok();
} else {
return Ret.fail("解绑失败");
}
}
private String getAccessToken() {
String accessKey = appId;
String secretKey = appSecret;

View File

@ -0,0 +1 @@
.changeIdentity div[data-v-4111ad24]{padding:.37333rem .53333rem .32rem 1.06667rem;border-bottom:.02667rem solid #ebedf0;display:flex;font-size:.4rem;justify-content:space-between}.changeIdentity div[data-v-4111ad24]:last-of-type{border-bottom:0}.mine-box[data-v-4111ad24]{display:flex;flex-direction:column;height:100%;background:#fff}.minebg[data-v-4111ad24]{height:3.2rem;background:#d03a29;position:relative}.minebg .back[data-v-4111ad24]{position:absolute;top:0;left:0;background-color:transparent;border-color:transparent;height:1.22667rem}.minebg .back[data-v-4111ad24] .van-icon{font-size:.42667rem!important}.mine-body[data-v-4111ad24]{padding:0 .42667rem;position:relative;top:-1.70667rem}.mine-body .minephoto[data-v-4111ad24]{height:2.56rem;background:#fff;border-radius:.10667rem;box-shadow:0 .10667rem .26667rem 0 rgba(0,0,0,.06);display:flex;align-items:center;padding:.48rem .26667rem;margin-bottom:.85333rem;justify-content:space-between}.mine-body .minephoto .img1[data-v-4111ad24]{width:1.70667rem;height:1.73333rem;margin-right:.32rem;border-radius:50%}.mine-body .minephoto div p[data-v-4111ad24]:first-of-type{font-size:.48rem;font-family:PingFang SC,PingFang SC-Bold;font-weight:700;color:#333;margin-bottom:.10667rem;line-height:.66667rem}.mine-body .minephoto div p[data-v-4111ad24]:nth-of-type(2){font-size:.37333rem;font-family:PingFang SC,PingFang SC-Bold;font-weight:700;color:#999;line-height:.53333rem}.mine-body .mine-click li[data-v-4111ad24]{display:flex;align-items:center;font-size:.42667rem;font-family:PingFang SC,PingFang SC-Bold;font-weight:700;color:#333;padding:.53333rem 0;line-height:.58667rem}.mine-body .mine-click li[data-v-4111ad24]:not(:last-child){border-bottom:.02667rem solid #f3f3f3}.mine-body .mine-click li .mineimgh[data-v-4111ad24]{width:.42667rem;height:.42667rem;margin-right:.32rem}.mine-body .mine-click li .title[data-v-4111ad24]{flex:1}.mine-body .mine-click li .number[data-v-4111ad24]{min-width:.42667rem;padding:0 .08rem;font-size:.32rem;color:#fff;line-height:.42667rem;text-align:center;border-radius:.42667rem;background-color:#d03a29}.mine-body .mine-click li .icon[data-v-4111ad24]{font-size:.32rem;margin-left:.21333rem}.mine-body .mine-click li img[data-v-4111ad24]{width:.32rem;height:.32rem}

View File

@ -1 +0,0 @@
.changeIdentity div[data-v-d2e74e3c]{padding:.37333rem .53333rem .32rem 1.06667rem;border-bottom:.02667rem solid #ebedf0;display:flex;font-size:.4rem;justify-content:space-between}.changeIdentity div[data-v-d2e74e3c]:last-of-type{border-bottom:0}.mine-box[data-v-d2e74e3c]{display:flex;flex-direction:column;height:100%;background:#fff}.minebg[data-v-d2e74e3c]{height:3.2rem;background:#d03a29;position:relative}.minebg .back[data-v-d2e74e3c]{position:absolute;top:0;left:0;background-color:transparent;border-color:transparent;height:1.22667rem}.minebg .back[data-v-d2e74e3c] .van-icon{font-size:.42667rem!important}.mine-body[data-v-d2e74e3c]{padding:0 .42667rem;position:relative;top:-1.70667rem}.mine-body .minephoto[data-v-d2e74e3c]{height:2.56rem;background:#fff;border-radius:.10667rem;box-shadow:0 .10667rem .26667rem 0 rgba(0,0,0,.06);display:flex;align-items:center;padding:.48rem .26667rem;margin-bottom:.85333rem;justify-content:space-between}.mine-body .minephoto .img1[data-v-d2e74e3c]{width:1.70667rem;height:1.73333rem;margin-right:.32rem;border-radius:50%}.mine-body .minephoto div p[data-v-d2e74e3c]:first-of-type{font-size:.48rem;font-family:PingFang SC,PingFang SC-Bold;font-weight:700;color:#333;margin-bottom:.10667rem;line-height:.66667rem}.mine-body .minephoto div p[data-v-d2e74e3c]:nth-of-type(2){font-size:.37333rem;font-family:PingFang SC,PingFang SC-Bold;font-weight:700;color:#999;line-height:.53333rem}.mine-body .mine-click li[data-v-d2e74e3c]{display:flex;align-items:center;font-size:.42667rem;font-family:PingFang SC,PingFang SC-Bold;font-weight:700;color:#333;padding:.53333rem 0;line-height:.58667rem}.mine-body .mine-click li[data-v-d2e74e3c]:not(:last-child){border-bottom:.02667rem solid #f3f3f3}.mine-body .mine-click li .mineimgh[data-v-d2e74e3c]{width:.42667rem;height:.42667rem;margin-right:.32rem}.mine-body .mine-click li .title[data-v-d2e74e3c]{flex:1}.mine-body .mine-click li .number[data-v-d2e74e3c]{min-width:.42667rem;padding:0 .08rem;font-size:.32rem;color:#fff;line-height:.42667rem;text-align:center;border-radius:.42667rem;background-color:#d03a29}.mine-body .mine-click li .icon[data-v-d2e74e3c]{font-size:.32rem;margin-left:.21333rem}.mine-body .mine-click li img[data-v-d2e74e3c]{width:.32rem;height:.32rem}

View File

@ -1 +0,0 @@
.login-box[data-v-f7a74b56]{background-color:#fff}.login-wrapper[data-v-f7a74b56]{padding:2.13333rem .85333rem 0 .85333rem;z-index:50}.login-wrapper .title[data-v-f7a74b56]{font-size:.64rem;font-family:PingFang SC,PingFang SC-Bold;font-weight:700;color:#000;position:relative}.login-wrapper .title span[data-v-f7a74b56]{position:absolute;right:0;bottom:0;font-size:.42667rem;font-family:PingFang SC,PingFang SC-Regular;font-weight:400;color:#d03a29}.login-wrapper .account[data-v-f7a74b56]{padding-top:1.06667rem;margin-bottom:.85333rem}.login-wrapper .password[data-v-f7a74b56]{margin-bottom:1.06667rem}.login-wrapper .account .line[data-v-f7a74b56],.login-wrapper .password .line[data-v-f7a74b56]{height:.02667rem;background:#efefef}.login-wrapper .account p[data-v-f7a74b56],.login-wrapper .password p[data-v-f7a74b56]{font-size:.42667rem;font-family:PingFang SC,PingFang SC-Bold;font-weight:700;text-align:left;color:#000;padding-bottom:.34667rem}.login-wrapper .account .loginconter[data-v-f7a74b56],.login-wrapper .password .loginconter[data-v-f7a74b56]{display:flex;align-items:center;margin-bottom:.10667rem}.login-wrapper .account .loginconter .van-cell[data-v-f7a74b56],.login-wrapper .password .loginconter .van-cell[data-v-f7a74b56]{padding:0}.login-wrapper .account .loginconter .van-cell[data-v-f7a74b56]:after,.login-wrapper .password .loginconter .van-cell[data-v-f7a74b56]:after{display:none}.login-wrapper .account .loginconter input[data-v-f7a74b56],.login-wrapper .password .loginconter input[data-v-f7a74b56]{width:100%;outline:none;border:none;font-size:.37333rem;font-family:PingFang SC,PingFang SC-Bold;font-weight:700;text-align:left;color:#333}.login-wrapper .account .loginconter img[data-v-f7a74b56],.login-wrapper .password .loginconter img[data-v-f7a74b56]{width:.32rem;height:.32rem}.login-wrapper .remember[data-v-f7a74b56]{margin-bottom:1.06667rem;display:flex;justify-content:space-between;align-items:center}.login-wrapper .remember .label[data-v-f7a74b56]{font-size:.42667rem;color:#000;font-weight:700}.login-wrapper .btn[data-v-f7a74b56]{width:8.53333rem;height:1.06667rem;background:#d03a29;border-radius:.53333rem;box-shadow:0 .08rem .16rem 0 rgba(208,58,41,.2);line-height:1.06667rem;font-size:.37333rem;text-align:center;font-family:PingFang SC,PingFang SC-Bold;font-weight:700;color:#fff;letter-spacing:.02667rem}.login-box[data-v-f7a74b56]{position:relative;display:flex;flex-direction:column;height:100%}.footerbg[data-v-f7a74b56]{width:100%;z-index:30;position:absolute;bottom:0}.footerbg img[data-v-f7a74b56]{display:block;width:100%}

View File

@ -0,0 +1 @@
.login-box[data-v-7f6456e1]{background-color:#fff}.login-wrapper[data-v-7f6456e1]{padding:2.13333rem .85333rem 0 .85333rem;z-index:50}.login-wrapper .title[data-v-7f6456e1]{font-size:.64rem;font-family:PingFang SC,PingFang SC-Bold;font-weight:700;color:#000;position:relative}.login-wrapper .title span[data-v-7f6456e1]{position:absolute;right:0;bottom:0;font-size:.42667rem;font-family:PingFang SC,PingFang SC-Regular;font-weight:400;color:#d03a29}.login-wrapper .account[data-v-7f6456e1]{padding-top:1.06667rem;margin-bottom:.85333rem}.login-wrapper .password[data-v-7f6456e1]{margin-bottom:1.06667rem}.login-wrapper .account .line[data-v-7f6456e1],.login-wrapper .password .line[data-v-7f6456e1]{height:.02667rem;background:#efefef}.login-wrapper .account p[data-v-7f6456e1],.login-wrapper .password p[data-v-7f6456e1]{font-size:.42667rem;font-family:PingFang SC,PingFang SC-Bold;font-weight:700;text-align:left;color:#000;padding-bottom:.34667rem}.login-wrapper .account .loginconter[data-v-7f6456e1],.login-wrapper .password .loginconter[data-v-7f6456e1]{display:flex;align-items:center;margin-bottom:.10667rem}.login-wrapper .account .loginconter .van-cell[data-v-7f6456e1],.login-wrapper .password .loginconter .van-cell[data-v-7f6456e1]{padding:0}.login-wrapper .account .loginconter .van-cell[data-v-7f6456e1]:after,.login-wrapper .password .loginconter .van-cell[data-v-7f6456e1]:after{display:none}.login-wrapper .account .loginconter input[data-v-7f6456e1],.login-wrapper .password .loginconter input[data-v-7f6456e1]{width:100%;outline:none;border:none;font-size:.37333rem;font-family:PingFang SC,PingFang SC-Bold;font-weight:700;text-align:left;color:#333}.login-wrapper .account .loginconter img[data-v-7f6456e1],.login-wrapper .password .loginconter img[data-v-7f6456e1]{width:.32rem;height:.32rem}.login-wrapper .remember[data-v-7f6456e1]{margin-bottom:1.06667rem;display:flex;justify-content:space-between;align-items:center}.login-wrapper .remember .label[data-v-7f6456e1]{font-size:.42667rem;color:#000;font-weight:700}.login-wrapper .btn[data-v-7f6456e1]{width:8.53333rem;height:1.06667rem;background:#d03a29;border-radius:.53333rem;box-shadow:0 .08rem .16rem 0 rgba(208,58,41,.2);line-height:1.06667rem;font-size:.37333rem;text-align:center;font-family:PingFang SC,PingFang SC-Bold;font-weight:700;color:#fff;letter-spacing:.02667rem}.login-box[data-v-7f6456e1]{position:relative;display:flex;flex-direction:column;height:100%}.footerbg[data-v-7f6456e1]{width:100%;z-index:30;position:absolute;bottom:0}.footerbg img[data-v-7f6456e1]{display:block;width:100%}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More