|
@@ -69,6 +69,11 @@ public class AppAuthorizePhotoController {
|
|
|
@PostMapping("/photoAuthorization")
|
|
|
public CommonResult photoAuthorization(@Validated @RequestBody AppOauthPhotoReqVO appOauthPhotoReqVO) {
|
|
|
authorizePhotoService.oauthPhoto(appOauthPhotoReqVO);
|
|
|
+
|
|
|
+ NotifyWatchAuthorizationReqVO notifyWatchAuthorizationReqVO = new NotifyWatchAuthorizationReqVO();
|
|
|
+ notifyWatchAuthorizationReqVO.setTicket(appOauthPhotoReqVO.getTicket());
|
|
|
+ notifyWatchAuthorizationReqVO.setUserId(appOauthPhotoReqVO.getUserId());
|
|
|
+ authorizePhotoService.notifyWatchAuthorization(notifyWatchAuthorizationReqVO);
|
|
|
return CommonResult.success();
|
|
|
}
|
|
|
|