FIX: turn off staffpick by switch

Change-Id: I7ab5c2aa14273a7e7bb2badccdddac22b784f342
(cherry picked from commit b2aa5e32ce61677838621aaedb9ddbe3699bddf7)
This commit is contained in:
chunmao.guo authored and Lane.Wei committed 2023-07-07 17:25:51 +08:00
1 parent 84eb6159aa
commit 4fd8a2b957
2 files changed
+4 -2

No files matched your search

+4
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));
}
}