【光环助手5.6.0】【客户端内部需求】使用 flutter 实现反馈详情页面(修复0209测试反馈的BUG)https://git.shanqu.cc/pm/halo-app-issues/-/issues/1684

This commit is contained in:
axen
2022-02-09 16:04:52 +08:00
parent 3081d99e12
commit 31bae10c28
3 changed files with 29 additions and 2 deletions

View File

@ -0,0 +1,18 @@
package com.gh.flutter;
import com.gh.common.filter.RegionSettingHelper;
import me.ele.lancet.base.annotations.Insert;
import me.ele.lancet.base.annotations.TargetClass;
public class FlutterRegionSettingServiceImplAop {
private static final String TARGET_CLASS =
FlutterConstants.SERVICE_PACKAGE + ".FlutterRegionSettingServiceImpl";
private static final String METHOD_SHOULD_THIS_GAME_DISPLAY_MIRROR_INFO = "shouldThisGameDisplayMirrorInfo";
@TargetClass(TARGET_CLASS)
@Insert(METHOD_SHOULD_THIS_GAME_DISPLAY_MIRROR_INFO)
public boolean shouldThisGameDisplayMirrorInfo(String gameId) {
return RegionSettingHelper.INSTANCE.shouldThisGameDisplayMirrorInfo(gameId);
}
}