1.add logout interface

main
Gary 12 months ago
parent d4efba9c22
commit b7898a107f

@ -198,4 +198,15 @@ public class LoginController extends BaseController {
public Result<List<CountryCodeDTO>> getSupportedCountryCode() {
return Result.success(DEFAULT_SUPPORTED_COUNTRY_CODES);
}
/**
* 退
* @param authorization
* @return
*/
@ApiOperation(value = "6.退出登录")
@PostMapping("/logout")
@GlobalInterceptor(checkAppUserLogin = true)
public Result<Void> logout(@RequestHeader(value = "Authorization", required = false) String authorization){
return Result.success();
}
}

Loading…
Cancel
Save