| | |
| | | for (Object obj : args) { |
| | | if (obj instanceof AcceptData) { |
| | | acceptData = (AcceptData) obj; |
| | | if (acceptData != null) { |
| | | if ("ios".equalsIgnoreCase(acceptData.getPlatform())) { |
| | | acceptData.setChannel("appstore"); |
| | | } |
| | | //注入detailSystem |
| | | DetailSystem detailSystem = systemService.getDetailSystemByPackage(acceptData.getPackageName()); |
| | | acceptData.setDetailSystem(detailSystem); |
| | | } |
| | | |
| | | } else if (obj instanceof PrintWriter) { |
| | | out = (PrintWriter) obj; |
| | | } |
| | |
| | | } |
| | | } |
| | | |
| | | |
| | | if (acceptData != null) { |
| | | if ("ios" .equalsIgnoreCase(acceptData.getPlatform())) { |
| | | acceptData.setChannel("appstore"); |
| | | } |
| | | if (acceptData.getPackageName().equalsIgnoreCase("com.doudou.ysvideo.lite")) |
| | | acceptData.setPackageName("com.doudou.ysvideo"); |
| | | //注入detailSystem |
| | | DetailSystem detailSystem = systemService.getDetailSystemByPackage(acceptData.getPackageName()); |
| | | acceptData.setDetailSystem(detailSystem); |
| | | acceptData.setChildPackage(acceptData.getPackage()); |
| | | |
| | | |
| | | detailSystem = systemService.getDetailSystemByPackage(acceptData.getChildPackage()); |
| | | |
| | | } |
| | | |
| | | |
| | | return joinPoint.proceed(args); |
| | | } |
| | | |