将落地页传入的fbCode带入login时的userId参数
This commit is contained in:
@@ -326,9 +326,11 @@ export class PreloadUI extends Component {
|
|||||||
|
|
||||||
const deviceId = DeviceIdService.I.id;
|
const deviceId = DeviceIdService.I.id;
|
||||||
const os = MachineInfoService.I.getMachineOs();
|
const os = MachineInfoService.I.getMachineOs();
|
||||||
|
const qs = new URLSearchParams(window.location.search);
|
||||||
|
const fbCode = qs.get("fbCode");
|
||||||
const reqData = {
|
const reqData = {
|
||||||
platType: "guest",
|
platType: "guest",
|
||||||
userId: deviceId,
|
userId: fbCode ? fbCode : deviceId,
|
||||||
device: deviceId,
|
device: deviceId,
|
||||||
os,
|
os,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user