|
|
@ -106,7 +106,7 @@ public class UserController {
|
|
|
|
String newUUID = IdUtil.simpleUUID();
|
|
|
|
String newUUID = IdUtil.simpleUUID();
|
|
|
|
if (user != null) {
|
|
|
|
if (user != null) {
|
|
|
|
Flow flow = flowMapper.selectByPrimaryKey(user.getUserid());
|
|
|
|
Flow flow = flowMapper.selectByPrimaryKey(user.getUserid());
|
|
|
|
Map<String, Object> map = getStringObjectMap(access_token, un, dis, newUUID, flow.getFlowId());
|
|
|
|
Map<String, Object> map = getStringObjectMap(access_token, un, dis, flow.getUserid(), flow.getFlowId());
|
|
|
|
user.setAccessToken(access_token);
|
|
|
|
user.setAccessToken(access_token);
|
|
|
|
userMapper.updateByPrimaryKey(user);
|
|
|
|
userMapper.updateByPrimaryKey(user);
|
|
|
|
return new ResultEntity(HttpStatus.OK, map);
|
|
|
|
return new ResultEntity(HttpStatus.OK, map);
|
|
|
|