|
|
@@ -7,6 +7,7 @@ import com.dliyun.oap.framework.annotation.ServiceMethodBean;
|
|
|
import com.dliyun.oap.framework.request.AbstractOapRequest;
|
|
|
import com.dliyun.oap.framework.response.OapResponse;
|
|
|
import com.zhiqiyun.open.core.service.SystemConfigService;
|
|
|
+import com.zhiqiyun.open.router.request.EmptyRequest;
|
|
|
import com.zhiqiyun.open.router.request.oauth2.*;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import okhttp3.*;
|
|
|
@@ -341,7 +342,7 @@ public class Oauth2Api {
|
|
|
}
|
|
|
|
|
|
@ServiceMethod(method = "oauth2.get.image.captcha", title = "获取发送手机验证码的图形验证码")
|
|
|
- public OapResponse oauthGetImageCaptcha(AbstractOapRequest request) throws IOException {
|
|
|
+ public OapResponse oauthGetImageCaptcha(EmptyRequest request) throws IOException {
|
|
|
|
|
|
String hostAddress = this.systemConfigService.getStringValue("OAUTH2_API_CONFIG", "hostAddress");
|
|
|
String clientSecret = this.systemConfigService.getStringValue("OAUTH2_API_CONFIG", "clientSecret");
|