|
@@ -11,7 +11,6 @@ import com.chelvc.framework.oauth.annotation.Authorize;
|
|
import com.chelvc.framework.sms.CaptchaSmsHandler;
|
|
import com.chelvc.framework.sms.CaptchaSmsHandler;
|
|
import com.chelvc.framework.sms.SmsSession;
|
|
import com.chelvc.framework.sms.SmsSession;
|
|
import lombok.RequiredArgsConstructor;
|
|
import lombok.RequiredArgsConstructor;
|
|
-import org.apache.dubbo.config.annotation.DubboReference;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
@@ -85,8 +84,8 @@ public class AuthorizeController {
|
|
*
|
|
*
|
|
* @param param 认证参数
|
|
* @param param 认证参数
|
|
*/
|
|
*/
|
|
- @PostMapping("/logout")
|
|
|
|
- public void logout(@RequestBody @Valid AuthorizeParam param) {
|
|
|
|
|
|
+ @PostMapping("/logoff")
|
|
|
|
+ public void logoff(@RequestBody @Valid AuthorizeParam param) {
|
|
this.authorizeClient.logout(param);
|
|
this.authorizeClient.logout(param);
|
|
}
|
|
}
|
|
}
|
|
}
|