통합로그 API 필수파라미터
This commit is contained in:
@@ -181,7 +181,8 @@ export const postTotalLog = (params, url) => (dispatch, getState) => {
|
||||
{},
|
||||
params,
|
||||
onSuccess,
|
||||
onFail
|
||||
onFail,
|
||||
true
|
||||
);
|
||||
};
|
||||
|
||||
@@ -1605,25 +1606,14 @@ export const sendLogTotalRecommend = (params) => (dispatch, getState) => {
|
||||
const macAddr = macAddress?.wired ? macAddress?.wired : macAddress?.wifi;
|
||||
const localMacAddress = "00:1A:2B:3C:4D:5E";
|
||||
|
||||
const introTermsAgree = getState().common.introTermsAgree;
|
||||
const deviceEulaFlag = introTermsAgree ? "Y" : "N";
|
||||
const logCreateTime = new Date().toISOString();
|
||||
|
||||
const newParams = {
|
||||
...params,
|
||||
userNumber: userNumber,
|
||||
macAddr: macAddr ? macAddr : localMacAddress,
|
||||
deviceEulaFlag: deviceEulaFlag,
|
||||
entryMenu: entryMenu,
|
||||
messageId: "AL",
|
||||
contextName: "1",
|
||||
apppVersion: "1",
|
||||
logCreateTime: "1",
|
||||
salesModelCode: "1",
|
||||
deviceId: "1",
|
||||
devicePlatformVersion: "1",
|
||||
countryCode: "1",
|
||||
platformVersion: "1",
|
||||
platformCode: "1",
|
||||
logCreateTime,
|
||||
};
|
||||
|
||||
dispatch(postTotalLog(newParams));
|
||||
|
||||
Reference in New Issue
Block a user