FIX: turn off staffpick by switch

Change-Id: I7ab5c2aa14273a7e7bb2badccdddac22b784f342
(cherry picked from commit b2aa5e32ce61677838621aaedb9ddbe3699bddf7)
This commit is contained in:
chunmao.guo 2023-04-10 14:14:53 +08:00 committed by Lane.Wei
parent 84eb6159aa
commit 4fd8a2b957
2 changed files with 4 additions and 2 deletions

View file

@ -441,6 +441,10 @@ void WebViewPanel::SendDesignStaffpick(NetworkAgent *agent)
RunScript(wxString::Format("window.postMessage(%s)", body2));
});
});
} else {
std::string body2 = "{\"total\":0, \"hits\":[]}";
body2.insert(1, "\"command\": \"modelmall_model_advise_get\", ");
RunScript(wxString::Format("window.postMessage(%s)", body2));
}
}