|
@ -32,7 +32,6 @@ import java.util.UUID;
|
|
|
* Created by Trick on 2019/7/26.
|
|
|
*/
|
|
|
@Service
|
|
|
@Transactional
|
|
|
public class OauthYlzConfigService {
|
|
|
|
|
|
private static final Logger logger = LoggerFactory.getLogger(OauthYlzConfigService.class);
|
|
@ -91,9 +90,9 @@ public class OauthYlzConfigService {
|
|
|
|
|
|
public Map<String,Object> getOauthQRCodeImg(){
|
|
|
try {
|
|
|
logger.info("getOauthQRCode dao1:"+DateUtil.dateToStr(new Date(),"yyyy-MM-dd HH:mm:ss:SSS"));
|
|
|
logger.info("getOauthQRCodeImg dao1:"+DateUtil.dateToStr(new Date(),"yyyy-MM-dd HH:mm:ss:SSS"));
|
|
|
OauthYlzConfigDO oauthYlzConfigDO = oauthYlzConfigDao.findOne("ylz_config");
|
|
|
logger.info("getOauthQRCode dao2:"+DateUtil.dateToStr(new Date(),"yyyy-MM-dd HH:mm:ss:SSS"));
|
|
|
logger.info("getOauthQRCodeImg dao2:"+DateUtil.dateToStr(new Date(),"yyyy-MM-dd HH:mm:ss:SSS"));
|
|
|
TransRequest e = new TransRequest();
|
|
|
e.setMethod("ehc.ehealthcard.authurl");
|
|
|
e.setApp_id(oauthYlzConfigDO.getAppId());
|
|
@ -136,6 +135,7 @@ public class OauthYlzConfigService {
|
|
|
* @param authorizeNo
|
|
|
* @return
|
|
|
*/
|
|
|
@Transactional
|
|
|
public Map<String,Object> checkOauthQRCode(String authorizeNo){
|
|
|
|
|
|
Map<String,Object> rsMap = new HashedMap();
|