|
@@ -133,7 +133,7 @@ public class OwnerAppLoginSMOImpl extends AppAbstractComponentSMO implements IOw
|
|
|
* @throws SMOException
|
|
* @throws SMOException
|
|
|
*/
|
|
*/
|
|
|
@Override
|
|
@Override
|
|
|
- public String refreshToken(IPageData pd, String redirectUrl, HttpServletRequest request, HttpServletResponse response) throws SMOException {
|
|
|
|
|
|
|
+ public ResponseEntity<String> refreshToken(IPageData pd, String redirectUrl, HttpServletRequest request, HttpServletResponse response) throws SMOException {
|
|
|
//分配urlCode
|
|
//分配urlCode
|
|
|
String urlCode = UUID.randomUUID().toString();
|
|
String urlCode = UUID.randomUUID().toString();
|
|
|
CommonCache.setValue(urlCode, redirectUrl, expireTime);
|
|
CommonCache.setValue(urlCode, redirectUrl, expireTime);
|
|
@@ -164,7 +164,7 @@ public class OwnerAppLoginSMOImpl extends AppAbstractComponentSMO implements IOw
|
|
|
throw new SMOException(ResponseConstant.RESULT_CODE_ERROR, e.getLocalizedMessage());
|
|
throw new SMOException(ResponseConstant.RESULT_CODE_ERROR, e.getLocalizedMessage());
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- return openUrl;
|
|
|
|
|
|
|
+ return ResultVo.redirectPage(openUrl);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|