SYMBOL INDEX (265 symbols across 44 files) FILE: sql/xupdate.sql type `account` (line 25) | CREATE TABLE `account` ( type `app_version_info` (line 58) | CREATE TABLE `app_version_info` ( FILE: src/main/java/com/xuexiang/xupdateservice/XUpdateServiceApplication.java class XUpdateServiceApplication (line 7) | @SpringBootApplication method main (line 11) | public static void main(String[] args) { FILE: src/main/java/com/xuexiang/xupdateservice/api/request/ApiRequest.java class ApiRequest (line 9) | public class ApiRequest { FILE: src/main/java/com/xuexiang/xupdateservice/api/request/PageQuery.java class PageQuery (line 7) | public class PageQuery { FILE: src/main/java/com/xuexiang/xupdateservice/api/response/ApiResult.java class ApiResult (line 29) | public class ApiResult { method getCode (line 38) | @JsonIgnore method setCode (line 43) | @JsonIgnore method getMsg (line 49) | @JsonIgnore method setMsg (line 54) | @JsonIgnore method getData (line 60) | @JsonIgnore method setData (line 65) | @JsonIgnore method setError (line 71) | @JsonIgnore method toString (line 78) | @Override method error (line 95) | public static ApiResult error(ApiException ex) { method error (line 108) | public static ApiResult error(int code, String msg) { FILE: src/main/java/com/xuexiang/xupdateservice/api/response/LoginInfo.java class LoginInfo (line 9) | public class LoginInfo { method getUser (line 15) | public Account getUser() { method setUser (line 19) | public LoginInfo setUser(Account account) { method getToken (line 24) | public String getToken() { method setToken (line 28) | public LoginInfo setToken(String token) { FILE: src/main/java/com/xuexiang/xupdateservice/api/response/PageData.java class PageData (line 11) | public class PageData { method PageData (line 21) | public PageData() { method PageData (line 24) | public PageData(int pageNum, int pageSize) { method getArray (line 29) | public List getArray() { method setArray (line 33) | public PageData setArray(List array) { method getTotal (line 38) | public long getTotal() { method setTotal (line 42) | public PageData setTotal(long total) { method getPageNum (line 47) | public int getPageNum() { method setPageNum (line 51) | public PageData setPageNum(int pageNum) { method getPageSize (line 56) | public int getPageSize() { method setPageSize (line 60) | public PageData setPageSize(int pageSize) { FILE: src/main/java/com/xuexiang/xupdateservice/api/response/UploadFileResponse.java class UploadFileResponse (line 10) | public class UploadFileResponse { method UploadFileResponse (line 16) | public UploadFileResponse(String fileName, String fileDownloadUri, Str... method getFileName (line 23) | public String getFileName() { method setFileName (line 27) | public void setFileName(String fileName) { method getFileDownloadUri (line 31) | public String getFileDownloadUri() { method setFileDownloadUri (line 35) | public void setFileDownloadUri(String fileDownloadUri) { method getFileType (line 39) | public String getFileType() { method setFileType (line 43) | public void setFileType(String fileType) { method getSize (line 47) | public long getSize() { method setSize (line 51) | public void setSize(long size) { FILE: src/main/java/com/xuexiang/xupdateservice/component/aspect/LimitedRequestAspect.java class LimitedRequestAspect (line 25) | @Aspect method requestLimit (line 29) | @Before("@within(org.springframework.web.bind.annotation.RestControlle... FILE: src/main/java/com/xuexiang/xupdateservice/component/aspect/RestControllerAspect.java class RestControllerAspect (line 26) | @Aspect method apiLog (line 38) | @Around("@within(org.springframework.web.bind.annotation.RestControlle... method needToLog (line 73) | private boolean needToLog(Method method) { FILE: src/main/java/com/xuexiang/xupdateservice/component/interceptor/CorsInterceptor.java class CorsInterceptor (line 15) | public class CorsInterceptor implements HandlerInterceptor { method preHandle (line 16) | @Override method postHandle (line 28) | @Override method afterCompletion (line 33) | @Override FILE: src/main/java/com/xuexiang/xupdateservice/component/interceptor/QuickRequestInterceptor.java class QuickRequestInterceptor (line 26) | public class QuickRequestInterceptor implements HandlerInterceptor { method preHandle (line 28) | @Override method postHandle (line 76) | @Override method afterCompletion (line 81) | @Override FILE: src/main/java/com/xuexiang/xupdateservice/component/token/AuthenticationInterceptor.java class AuthenticationInterceptor (line 30) | public class AuthenticationInterceptor implements HandlerInterceptor { method preHandle (line 36) | @Override method postHandle (line 83) | @Override method afterCompletion (line 89) | @Override FILE: src/main/java/com/xuexiang/xupdateservice/component/token/CurrentAccountMethodArgumentResolver.java class CurrentAccountMethodArgumentResolver (line 20) | public class CurrentAccountMethodArgumentResolver implements HandlerMeth... method supportsParameter (line 22) | @Override method resolveArgument (line 28) | @Override FILE: src/main/java/com/xuexiang/xupdateservice/config/Constants.java class Constants (line 7) | public class Constants { FILE: src/main/java/com/xuexiang/xupdateservice/config/FileStorageProperties.java class FileStorageProperties (line 10) | @Component method isKeepName (line 17) | public boolean isKeepName() { method setKeepName (line 21) | public void setKeepName(boolean keepName) { method getFileDirectory (line 25) | public String getFileDirectory() { method setFileDirectory (line 29) | public void setFileDirectory(String fileDirectory) { FILE: src/main/java/com/xuexiang/xupdateservice/config/WebAppConfigurer.java class WebAppConfigurer (line 19) | @EnableWebMvc method addInterceptors (line 23) | @Override method addArgumentResolvers (line 30) | @Override method addCorsMappings (line 36) | @Override method currentAccountMethodArgumentResolver (line 47) | @Bean method authenticationInterceptor (line 52) | @Bean method quickRequestInterceptor (line 57) | @Bean method addResourceHandlers (line 69) | @Override FILE: src/main/java/com/xuexiang/xupdateservice/controller/AccountController.java class AccountController (line 25) | @RestController method pageQueryAccounts (line 32) | @ResponseBody method getAllAccount (line 38) | @ResponseBody method login (line 44) | @ResponseBody method getCurrentAccount (line 62) | @LoginRequired method logout (line 69) | @LoginRequired method checkAccountExist (line 77) | @ResponseBody method register (line 83) | @ResponseBody method deleteAccount (line 93) | @ResponseBody method updateAccountInfo (line 99) | @ResponseBody FILE: src/main/java/com/xuexiang/xupdateservice/controller/HomeController.java class HomeController (line 7) | @Controller method index (line 10) | @GetMapping(value = {"/", "/index"}) FILE: src/main/java/com/xuexiang/xupdateservice/controller/UpdateController.java class UpdateController (line 32) | @RestController method doCheckVersion (line 45) | @ResponseBody method pageQueryVersions (line 51) | @ResponseBody method getAllVersions (line 57) | @ResponseBody method register (line 63) | @ResponseBody method deleteAppVersionInfo (line 69) | @ResponseBody method updateAppVersionInfo (line 75) | @ResponseBody method addAppVersionInfo (line 81) | @ResponseBody method addNewAppVersion (line 92) | private ApiResult addNewAppVersion(AppVersionInfo appVersionInfo) { method uploadApkFile (line 112) | @PostMapping("/uploadApk") method updateVersionInfo (line 137) | private void updateVersionInfo(String fileName, AppVersionInfo appVers... method addAppVersion (line 145) | @ResponseBody method getOnErrorApiResult (line 178) | private ApiResult getOnErrorApiResult(ApiResult apiResult, S... method downloadFile (line 183) | @GetMapping("/apk/{fileName:.+}") FILE: src/main/java/com/xuexiang/xupdateservice/exception/ApiException.java class ApiException (line 7) | public class ApiException extends Exception { method ApiException (line 14) | public ApiException(String message, int code) { method ApiException (line 19) | public ApiException(Throwable e, int code) { method getCode (line 24) | public int getCode() { class ERROR (line 31) | public static class ERROR { FILE: src/main/java/com/xuexiang/xupdateservice/exception/ApiExceptionHandler.java class ApiExceptionHandler (line 16) | @RestControllerAdvice method apiErrorHandler (line 27) | @ExceptionHandler(value = Exception.class) FILE: src/main/java/com/xuexiang/xupdateservice/exception/FileNotFoundException.java class FileNotFoundException (line 6) | @ResponseStatus(HttpStatus.NOT_FOUND) method FileNotFoundException (line 9) | public FileNotFoundException(String message) { method FileNotFoundException (line 13) | public FileNotFoundException(String message, Throwable cause) { FILE: src/main/java/com/xuexiang/xupdateservice/exception/FileStorageException.java class FileStorageException (line 3) | public class FileStorageException extends RuntimeException { method FileStorageException (line 4) | public FileStorageException(String message) { method FileStorageException (line 8) | public FileStorageException(String message, Throwable cause) { FILE: src/main/java/com/xuexiang/xupdateservice/mapper/AccountMapper.java type AccountMapper (line 6) | public interface AccountMapper extends Mapper { FILE: src/main/java/com/xuexiang/xupdateservice/mapper/AppVersionInfoMapper.java type AppVersionInfoMapper (line 6) | public interface AppVersionInfoMapper extends Mapper { FILE: src/main/java/com/xuexiang/xupdateservice/model/Account.java class Account (line 6) | @Table(name = "account") method getAccountId (line 33) | public Integer getAccountId() { method setAccountId (line 40) | public void setAccountId(Integer accountId) { method getLoginName (line 47) | public String getLoginName() { method setLoginName (line 54) | public void setLoginName(String loginName) { method getPassword (line 61) | public String getPassword() { method setPassword (line 68) | public void setPassword(String password) { method getNick (line 75) | public String getNick() { method setNick (line 82) | public void setNick(String nick) { method getAuthority (line 89) | public String getAuthority() { method setAuthority (line 96) | public void setAuthority(String authority) { method getAvatar (line 103) | public String getAvatar() { method setAvatar (line 110) | public void setAvatar(String avatar) { method getPhone (line 117) | public String getPhone() { method setPhone (line 124) | public void setPhone(String phone) { method getAddress (line 131) | public String getAddress() { method setAddress (line 138) | public void setAddress(String address) { method getRegisterTime (line 145) | public Date getRegisterTime() { method setRegisterTime (line 152) | public void setRegisterTime(Date registerTime) { FILE: src/main/java/com/xuexiang/xupdateservice/model/AppVersionInfo.java class AppVersionInfo (line 5) | @Table(name = "app_version_info") method getVersionId (line 41) | public Integer getVersionId() { method setVersionId (line 48) | public void setVersionId(Integer versionId) { method getUpdateStatus (line 55) | public Integer getUpdateStatus() { method setUpdateStatus (line 62) | public void setUpdateStatus(Integer updateStatus) { method getVersionCode (line 69) | public Integer getVersionCode() { method setVersionCode (line 76) | public void setVersionCode(Integer versionCode) { method getVersionName (line 83) | public String getVersionName() { method setVersionName (line 90) | public void setVersionName(String versionName) { method getUploadTime (line 97) | public String getUploadTime() { method setUploadTime (line 104) | public void setUploadTime(String uploadTime) { method getApkSize (line 111) | public Integer getApkSize() { method setApkSize (line 118) | public void setApkSize(Integer apkSize) { method getAppKey (line 125) | public String getAppKey() { method setAppKey (line 132) | public void setAppKey(String appKey) { method getModifyContent (line 139) | public String getModifyContent() { method setModifyContent (line 146) | public void setModifyContent(String modifyContent) { method getDownloadUrl (line 153) | public String getDownloadUrl() { method setDownloadUrl (line 160) | public void setDownloadUrl(String downloadUrl) { method getApkMd5 (line 167) | public String getApkMd5() { method setApkMd5 (line 174) | public void setApkMd5(String apkMd5) { FILE: src/main/java/com/xuexiang/xupdateservice/service/AccountService.java type AccountService (line 14) | public interface AccountService { method getAllAccount (line 23) | PageData getAllAccount(int pageNum, int pageSize); method getAllAccount (line 30) | List getAllAccount(); method updateAccount (line 39) | boolean updateAccount(Account account); method deleteAccount (line 47) | boolean deleteAccount(int accountId); method registerAccount (line 55) | boolean registerAccount(Account account); method checkAccount (line 62) | Account checkAccount(String loginName); method loginAccount (line 70) | Account loginAccount(String loginName, String password); FILE: src/main/java/com/xuexiang/xupdateservice/service/FileStorageService.java type FileStorageService (line 12) | public interface FileStorageService { method storeFile (line 21) | String storeFile(MultipartFile file) throws Exception; method loadFileAsResource (line 29) | Resource loadFileAsResource(String fileName) throws Exception; FILE: src/main/java/com/xuexiang/xupdateservice/service/UpdateService.java type UpdateService (line 12) | public interface UpdateService { method getLatestAppVersionInfo (line 34) | AppVersionInfo getLatestAppVersionInfo(int versionCode, String appKey); method getAllAppVersionInfo (line 42) | List getAllAppVersionInfo(String appKey); method getAllAppVersionInfo (line 49) | List getAllAppVersionInfo(); method getAllAppVersionInfo (line 58) | PageData getAllAppVersionInfo(int pageNum, int pageSize); method getAppVersionInfo (line 66) | AppVersionInfo getAppVersionInfo(int versionCode, String appKey); method addAppVersionInfo (line 74) | boolean addAppVersionInfo(AppVersionInfo appVersionInfo); method updateAppVersionInfo (line 82) | boolean updateAppVersionInfo(AppVersionInfo appVersionInfo); method deleteAppVersionInfo (line 91) | boolean deleteAppVersionInfo(int versionId); FILE: src/main/java/com/xuexiang/xupdateservice/service/impl/AccountServiceImpl.java class AccountServiceImpl (line 20) | @Service(value = "accountService") method getAllAccount (line 26) | @Override method getAllAccount (line 37) | @Override method updateAccount (line 42) | @Override method deleteAccount (line 47) | @Override method registerAccount (line 52) | @Override method checkAccount (line 57) | @Override method loginAccount (line 64) | @Override method selectFirstAccountByCondition (line 72) | private Account selectFirstAccountByCondition(Condition condition) { FILE: src/main/java/com/xuexiang/xupdateservice/service/impl/FileStorageServiceImpl.java class FileStorageServiceImpl (line 22) | @Service(value = "fileService") method FileStorageServiceImpl (line 29) | @Autowired method storeFile (line 41) | @Override method loadFileAsResource (line 67) | @Override FILE: src/main/java/com/xuexiang/xupdateservice/service/impl/UpdateServiceImpl.java class UpdateServiceImpl (line 21) | @Service(value = "updateService") method getLatestAppVersionInfo (line 27) | @Override method getAllAppVersionInfo (line 47) | @Override method getAllAppVersionInfo (line 55) | @Override method getAllAppVersionInfo (line 66) | @Override method getAppVersionInfo (line 78) | @Override method addAppVersionInfo (line 92) | @Override method updateAppVersionInfo (line 97) | @Override method deleteAppVersionInfo (line 102) | @Override FILE: src/main/java/com/xuexiang/xupdateservice/utils/AspectJUtils.java class AspectJUtils (line 20) | public final class AspectJUtils { method AspectJUtils (line 22) | private AspectJUtils() { method getMethodName (line 32) | public static String getMethodName(JoinPoint joinPoint) { method getMethodParams (line 47) | public static String getMethodParams(ProceedingJoinPoint joinPoint) { method deleteSensitiveContent (line 77) | public static String deleteSensitiveContent(Object obj) { method getSensitiveFieldList (line 100) | private static List getSensitiveFieldList() { FILE: src/main/java/com/xuexiang/xupdateservice/utils/DateUtils.java class DateUtils (line 33) | public final class DateUtils { method DateUtils (line 74) | private DateUtils() { method millis2String (line 87) | public static String millis2String(final long millis, final DateFormat... method date2String (line 99) | public static String date2String(final Date date, final DateFormat for... method string2Millis (line 115) | public static long string2Millis(final String time, final DateFormat f... method string2Date (line 134) | public static Date string2Date(final String time, final DateFormat for... method date2Millis (line 151) | public static long date2Millis(final Date date) { method millis2Date (line 161) | public static Date millis2Date(final long millis) { method getAgeByBirthDay (line 174) | public static int getAgeByBirthDay(final String birthDay, final DateFo... method getAgeByBirthDay (line 185) | public static int getAgeByBirthDay(Date birthDay) throws IllegalArgume... method getNowMills (line 221) | public static long getNowMills() { method getNowString (line 232) | public static String getNowString(final DateFormat format) { method getNowDate (line 241) | public static Date getNowDate() { method getWeekIndex (line 261) | public static int getWeekIndex(final String time, final DateFormat for... method getYear (line 271) | public static int getYear(final Date date) { method getMonth (line 283) | public static int getMonth(final Date date) { method getDay (line 295) | public static int getDay(final Date date) { method getWeekIndex (line 315) | public static int getWeekIndex(final Date date) { method getWeekIndex (line 335) | public static int getWeekIndex(final long millis) { FILE: src/main/java/com/xuexiang/xupdateservice/utils/FileUtils.java class FileUtils (line 11) | public final class FileUtils { method FileUtils (line 13) | private FileUtils() { method randomFileName (line 22) | public static String randomFileName(String filePath) { method getFileExtension (line 34) | public static String getFileExtension(final String filePath) { method getApkFileSize (line 48) | public static int getApkFileSize(final File file) { method getFileLength (line 59) | private static long getFileLength(final File file) { method isFile (line 70) | private static boolean isFile(final File file) { FILE: src/main/java/com/xuexiang/xupdateservice/utils/IpUtils.java class IpUtils (line 21) | public final class IpUtils { method IpUtils (line 23) | private IpUtils() { method getIpAddr (line 40) | public static String getIpAddr(HttpServletRequest request) { method getRealIp (line 68) | public static String getRealIp(HttpServletRequest request) { method getIp (line 101) | private static String getIp(HttpServletRequest request, String ip){ method getServiceIp (line 120) | public static String getServiceIp() { FILE: src/main/java/com/xuexiang/xupdateservice/utils/Md5Utils.java class Md5Utils (line 35) | public final class Md5Utils { method Md5Utils (line 37) | private Md5Utils() { method getFileMD5 (line 41) | public static String getFileMD5(File file) { method isFileValid (line 73) | public static boolean isFileValid(String md5, File file) { method bytes2Hex (line 83) | private static String bytes2Hex(byte[] src) { FILE: src/main/java/com/xuexiang/xupdateservice/utils/QuickRequestUtils.java class QuickRequestUtils (line 16) | public final class QuickRequestUtils { method QuickRequestUtils (line 18) | private QuickRequestUtils() { method isQuickRequest (line 39) | public static boolean isQuickRequest(String key, QuickRequest quickReq... method isQuickRequest (line 59) | public static boolean isQuickRequest(String key, LimitedRequest limit) { FILE: src/main/java/com/xuexiang/xupdateservice/utils/RandomGUID.java class RandomGUID (line 16) | public final class RandomGUID { method run (line 32) | public void run() { method getRandomGUID (line 46) | public static String getRandomGUID() { method RandomGUID (line 50) | public RandomGUID() { method RandomGUID (line 53) | public RandomGUID(boolean secure) { method getRandomGUID (line 60) | private void getRandomGUID(boolean secure) { method toString (line 103) | public String toString() { FILE: src/main/java/com/xuexiang/xupdateservice/utils/TokenUtils.java class TokenUtils (line 20) | public final class TokenUtils { method createJwtToken (line 33) | public static String createJwtToken(String id) { method createJwtToken (line 49) | public static String createJwtToken(String id, String issuer, String s... method parseJWT (line 82) | public static Claims parseJWT(String jwt) { method parseToken (line 97) | public static String parseToken(HttpServletRequest request) { method main (line 105) | public static void main(String[] args) { FILE: src/main/resources/static/js/upload.js function onAddInfo (line 3) | function onAddInfo() { function onUpload (line 29) | function onUpload() { FILE: src/test/java/com/xuexiang/xupdateservice/XUpdateServiceApplicationTests.java class XUpdateServiceApplicationTests (line 14) | @RunWith(SpringRunner.class) method contextLoads (line 21) | @Test method SelectByConditionMapper (line 26) | @Test