add 绑定微信和解除绑定微信接口
This commit is contained in:
+2
-2
@@ -235,7 +235,7 @@ public class CompanyLoginController {
|
||||
return result;
|
||||
}
|
||||
|
||||
@ApiOperation("微信解除绑定接口")
|
||||
@ApiOperation("微信绑定接口")
|
||||
@PostMapping(value = "/bindWeXin")
|
||||
public Result<String> bindWeXin(@RequestBody SysLoginModel sysLoginModel) {
|
||||
String openId = sysLoginModel.getOpenId();
|
||||
@@ -271,7 +271,7 @@ public class CompanyLoginController {
|
||||
return Result.OK("绑定微信成功");
|
||||
}
|
||||
|
||||
@ApiOperation("微信绑定接口")
|
||||
@ApiOperation("解除微信绑定接口")
|
||||
@PostMapping(value = "/unbindWeXin")
|
||||
public Result<String> unbindWeXin() {
|
||||
LoginUser loginUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
||||
|
||||
Reference in New Issue
Block a user