This commit is contained in:
@@ -70,8 +70,10 @@ public class TbVisitorManagementController extends BaseController {
|
||||
*/
|
||||
@PostMapping("/getcode")
|
||||
public R<String> getcode(QrCodeInfo qrCodeInfo) {
|
||||
Long string = (Long) StpUtil.getLoginId();
|
||||
qrCodeInfo.setUserid(string);
|
||||
String userid =StpUtil.getLoginId().toString();
|
||||
String[] split = userid.split(":");
|
||||
Long s1 = Long.valueOf(split[1]);
|
||||
qrCodeInfo.setUserid(s1);
|
||||
String s = remoteConfigService.selectQrTimeOut();
|
||||
int i = Integer.parseInt(s);
|
||||
UUID value = UUID.randomUUID();
|
||||
|
Reference in New Issue
Block a user