Commit 274c570c by yexing

fix: open名称添加问题

parent 11947d3e
......@@ -241,9 +241,6 @@ const gqlCallback = async function (response) {
}
const newJson = { status: "OK", data }
newJson.__route = "search_engine_marketing";
if (this.params.requestType === "OPEN_CYCLE") {
newJson["payCycleStatus"] = "open";
}
newJson["walmartid"] = this.partnerId;
newJson["Starttime"] = fromDate;
newJson["Endtime"] = toDate;
......@@ -258,6 +255,9 @@ const jsonCallback = async function (response) {
);
const newJson = { status, ...response }
newJson.__route = "transmitexportthispagedata";
if (this.params.requestType === "OPEN_CYCLE") {
newJson["payCycleStatus"] = "open";
}
newJson["walmartid"] = this.partnerId;
newJson["Starttime"] = this.params.fromDate;
newJson["Endtime"] = this.params.toDate;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment