| | |
| | | for (Object obj : args) {
|
| | | if (obj instanceof AcceptData) {
|
| | | acceptData = (AcceptData) obj;
|
| | | } else if (obj instanceof HttpServletRequest) {
|
| | | request = (HttpServletRequest) obj;
|
| | | }
|
| | | }
|
| | | boolean isRight = true;
|
| | |
| | |
|
| | | if ((acceptData.getPlatform() != null && acceptData.getPlatform().equalsIgnoreCase("android")
|
| | | && acceptData.getVersion() != null && Integer.parseInt(acceptData.getVersion()) > 21)
|
| | | || (acceptData.getPlatform()!=null&&acceptData.getPlatform().equalsIgnoreCase("ios") && acceptData.getVersion() != null
|
| | | && Integer.parseInt(acceptData.getVersion()) > 24)) {
|
| | | || (acceptData.getPlatform() != null && acceptData.getPlatform().equalsIgnoreCase("ios")
|
| | | && acceptData.getVersion() != null && Integer.parseInt(acceptData.getVersion()) > 24)) {
|
| | | isRight = signIsRight(request);
|
| | | } else if (acceptData.getPackages().startsWith("com.haicaojie")) {
|
| | | isRight = signIsRight(request);
|
| | |
| | | // out.close();
|
| | | // return null;
|
| | | // }
|
| | | //uid
|
| | | // uid
|
| | |
|
| | | Object obj = null;
|
| | | try {
|