+6
-1
@@ -1282,7 +1282,12 @@ public class LayoutSyncController extends OnlBaseAnnotationController implements
|
|||||||
private boolean isDevMake(JSONObject layout) throws Exception {
|
private boolean isDevMake(JSONObject layout) throws Exception {
|
||||||
String loutName = (String) layout.get("id");
|
String loutName = (String) layout.get("id");
|
||||||
String[] parts = loutName.split("_");
|
String[] parts = loutName.split("_");
|
||||||
String interfaceId = parts[1];
|
String interfaceId = "";
|
||||||
|
if (parts.length == 2) {
|
||||||
|
interfaceId = parts[0];
|
||||||
|
} else if (parts.length == 3) {
|
||||||
|
interfaceId = parts[1];
|
||||||
|
}
|
||||||
return isDevMake(interfaceId);
|
return isDevMake(interfaceId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user