|
@@ -35,11 +35,11 @@ public class QwLoginServiceImpl implements QwLoginService {
|
|
|
@Value("${qwcallback.url}")
|
|
|
private String qwCallbackUrl;
|
|
|
private static final Logger LOGGER = LoggerFactory.getLogger(QwLoginServiceImpl.class);
|
|
|
+ @Autowired
|
|
|
private UserBaseMapper userBaseMapper;
|
|
|
|
|
|
@Override
|
|
|
- public QwCommonResModel<QwLoginQRCodeModel> getLoginQRCode(String vid, String platformPhone) {
|
|
|
-// UserBase user = qwUserService.getUserByMobile(platformPhone);
|
|
|
+ public QwCommonResModel<QwLoginQRCodeModel> getLoginQRCode(String vid) {
|
|
|
String uuid = "";
|
|
|
uuid = initUUID(vid);
|
|
|
// TODO 写入平台库表:platformPhone关联的uuid
|
|
@@ -111,6 +111,8 @@ public class QwLoginServiceImpl implements QwLoginService {
|
|
|
System.out.println("init,response: " + response);
|
|
|
QwCommonResModel<QwInitResponseModel> initModel = QwCommonResModel.parseResponse(response.get(), QwInitResponseModel.class);
|
|
|
String uuid = initModel.getData().getUuid();
|
|
|
+ LOGGER.info("init success,uuid: {},platform user id:{}", uuid, userId);
|
|
|
+ System.out.println("init success,uuid: " + uuid);
|
|
|
this.saveUserBaseUUID(uuid, userId);
|
|
|
return uuid;
|
|
|
} else {
|