Browse Source

REPORT-52895 部分埋点没有记录

feature/10.0
kuangshuai 4 years ago
parent
commit
8169f88c6c
  1. 2
      designer-base/src/main/java/com/fr/design/mainframe/EastRegionContainerPane.java
  2. 5
      designer-base/src/main/java/com/fr/design/mainframe/share/collect/ComponentCollector.java

2
designer-base/src/main/java/com/fr/design/mainframe/EastRegionContainerPane.java

@ -15,6 +15,7 @@ import com.fr.design.gui.ilable.UILabel;
import com.fr.design.layout.VerticalFlowLayout; import com.fr.design.layout.VerticalFlowLayout;
import com.fr.design.mainframe.reuse.ReuseGuideDialog; import com.fr.design.mainframe.reuse.ReuseGuideDialog;
import com.fr.design.mainframe.reuse.SnapChatKeys; import com.fr.design.mainframe.reuse.SnapChatKeys;
import com.fr.design.mainframe.share.collect.ComponentCollector;
import com.fr.design.menu.SnapChatUtil; import com.fr.design.menu.SnapChatUtil;
import com.fr.design.notification.SnapChat; import com.fr.design.notification.SnapChat;
import com.fr.design.notification.SnapChatFactory; import com.fr.design.notification.SnapChatFactory;
@ -313,6 +314,7 @@ public class EastRegionContainerPane extends UIEastResizableContainer {
new ActionListener() { new ActionListener() {
@Override @Override
public void actionPerformed(ActionEvent e) { public void actionPerformed(ActionEvent e) {
ComponentCollector.getInstance().collectCmpBoardClick();
ComponentReuseNotifyUtil.enterWidgetLibExtraAction(true); ComponentReuseNotifyUtil.enterWidgetLibExtraAction(true);
} }
}); });

5
designer-base/src/main/java/com/fr/design/mainframe/share/collect/ComponentCollector.java

@ -12,6 +12,7 @@ import com.fr.form.share.Group;
import com.fr.form.share.group.filter.DirFilter; import com.fr.form.share.group.filter.DirFilter;
import com.fr.form.share.group.filter.ReuFilter; import com.fr.form.share.group.filter.ReuFilter;
import com.fr.general.ComparatorUtils; import com.fr.general.ComparatorUtils;
import com.fr.general.GeneralUtils;
import com.fr.json.JSON; import com.fr.json.JSON;
import com.fr.json.JSONArray; import com.fr.json.JSONArray;
import com.fr.json.JSONException; import com.fr.json.JSONException;
@ -371,7 +372,7 @@ public class ComponentCollector implements XMLable {
sortType = JSONFactory.createJSON(JSON.ARRAY); sortType = JSONFactory.createJSON(JSON.ARRAY);
} }
private int cmpBoardClickDaily() { private int cmpBoardClickDaily() {
DateTime dateTime = DateTime.parse(startTime); DateTime dateTime = DateTime.parse(startTime);
DateTime currTime = DateTime.now(); DateTime currTime = DateTime.now();
@ -524,7 +525,7 @@ public class ComponentCollector implements XMLable {
jo.put("userId", MarketConfig.getInstance().getBBSAttr().getBbsUid()); jo.put("userId", MarketConfig.getInstance().getBBSAttr().getBbsUid());
jo.put("uuid", uuid); jo.put("uuid", uuid);
jo.put("cmpBoardClickDaily", cmpBoardClickDaily()); jo.put("cmpBoardClickDaily", cmpBoardClickDaily());
jo.put("pluginVersion", PluginContexts.currentContext().getVersion()); jo.put("pluginVersion", GeneralUtils.readBuildNO());
jo.put("localCmpNumber", localCmpNumber); jo.put("localCmpNumber", localCmpNumber);
jo.put("remoteCmpNumber", remoteCmpNumber); jo.put("remoteCmpNumber", remoteCmpNumber);
jo.put("uploadCmpNumber", uploadCmpNumber); jo.put("uploadCmpNumber", uploadCmpNumber);

Loading…
Cancel
Save