update
This commit is contained in:
parent
b819a80908
commit
934ec5ade5
|
@ -290,6 +290,8 @@ public class ApiAuthController extends ApiBaseController {
|
|||
|
||||
User user = userService.getOne(new QueryWrapper<User>().eq("login_name", login));
|
||||
if (user!=null) {
|
||||
if(!user.getPassword().equals(Ydool.password(user.getSalt(), password))) return Ret.fail("账号或密码错误,绑定失败");
|
||||
|
||||
user.setOpenId(dingOpenid);
|
||||
userService.updateById(user);
|
||||
|
||||
|
@ -298,7 +300,7 @@ public class ApiAuthController extends ApiBaseController {
|
|||
authInfo.set("type", user.getAccountType());
|
||||
return Ret.ok().data(authInfo);
|
||||
} else {
|
||||
return Ret.fail("绑定失败");
|
||||
return Ret.fail("未找到该用户,绑定失败");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
.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}
|
|
@ -0,0 +1 @@
|
|||
.changeIdentity div[data-v-77199130]{padding:.37333rem .53333rem .32rem 1.06667rem;border-bottom:.02667rem solid #ebedf0;display:flex;font-size:.4rem;justify-content:space-between}.changeIdentity div[data-v-77199130]:last-of-type{border-bottom:0}.mine-box[data-v-77199130]{display:flex;flex-direction:column;height:100%;background:#fff}.minebg[data-v-77199130]{height:3.2rem;background:#d03a29;position:relative}.minebg .back[data-v-77199130]{position:absolute;top:0;left:0;background-color:transparent;border-color:transparent;height:1.22667rem}.minebg .back[data-v-77199130] .van-icon{font-size:.42667rem!important}.mine-body[data-v-77199130]{padding:0 .42667rem;position:relative;top:-1.70667rem}.mine-body .minephoto[data-v-77199130]{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-77199130]{width:1.70667rem;height:1.73333rem;margin-right:.32rem;border-radius:50%}.mine-body .minephoto div p[data-v-77199130]: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-77199130]: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-77199130]{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-77199130]:not(:last-child){border-bottom:.02667rem solid #f3f3f3}.mine-body .mine-click li .mineimgh[data-v-77199130]{width:.42667rem;height:.42667rem;margin-right:.32rem}.mine-body .mine-click li .title[data-v-77199130]{flex:1}.mine-body .mine-click li .number[data-v-77199130]{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-77199130]{font-size:.32rem;margin-left:.21333rem}.mine-body .mine-click li img[data-v-77199130]{width:.32rem;height:.32rem}
|
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
Loading…
Reference in New Issue