|
|
|
@ -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();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|