├── .gitignore ├── README.md ├── a.html ├── dump.rdb ├── pom.xml ├── result.html ├── springboot-annotation ├── .gitignore ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── demo │ │ │ ├── MyAnnotation.java │ │ │ ├── MyClass.java │ │ │ ├── MySubClass.java │ │ │ ├── SpringbootAnnotationApplication.java │ │ │ ├── Test.java │ │ │ ├── annotation │ │ │ ├── ActionLog.java │ │ │ └── Token.java │ │ │ ├── aop │ │ │ ├── ActionLogAspect.java │ │ │ └── TokenContract.java │ │ │ ├── controller │ │ │ ├── TokenController.java │ │ │ └── UserController.java │ │ │ └── exception │ │ │ └── FormRepeatException.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── com │ └── example │ └── demo │ └── SpringbootAnnotationApplicationTests.java ├── springboot-cacahe-data-with-spring ├── .gitignore ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── demo │ │ │ ├── AppRunner.java │ │ │ ├── SpringbootCacaheDataWithSpringApplication.java │ │ │ ├── entity │ │ │ └── Book.java │ │ │ └── repository │ │ │ ├── BookRepository.java │ │ │ └── impl │ │ │ └── SimpleBookRepository.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── com │ └── example │ └── demo │ └── SpringbootCacaheDataWithSpringApplicationTests.java ├── springboot-config ├── .gitignore ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── demo │ │ │ ├── SpringbootConfigApplication.java │ │ │ ├── bean │ │ │ ├── ConfigBean.java │ │ │ └── User.java │ │ │ └── controller │ │ │ ├── LucyController.java │ │ │ └── MiyaController.java │ └── resources │ │ ├── application-dev.yml │ │ ├── application-prod.yml │ │ ├── application-test.yml │ │ ├── application.yml │ │ └── test.properties │ └── test │ └── java │ └── com │ └── example │ └── demo │ └── SpringbootConfigApplicationTests.java ├── springboot-designpattern ├── .gitignore ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── demo │ │ │ ├── Department.java │ │ │ ├── FontImage.java │ │ │ ├── FtpFileUtil.java │ │ │ ├── FtpUtils.java │ │ │ ├── JpgTest.java │ │ │ ├── SpringbootDesignpatternApplication.java │ │ │ ├── Test.java │ │ │ ├── algorithm │ │ │ ├── BinarySearch.java │ │ │ ├── Factorial.java │ │ │ ├── Fun.java │ │ │ ├── LRUCache.java │ │ │ ├── Median.java │ │ │ ├── Merge.java │ │ │ ├── Poke.java │ │ │ ├── QueueTest.java │ │ │ ├── Search.java │ │ │ ├── Test.java │ │ │ ├── TopK.java │ │ │ ├── TwoStackImplQueue.java │ │ │ ├── recursive │ │ │ │ ├── Department.java │ │ │ │ ├── DepartmentTest.java │ │ │ │ ├── Fibonacci.java │ │ │ │ ├── Sum.java │ │ │ │ └── Test.java │ │ │ └── sort │ │ │ │ ├── InsertSort.java │ │ │ │ └── SelctSort.java │ │ │ ├── annotation │ │ │ ├── Format.java │ │ │ ├── InheritDemo.java │ │ │ ├── Label.java │ │ │ ├── MethodAnnotations.java │ │ │ ├── ServiceA.java │ │ │ ├── ServiceB.java │ │ │ ├── SimpleContainer.java │ │ │ ├── SimpleFormatter.java │ │ │ ├── SimpleInject.java │ │ │ ├── SimpleSingleton.java │ │ │ └── readme.md │ │ │ ├── aop │ │ │ ├── Aop.java │ │ │ ├── AopImpl.java │ │ │ ├── AopProxy.java │ │ │ └── AopTest.java │ │ │ ├── architecture │ │ │ ├── 分布式架构的演进.md │ │ │ ├── 微服务和事件驱动.md │ │ │ ├── 微服务架构技术栈选型手册.md │ │ │ ├── 架构师.md │ │ │ ├── 架构师之路17年精选80篇.md │ │ │ ├── 架构师的自我修养.md │ │ │ └── 架构部操作手册.md │ │ │ ├── binary │ │ │ ├── BinaryDemo4.java │ │ │ ├── Demo.java │ │ │ ├── LongTest.java │ │ │ └── Test.java │ │ │ ├── bitcoin │ │ │ ├── App.java │ │ │ └── MerkleTrees.java │ │ │ ├── datastructure │ │ │ ├── MyBinSearchTree.java │ │ │ ├── MyQueue.java │ │ │ ├── TreeNode.java │ │ │ ├── recursion │ │ │ │ ├── Factorial.java │ │ │ │ ├── Fibonacci.java │ │ │ │ └── Hanio.java │ │ │ ├── stack │ │ │ │ ├── ArrayStack.java │ │ │ │ └── Stack.java │ │ │ └── tree │ │ │ │ ├── BTree.java │ │ │ │ ├── BTreeTest.java │ │ │ │ ├── LinkBTree.java │ │ │ │ └── VisitBTree.java │ │ │ ├── dynamicproxy │ │ │ ├── Aspect.java │ │ │ ├── ExceptionAspect.java │ │ │ ├── GeneralProxyDemo.java │ │ │ ├── ServiceLogAspect.java │ │ │ ├── SimpleCGLibDemo.java │ │ │ ├── SimpleJDKDynamicProxyDemo.java │ │ │ ├── SimpleStaticProxyDemo.java │ │ │ └── readme.md │ │ │ ├── effective │ │ │ └── README.md │ │ │ ├── encrypt │ │ │ ├── DESTest.java │ │ │ ├── DESUtil.java │ │ │ ├── MD5Test.java │ │ │ ├── README.md │ │ │ └── SHATest.java │ │ │ ├── file │ │ │ └── AvrageSalary.java │ │ │ ├── interview │ │ │ ├── 10道面试腾讯的Java面试题.md │ │ │ ├── 2017卧底面试题答案解析.md │ │ │ ├── 70道阿里的Java面试题.md │ │ │ ├── AbcTest.java │ │ │ ├── Dubbo面试题锦集.md │ │ │ ├── IntTest.java │ │ │ ├── IntegerSwap.java │ │ │ ├── IntegerTest.java │ │ │ ├── Java List面试题汇总.md │ │ │ ├── Java Map集合面试题.md │ │ │ ├── ListRemoveTest.java │ │ │ ├── OddEvenSort.java │ │ │ ├── PrimeTest.java │ │ │ ├── README.md │ │ │ ├── ShuiXianHua.java │ │ │ ├── SingleNumber.java │ │ │ ├── String的10道经典面试题.md │ │ │ ├── Test100.java │ │ │ ├── UserInput.java │ │ │ ├── XyzTest.java │ │ │ ├── Zookeeper面试题锦集.md │ │ │ ├── event │ │ │ │ ├── CusEvent.java │ │ │ │ ├── CusEventListener.java │ │ │ │ ├── EventSourceObject.java │ │ │ │ └── EventTest.java │ │ │ ├── hongbao │ │ │ │ └── HongBaoRandom.java │ │ │ ├── 去BAT面试完的Mysql面试题总结(55道,带完整答案).docx │ │ │ ├── 史上最全60道多线程面试题答案.txt │ │ │ ├── 有点难度的10道java面试题.md │ │ │ ├── 缓存面试题.md │ │ │ ├── 阿里、华为、腾讯Java技术面试题精选.md │ │ │ ├── 阿里巴巴高级Java面试题(首发,70道).doc │ │ │ ├── 阿里面试回来.md │ │ │ └── 面试20家总结.md │ │ │ ├── java8 │ │ │ ├── lambda │ │ │ │ ├── IDemo.java │ │ │ │ ├── PredicateDemo.java │ │ │ │ ├── README.md │ │ │ │ └── Test.java │ │ │ └── stream │ │ │ │ ├── StreamDemo.java │ │ │ │ ├── StreamTest.java │ │ │ │ ├── Student.java │ │ │ │ └── readme.md │ │ │ ├── jdbc │ │ │ ├── DBUtils.java │ │ │ ├── FileUtils.java │ │ │ ├── GenareateEntityUtil.java │ │ │ └── TypeTransfer.java │ │ │ ├── jvm │ │ │ ├── DirectMem.java │ │ │ ├── GC.md │ │ │ ├── JVM 内存结构.md │ │ │ ├── JVM 命令.md │ │ │ ├── Oom.java │ │ │ ├── OomStack.java │ │ │ ├── Test.java │ │ │ ├── loader │ │ │ │ ├── ClassLoaderTest.java │ │ │ │ ├── LoaderTest.java │ │ │ │ ├── MyClassLoader.java │ │ │ │ └── Test2.java │ │ │ └── oom │ │ │ │ ├── DirectMem.java │ │ │ │ ├── Oom.java │ │ │ │ └── OomStack.java │ │ │ ├── leecode │ │ │ ├── README.md │ │ │ └── simple │ │ │ │ ├── LongestCommonPrefix.java │ │ │ │ ├── MergeTwoSortedLists.java │ │ │ │ ├── PalindromeNumber.java │ │ │ │ ├── RemoveDuplicatesFromSortedArray.java │ │ │ │ ├── RemoveElement.java │ │ │ │ ├── ReverseInteger.java │ │ │ │ ├── Roman2Integer.java │ │ │ │ ├── StrStr.java │ │ │ │ ├── TwoSum.java │ │ │ │ └── ValidParentheses.java │ │ │ ├── limit │ │ │ ├── CountLimitService.java │ │ │ ├── LimitService.java │ │ │ ├── SemaphoreLimitService.java │ │ │ ├── TokenBucketLimitService.java │ │ │ └── test │ │ │ │ ├── CountTest.java │ │ │ │ ├── RateLimiterDemo.java │ │ │ │ ├── SemaphoreTest.java │ │ │ │ └── TokenBucketTest.java │ │ │ ├── netty │ │ │ ├── README.md │ │ │ ├── bio │ │ │ │ ├── IOServer.java │ │ │ │ ├── IOServerMultiThread.java │ │ │ │ └── IOServerThreadPool.java │ │ │ └── nio │ │ │ │ ├── NIOServer.java │ │ │ │ ├── multi │ │ │ │ ├── NIOServer.java │ │ │ │ └── Processor.java │ │ │ │ └── reactor │ │ │ │ ├── NIOServer.java │ │ │ │ └── Processor.java │ │ │ ├── orderno │ │ │ ├── OrderNoLock.java │ │ │ ├── README.md │ │ │ ├── SnowflakeIdWorker.java │ │ │ ├── UUIDTest.java │ │ │ ├── client │ │ │ │ ├── OrderAtomicClient.java │ │ │ │ ├── OrderLockClient.java │ │ │ │ ├── OrderRedisClient.java │ │ │ │ └── OrderZKClient.java │ │ │ ├── service │ │ │ │ ├── OrderService.java │ │ │ │ └── impl │ │ │ │ │ ├── OrderAtomicServiceImpl.java │ │ │ │ │ ├── OrderLockServiceImpl.java │ │ │ │ │ ├── OrderNoLockServiceImpl.java │ │ │ │ │ └── OrderRedisServiceImpl.java │ │ │ └── task │ │ │ │ ├── OrderTask.java │ │ │ │ └── OrderZKTask.java │ │ │ ├── pattern │ │ │ ├── builder │ │ │ │ └── NutritionFacts.java │ │ │ ├── decorator │ │ │ │ ├── Component.java │ │ │ │ ├── ConcreteComponent.java │ │ │ │ ├── ConcreteDecorator.java │ │ │ │ ├── ConcreteDecoratorA.java │ │ │ │ ├── Decorator.java │ │ │ │ └── DecoratorTest.java │ │ │ ├── observer │ │ │ │ ├── Client.java │ │ │ │ ├── Observer.java │ │ │ │ ├── Student.java │ │ │ │ ├── Subject.java │ │ │ │ └── Teacher.java │ │ │ ├── proxy │ │ │ │ ├── README.md │ │ │ │ ├── dynamic │ │ │ │ │ ├── GeneralProxyDemo.java │ │ │ │ │ ├── SimpleCGLibDemo.java │ │ │ │ │ └── SimpleJDKDynamicProxyDemo.java │ │ │ │ └── staticproxy │ │ │ │ │ └── SimpleStaticProxyDemo.java │ │ │ ├── singleton │ │ │ │ ├── eager │ │ │ │ │ └── Singleton.java │ │ │ │ ├── enumimpl │ │ │ │ │ ├── Singleton.java │ │ │ │ │ └── standard │ │ │ │ │ │ ├── MySingleton.java │ │ │ │ │ │ └── Singleton.java │ │ │ │ ├── lazy │ │ │ │ │ ├── Singleton.java │ │ │ │ │ └── security │ │ │ │ │ │ ├── Singleton.java │ │ │ │ │ │ └── doublecheck │ │ │ │ │ │ └── Singleton.java │ │ │ │ └── staticinner │ │ │ │ │ └── Singleton.java │ │ │ └── stratege │ │ │ │ ├── ConfigurableStrategyDemo.java │ │ │ │ ├── IService.java │ │ │ │ ├── ServiceA.java │ │ │ │ ├── ServiceB.java │ │ │ │ ├── s1 │ │ │ │ ├── DisabledDuck.java │ │ │ │ ├── Duck.java │ │ │ │ ├── MallardDuck.java │ │ │ │ └── RedheadDuck.java │ │ │ │ ├── s2 │ │ │ │ ├── DisabledDuck.java │ │ │ │ ├── Duck.java │ │ │ │ ├── Flyable.java │ │ │ │ ├── MallardDuck.java │ │ │ │ ├── Quackable.java │ │ │ │ └── RedheadDuck.java │ │ │ │ └── s3 │ │ │ │ ├── Duck.java │ │ │ │ ├── FlyBehavior.java │ │ │ │ ├── FlyNoWay.java │ │ │ │ ├── FlyWithWings.java │ │ │ │ ├── MallardDuck.java │ │ │ │ ├── MuteQuack.java │ │ │ │ ├── Quack.java │ │ │ │ ├── QuackBehavior.java │ │ │ │ └── Squeak.java │ │ │ ├── queue │ │ │ ├── Account.java │ │ │ ├── AccountTest.java │ │ │ ├── Student.java │ │ │ └── ThreadMain.java │ │ │ ├── reflection │ │ │ ├── GenericDemo.java │ │ │ ├── Human.java │ │ │ ├── HumanFactory.java │ │ │ ├── ReflectionTest.java │ │ │ ├── SimpleMapper.java │ │ │ ├── SimpleMapperDemo.java │ │ │ ├── Student.java │ │ │ ├── StudentReflectTest.java │ │ │ ├── Teacher.java │ │ │ └── readme.md │ │ │ ├── regex │ │ │ └── Test.java │ │ │ ├── rmi │ │ │ ├── HelloService.java │ │ │ ├── HelloServiceImpl.java │ │ │ ├── RmiClient.java │ │ │ └── RmiServer.java │ │ │ ├── spring4all │ │ │ └── 晚报 20180205 腊月二十.md │ │ │ ├── test │ │ │ ├── Alpha.java │ │ │ ├── Anagram.java │ │ │ ├── Base.java │ │ │ ├── Child.java │ │ │ ├── Foo.java │ │ │ ├── Letter.java │ │ │ ├── LinkNode.java │ │ │ ├── Node.java │ │ │ ├── Parent.java │ │ │ ├── PassObject.java │ │ │ ├── Person.java │ │ │ ├── ProcessTest.java │ │ │ ├── Test.java │ │ │ └── Testint.java │ │ │ ├── thread │ │ │ ├── AtomicArrayDemo.java │ │ │ ├── AtomicReferenceDemo.java │ │ │ ├── FieldUpdaterDemo.java │ │ │ ├── HelloRunnable.java │ │ │ ├── HelloThread.java │ │ │ ├── JoinTest.java │ │ │ ├── MyLock.java │ │ │ ├── README.md │ │ │ ├── SpinLock.java │ │ │ ├── Test1.java │ │ │ ├── ThreadInfo.java │ │ │ ├── ThreeWayThread.java │ │ │ ├── countdowenlatch │ │ │ │ └── CountDownLatchTest.java │ │ │ ├── deadlock │ │ │ │ └── DeadLockDemo.java │ │ │ ├── lock │ │ │ │ ├── readwritelock │ │ │ │ │ ├── ReentrantReadWriteLockTest_1.java │ │ │ │ │ └── ReentrantReadWriteLockTest_2.java │ │ │ │ └── reentrantlock │ │ │ │ │ ├── LockInterruptiblyTest.java │ │ │ │ │ ├── LockTest_1.java │ │ │ │ │ ├── LockTest_2.java │ │ │ │ │ └── TryLockTest.java │ │ │ ├── memoryvisibility │ │ │ │ ├── README.md │ │ │ │ └── VisibilityDemo.java │ │ │ ├── pool │ │ │ │ ├── README.md │ │ │ │ ├── ThreadPoolTest.java │ │ │ │ └── single │ │ │ │ │ ├── MyThread.java │ │ │ │ │ ├── TestCachedThreadPool.java │ │ │ │ │ ├── TestFixedThreadPool.java │ │ │ │ │ ├── TestScheduledThreadPoolExecutor.java │ │ │ │ │ └── TestSingleThreadExecutor.java │ │ │ ├── producerconsumer │ │ │ │ ├── blockqueue │ │ │ │ │ ├── Consumer.java │ │ │ │ │ ├── Producer.java │ │ │ │ │ ├── Product.java │ │ │ │ │ ├── ProducterConsumerDemo.java │ │ │ │ │ └── Storage.java │ │ │ │ └── waitnotify │ │ │ │ │ ├── Consumer.java │ │ │ │ │ ├── Producter.java │ │ │ │ │ ├── ProducterCosumerXDemo.java │ │ │ │ │ └── Storage.java │ │ │ ├── racecondition │ │ │ │ ├── AtomicIntegerDemo.java │ │ │ │ ├── Counter.java │ │ │ │ ├── CounterThread.java │ │ │ │ └── README.md │ │ │ └── sharememory │ │ │ │ ├── ShareMemoryDemo.java │ │ │ │ └── Test.java │ │ │ └── threadlocal │ │ │ ├── MyThreadPool.java │ │ │ ├── README.md │ │ │ ├── ThreadLocalBasic.java │ │ │ ├── ThreadLocalDateFormat.java │ │ │ ├── ThreadLocalInit.java │ │ │ ├── ThreadLocalRandomTest.java │ │ │ └── ThreadPoolProblem.java │ └── resources │ │ ├── Filef.txt │ │ ├── application.properties │ │ ├── config.properties │ │ ├── db.properties │ │ └── log4j.properties │ └── test │ └── java │ └── com │ └── example │ └── demo │ ├── AdapterTest.java │ ├── BuilderTest.java │ ├── CommandTest.java │ ├── CompositeTest.java │ ├── DecoratorSample.java │ ├── FactoryMethodTest.java │ ├── FactoryTest.java │ ├── ObserverTest.java │ ├── PrototypeTest.java │ ├── SingletonTest.java │ ├── SpringbootDesignpatternApplicationTests.java │ ├── TemplateMethod.java │ ├── TestProxyAop.java │ ├── VisitorTest.java │ └── log4j │ └── Log4jTest.java ├── springboot-dubbo ├── dubbo-client │ ├── .gitignore │ ├── pom.xml │ └── src │ │ ├── main │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── demo │ │ │ │ ├── DubboClientApplication.java │ │ │ │ ├── controller │ │ │ │ └── DubboController.java │ │ │ │ └── dubbo │ │ │ │ └── CityDubboConsumerService.java │ │ └── resources │ │ │ └── application.properties │ │ └── test │ │ └── java │ │ └── com │ │ └── example │ │ └── demo │ │ └── DubboClientApplicationTests.java ├── dubbo-server │ ├── .gitignore │ ├── pom.xml │ └── src │ │ ├── main │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── demo │ │ │ │ ├── DubboServerApplication.java │ │ │ │ └── dubbo │ │ │ │ └── impl │ │ │ │ └── CityDubboServiceImpl.java │ │ └── resources │ │ │ └── application.properties │ │ └── test │ │ └── java │ │ └── com │ │ └── example │ │ └── demo │ │ └── DubboServerApplicationTests.java ├── dubbo-service │ ├── .gitignore │ ├── pom.xml │ └── src │ │ ├── main │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── demo │ │ │ │ ├── DubboServiceApplication.java │ │ │ │ ├── domain │ │ │ │ └── City.java │ │ │ │ └── dubbo │ │ │ │ └── CityDubboService.java │ │ └── resources │ │ │ └── application.properties │ │ └── test │ │ └── java │ │ └── com │ │ └── example │ │ └── demo │ │ └── DubboServiceApplicationTests.java └── pom.xml ├── springboot-email ├── .gitignore ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── demo │ │ │ ├── SpringbootEmailApplication.java │ │ │ ├── controller │ │ │ └── EmailController.java │ │ │ ├── entity │ │ │ └── User.java │ │ │ └── service │ │ │ ├── AppRunner.java │ │ │ ├── MailService.java │ │ │ └── impl │ │ │ ├── GitHubLookupService.java │ │ │ └── MailServiceImpl.java │ └── resources │ │ ├── application.properties │ │ └── templates │ │ └── emailTemplate.html │ └── test │ └── java │ └── com │ └── example │ └── demo │ ├── SpringbootEmailApplicationTests.java │ └── service │ ├── MailServiceTest.java │ └── StringEncryptorTest.java ├── springboot-jpa-thymeleaf ├── .gitignore ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── example │ │ │ ├── JpaThymeleafApplication.java │ │ │ ├── LocaleConfig.java │ │ │ ├── controller │ │ │ ├── FileController.java │ │ │ └── UserController.java │ │ │ ├── entity │ │ │ └── User.java │ │ │ ├── repository │ │ │ └── UserRepository.java │ │ │ └── service │ │ │ ├── UserService.java │ │ │ └── impl │ │ │ └── UserServiceImpl.java │ └── resources │ │ ├── application.properties │ │ ├── config │ │ └── my-web.properties │ │ ├── messages.properties │ │ ├── messages_en_US.properties │ │ ├── messages_zh_CN.properties │ │ ├── static │ │ ├── css │ │ │ └── bootstrap.css │ │ └── js │ │ │ ├── column.js │ │ │ ├── echarts.min.js │ │ │ └── jquery-3.2.1.js │ │ └── templates │ │ ├── hello.html │ │ ├── index.html │ │ └── user │ │ ├── list.html │ │ ├── readers.html │ │ ├── userAdd.html │ │ ├── userBar.html │ │ └── userEdit.html │ └── test │ └── java │ └── com │ └── example │ └── SpringbootJpaThymeleafApplicationTests.java ├── springboot-jwt-security ├── .gitignore ├── CORS.md ├── README.md ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── demo │ │ │ ├── JwtTest.java │ │ │ ├── SpringbootJwtSecurityApplication.java │ │ │ ├── auth │ │ │ ├── AuthController.java │ │ │ ├── AuthService.java │ │ │ └── AuthServiceImpl.java │ │ │ ├── cors │ │ │ └── CorsConfig.java │ │ │ ├── secruity │ │ │ ├── JwtAuthenticationEntryPoint.java │ │ │ ├── JwtAuthenticationRequest.java │ │ │ ├── JwtAuthenticationResponse.java │ │ │ ├── JwtAuthenticationTokenFilter.java │ │ │ ├── JwtTokenUtil.java │ │ │ ├── JwtUser.java │ │ │ ├── JwtUserDetailsServiceImpl.java │ │ │ ├── JwtUserFactory.java │ │ │ └── WebSecurityConfig.java │ │ │ ├── todo │ │ │ ├── MongoTodoServiceImpl.java │ │ │ ├── Todo.java │ │ │ ├── TodoController.java │ │ │ ├── TodoRepository.java │ │ │ └── TodoService.java │ │ │ └── user │ │ │ ├── User.java │ │ │ ├── UserController.java │ │ │ └── UserRepository.java │ └── resources │ │ └── application.yml │ └── test │ └── java │ └── com │ └── example │ └── demo │ └── SpringbootJwtSecurityApplicationTests.java ├── springboot-kafka ├── .gitignore ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── demo │ │ │ ├── KafkaApplication.java │ │ │ ├── KafkaReceiver.java │ │ │ ├── KafkaSender.java │ │ │ ├── beans │ │ │ └── Message.java │ │ │ ├── controller │ │ │ └── HelloController.java │ │ │ └── kafka │ │ │ ├── MyConsumer.java │ │ │ └── MyProducer.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── com │ └── example │ └── demo │ └── SpringbootKafkaApplicationTests.java ├── springboot-ladp ├── .gitignore ├── README.md ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── demo │ │ │ ├── Person.java │ │ │ ├── PersonRepository.java │ │ │ └── SpringbootLadpApplication.java │ └── resources │ │ └── application.properties │ └── test │ ├── java │ └── com │ │ └── example │ │ └── demo │ │ └── SpringbootLadpApplicationTests.java │ └── resources │ ├── application.properties │ └── ldap-server.ldif ├── springboot-metrics ├── .gitignore ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── demo │ │ │ ├── SpringbootMetricsApplication.java │ │ │ └── test │ │ │ ├── GetStarted.java │ │ │ ├── MetricConstant.java │ │ │ └── MyConsoleReport.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── com │ └── example │ └── demo │ └── SpringbootMetricsApplicationTests.java ├── springboot-mongodb ├── .gitignore ├── README.md ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── demo │ │ │ ├── SpringbootMongodbApplication.java │ │ │ ├── controller │ │ │ └── MongoController.java │ │ │ ├── entity │ │ │ └── Customer.java │ │ │ └── repository │ │ │ └── CustomerRepository.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── com │ └── example │ └── demo │ └── SpringbootMongodbApplicationTests.java ├── springboot-my-mvc ├── .gitignore ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── demo │ │ │ ├── MyDispatcherServlet.java │ │ │ ├── SpringbootMyMvcApplication.java │ │ │ ├── Test.java │ │ │ ├── annotation │ │ │ ├── MyController.java │ │ │ └── MyRequestMapping.java │ │ │ ├── controller │ │ │ └── IndexController.java │ │ │ └── util │ │ │ └── ClassScaner.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── com │ └── example │ └── demo │ └── SpringbootMyMvcApplicationTests.java ├── springboot-mybatis-annotation-multidatasource ├── .gitignore ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── demo │ │ │ ├── SpringbootMybatisAnnotationMultidatasourceApplication.java │ │ │ ├── datasource │ │ │ ├── DataSource1Config.java │ │ │ └── DataSource2Config.java │ │ │ ├── entity │ │ │ └── UserEntity.java │ │ │ ├── enums │ │ │ └── UserSexEnum.java │ │ │ ├── mapper │ │ │ ├── test1 │ │ │ │ └── User1Mapper.java │ │ │ └── test2 │ │ │ │ └── User2Mapper.java │ │ │ └── web │ │ │ └── UserController.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── com │ └── example │ └── demo │ └── SpringbootMybatisAnnotationMultidatasourceApplicationTests.java ├── springboot-mybatis-annotation ├── .gitignore ├── README.md ├── pom.xml ├── sql │ ├── menu.sql │ └── sys_area.sql └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── demo │ │ │ ├── Exception │ │ │ ├── GlobalDefaultExceptionHandler.java │ │ │ └── WithoutParamException.java │ │ │ ├── SpringbootMybatisAnnotationApplication.java │ │ │ ├── component │ │ │ ├── QueueInstance.java │ │ │ └── QueueThread.java │ │ │ ├── entity │ │ │ ├── Account.java │ │ │ ├── Menu.java │ │ │ ├── SysArea.java │ │ │ └── UserEntity.java │ │ │ ├── enums │ │ │ └── UserSexEnum.java │ │ │ ├── exception │ │ │ └── UserNotExistException.java │ │ │ ├── form │ │ │ └── AreaTree.java │ │ │ ├── mapper │ │ │ ├── AccountMapper.java │ │ │ ├── MenuMapper.java │ │ │ ├── SysAreaMapper.java │ │ │ └── UserMapper.java │ │ │ ├── service │ │ │ └── UserService.java │ │ │ ├── util │ │ │ ├── Common.java │ │ │ ├── ExcelUtil.java │ │ │ ├── FormMap.java │ │ │ ├── POIUtils.java │ │ │ ├── ServerInfoFormMap.java │ │ │ ├── SystemInfo.java │ │ │ └── word │ │ │ │ ├── ReadWordTest.java │ │ │ │ ├── Word2PDF.java │ │ │ │ └── WordTest.java │ │ │ └── web │ │ │ ├── AccountController.java │ │ │ ├── ExceptionController.java │ │ │ ├── HomeController.java │ │ │ ├── PDFController.java │ │ │ ├── SystemController.java │ │ │ ├── TreeController.java │ │ │ └── UserController.java │ └── resources │ │ ├── application.properties │ │ ├── lib │ │ ├── libsigar-amd64-freebsd-6.so │ │ ├── libsigar-amd64-linux.so │ │ ├── libsigar-amd64-solaris.so │ │ ├── libsigar-ia64-hpux-11.sl │ │ ├── libsigar-ia64-linux.so │ │ ├── libsigar-pa-hpux-11.sl │ │ ├── libsigar-ppc-aix-5.so │ │ ├── libsigar-ppc-linux.so │ │ ├── libsigar-ppc64-aix-5.so │ │ ├── libsigar-ppc64-linux.so │ │ ├── libsigar-s390x-linux.so │ │ ├── libsigar-sparc-solaris.so │ │ ├── libsigar-sparc64-solaris.so │ │ ├── libsigar-universal-macosx.dylib │ │ ├── libsigar-universal64-macosx.dylib │ │ ├── libsigar-x86-freebsd-5.so │ │ ├── libsigar-x86-freebsd-6.so │ │ ├── libsigar-x86-linux.so │ │ ├── libsigar-x86-solaris.so │ │ ├── sigar-amd64-winnt.dll │ │ ├── sigar-x86-winnt.dll │ │ └── sigar-x86-winnt.lib │ │ ├── static │ │ ├── css │ │ │ ├── animate.css │ │ │ ├── bootstrap-rtl.css │ │ │ ├── bootstrap.min.css │ │ │ ├── font-awesome.css │ │ │ ├── font-awesome.min.css │ │ │ ├── jquery-ui.css │ │ │ ├── lin │ │ │ │ ├── easyui.css │ │ │ │ └── images │ │ │ │ │ ├── accordion_arrows.png │ │ │ │ │ ├── blank.gif │ │ │ │ │ ├── calendar_arrows.png │ │ │ │ │ ├── combo_arrow.png │ │ │ │ │ ├── datagrid_icons.png │ │ │ │ │ ├── datebox_arrow.png │ │ │ │ │ ├── layout_arrows.png │ │ │ │ │ ├── linkbutton_bg.png │ │ │ │ │ ├── loading.gif │ │ │ │ │ ├── menu_arrows.png │ │ │ │ │ ├── messager_icons.png │ │ │ │ │ ├── pagination_icons.png │ │ │ │ │ ├── panel_tools.png │ │ │ │ │ ├── passwordbox_close.png │ │ │ │ │ ├── passwordbox_open.png │ │ │ │ │ ├── searchbox_button.png │ │ │ │ │ ├── slider_handle.png │ │ │ │ │ ├── spinner_arrows.png │ │ │ │ │ ├── tabs_icons.png │ │ │ │ │ ├── tagbox_icons.png │ │ │ │ │ ├── tree_icons.png │ │ │ │ │ └── validatebox_warning.png │ │ │ ├── login.css │ │ │ ├── patterns │ │ │ │ ├── header-profile-skin-1.png │ │ │ │ ├── header-profile-skin-3.png │ │ │ │ ├── header-profile.png │ │ │ │ └── shattered.png │ │ │ ├── plugins │ │ │ │ ├── awesome-bootstrap-checkbox │ │ │ │ │ └── awesome-bootstrap-checkbox.css │ │ │ │ ├── blueimp │ │ │ │ │ ├── css │ │ │ │ │ │ ├── blueimp-gallery-indicator.css │ │ │ │ │ │ ├── blueimp-gallery-video.css │ │ │ │ │ │ ├── blueimp-gallery.css │ │ │ │ │ │ ├── blueimp-gallery.min.css │ │ │ │ │ │ └── demo.css │ │ │ │ │ └── img │ │ │ │ │ │ ├── error.png │ │ │ │ │ │ ├── error.svg │ │ │ │ │ │ ├── loading.gif │ │ │ │ │ │ ├── play-pause.png │ │ │ │ │ │ ├── play-pause.svg │ │ │ │ │ │ ├── video-play.png │ │ │ │ │ │ └── video-play.svg │ │ │ │ ├── bootstrap-table │ │ │ │ │ └── bootstrap-table.min.css │ │ │ │ ├── chosen │ │ │ │ │ ├── chosen-sprite.png │ │ │ │ │ ├── chosen-sprite@2x.png │ │ │ │ │ └── chosen.css │ │ │ │ ├── clockpicker │ │ │ │ │ └── clockpicker.css │ │ │ │ ├── codemirror │ │ │ │ │ ├── ambiance.css │ │ │ │ │ └── codemirror.css │ │ │ │ ├── colorpicker │ │ │ │ │ ├── css │ │ │ │ │ │ └── bootstrap-colorpicker.min.css │ │ │ │ │ └── img │ │ │ │ │ │ └── bootstrap-colorpicker │ │ │ │ │ │ ├── alpha-horizontal.png │ │ │ │ │ │ ├── alpha.png │ │ │ │ │ │ ├── hue-horizontal.png │ │ │ │ │ │ ├── hue.png │ │ │ │ │ │ └── saturation.png │ │ │ │ ├── cropper │ │ │ │ │ └── cropper.min.css │ │ │ │ ├── dataTables │ │ │ │ │ └── dataTables.bootstrap.css │ │ │ │ ├── datapicker │ │ │ │ │ └── datepicker3.css │ │ │ │ ├── dropzone │ │ │ │ │ ├── basic.css │ │ │ │ │ └── dropzone.css │ │ │ │ ├── duallistbox │ │ │ │ │ └── bootstrap-duallistbox.css │ │ │ │ ├── footable │ │ │ │ │ ├── fonts │ │ │ │ │ │ ├── footable.eot │ │ │ │ │ │ ├── footable.svg │ │ │ │ │ │ ├── footable.ttf │ │ │ │ │ │ └── footable.woff │ │ │ │ │ └── footable.core.css │ │ │ │ ├── fullcalendar │ │ │ │ │ ├── fullcalendar.css │ │ │ │ │ └── fullcalendar.print.css │ │ │ │ ├── iCheck │ │ │ │ │ ├── custom.css │ │ │ │ │ ├── green.png │ │ │ │ │ └── green@2x.png │ │ │ │ ├── images │ │ │ │ │ ├── sort_asc.png │ │ │ │ │ ├── sort_desc.png │ │ │ │ │ ├── sprite-skin-flat.png │ │ │ │ │ ├── spritemap.png │ │ │ │ │ └── spritemap@2x.png │ │ │ │ ├── ionRangeSlider │ │ │ │ │ ├── ion.rangeSlider.css │ │ │ │ │ └── ion.rangeSlider.skinFlat.css │ │ │ │ ├── jQueryUI │ │ │ │ │ ├── images │ │ │ │ │ │ ├── ui-bg_flat_0_aaaaaa_40x100.png │ │ │ │ │ │ ├── ui-bg_flat_75_ffffff_40x100.png │ │ │ │ │ │ ├── ui-icons_222222_256x240.png │ │ │ │ │ │ ├── ui-icons_454545_256x240.png │ │ │ │ │ │ └── ui-icons_888888_256x240.png │ │ │ │ │ └── jquery-ui-1.10.4.custom.min.css │ │ │ │ ├── jasny │ │ │ │ │ └── jasny-bootstrap.min.css │ │ │ │ ├── jqgrid │ │ │ │ │ └── ui.jqgrid.css │ │ │ │ ├── jsTree │ │ │ │ │ ├── 32px.png │ │ │ │ │ ├── style.min.css │ │ │ │ │ └── throbber.gif │ │ │ │ ├── markdown │ │ │ │ │ └── bootstrap-markdown.min.css │ │ │ │ ├── morris │ │ │ │ │ └── morris-0.4.3.min.css │ │ │ │ ├── multiselect │ │ │ │ │ └── bootstrap-multiselect.css │ │ │ │ ├── nouslider │ │ │ │ │ └── jquery.nouislider.css │ │ │ │ ├── plyr │ │ │ │ │ ├── plyr.css │ │ │ │ │ └── sprite.svg │ │ │ │ ├── simditor │ │ │ │ │ └── simditor.css │ │ │ │ ├── steps │ │ │ │ │ └── jquery.steps.css │ │ │ │ ├── summernote │ │ │ │ │ ├── summernote-bs3.css │ │ │ │ │ └── summernote.css │ │ │ │ ├── sweetalert │ │ │ │ │ └── sweetalert.css │ │ │ │ ├── switchery │ │ │ │ │ └── switchery.css │ │ │ │ ├── toastr │ │ │ │ │ └── toastr.min.css │ │ │ │ ├── treeview │ │ │ │ │ └── bootstrap-treeview.css │ │ │ │ └── webuploader │ │ │ │ │ └── webuploader.css │ │ │ └── style.css │ │ ├── fonts │ │ │ ├── FontAwesome.otf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.svg │ │ │ ├── fontawesome-webfont.ttf │ │ │ ├── fontawesome-webfont.woff │ │ │ ├── fontawesome-webfont.woff2 │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ ├── glyphicons-halflings-regular.svg │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ └── glyphicons-halflings-regular.woff2 │ │ ├── img │ │ │ ├── bg.png │ │ │ ├── boy.jpg │ │ │ ├── boy1.jpg │ │ │ ├── girl.jpg │ │ │ ├── girl1.jpg │ │ │ ├── icons.png │ │ │ ├── loading-upload.gif │ │ │ ├── loading.gif │ │ │ ├── locked.png │ │ │ ├── login-background.jpg │ │ │ ├── progress.png │ │ │ ├── sprite-skin-flat.png │ │ │ ├── success.png │ │ │ ├── systemavatar.jpg │ │ │ ├── ui-icons_444444_256x240.png │ │ │ ├── ui-icons_555555_256x240.png │ │ │ ├── ui-icons_777620_256x240.png │ │ │ ├── ui-icons_777777_256x240.png │ │ │ ├── ui-icons_cc0000_256x240.png │ │ │ ├── ui-icons_ffffff_256x240.png │ │ │ └── user.png │ │ ├── js │ │ │ ├── bootstrap.min.js │ │ │ ├── contabs.js │ │ │ ├── content.js │ │ │ ├── hplus.js │ │ │ ├── jquery-ui-1.10.4.min.js │ │ │ ├── jquery-ui.custom.min.js │ │ │ ├── jquery.min.js │ │ │ ├── jquery.min.map │ │ │ ├── lin │ │ │ │ ├── changepassword.js │ │ │ │ ├── dept.js │ │ │ │ ├── dialog.js │ │ │ │ ├── error.js │ │ │ │ ├── index.js │ │ │ │ ├── jquery-1.3.1.js │ │ │ │ ├── jquery.easyui.min.js │ │ │ │ ├── jquery.min.js │ │ │ │ ├── laydate.js │ │ │ │ ├── leave.js │ │ │ │ ├── loginlog.js │ │ │ │ ├── memo.js │ │ │ │ ├── menu.js │ │ │ │ ├── notice.js │ │ │ │ ├── operationleave.js │ │ │ │ ├── operationlog.js │ │ │ │ ├── role.js │ │ │ │ ├── test.js │ │ │ │ └── user.js │ │ │ ├── plugins │ │ │ │ ├── beautifyhtml │ │ │ │ │ └── beautifyhtml.js │ │ │ │ ├── blueimp │ │ │ │ │ └── jquery.blueimp-gallery.min.js │ │ │ │ ├── bootstrap-table │ │ │ │ │ ├── bootstrap-table-mobile.min.js │ │ │ │ │ ├── bootstrap-table.min.js │ │ │ │ │ └── locale │ │ │ │ │ │ ├── bootstrap-table-zh-CN.js │ │ │ │ │ │ └── bootstrap-table-zh-CN.min.js │ │ │ │ ├── chartJs │ │ │ │ │ └── Chart.min.js │ │ │ │ ├── chosen │ │ │ │ │ └── chosen.jquery.js │ │ │ │ ├── clockpicker │ │ │ │ │ └── clockpicker.js │ │ │ │ ├── codemirror │ │ │ │ │ ├── codemirror.js │ │ │ │ │ └── mode │ │ │ │ │ │ ├── apl │ │ │ │ │ │ ├── apl.js │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── asterisk │ │ │ │ │ │ ├── asterisk.js │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── clike │ │ │ │ │ │ ├── clike.js │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── scala.html │ │ │ │ │ │ ├── clojure │ │ │ │ │ │ ├── clojure.js │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── cobol │ │ │ │ │ │ ├── cobol.js │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── coffeescript │ │ │ │ │ │ ├── coffeescript.js │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── commonlisp │ │ │ │ │ │ ├── commonlisp.js │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── css │ │ │ │ │ │ ├── css.js │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ ├── less.html │ │ │ │ │ │ ├── less_test.js │ │ │ │ │ │ ├── scss.html │ │ │ │ │ │ ├── scss_test.js │ │ │ │ │ │ └── test.js │ │ │ │ │ │ ├── cypher │ │ │ │ │ │ ├── cypher.js │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── d │ │ │ │ │ │ ├── d.js │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── dart │ │ │ │ │ │ ├── dart.js │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── diff │ │ │ │ │ │ ├── diff.js │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── django │ │ │ │ │ │ ├── django.js │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── dockerfile │ │ │ │ │ │ ├── dockerfile.js │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── dtd │ │ │ │ │ │ ├── dtd.js │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── dylan │ │ │ │ │ │ ├── dylan.js │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── ebnf │ │ │ │ │ │ ├── ebnf.js │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── ecl │ │ │ │ │ │ ├── ecl.js │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── eiffel │ │ │ │ │ │ ├── eiffel.js │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── erlang │ │ │ │ │ │ ├── erlang.js │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── fortran │ │ │ │ │ │ ├── fortran.js │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── gas │ │ │ │ │ │ ├── gas.js │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── gfm │ │ │ │ │ │ ├── gfm.js │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── test.js │ │ │ │ │ │ ├── gherkin │ │ │ │ │ │ ├── gherkin.js │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── go │ │ │ │ │ │ ├── go.js │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── groovy │ │ │ │ │ │ ├── groovy.js │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── haml │ │ │ │ │ │ ├── haml.js │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── test.js │ │ │ │ │ │ ├── haskell │ │ │ │ │ │ ├── haskell.js │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── haxe │ │ │ │ │ │ ├── haxe.js │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── htmlembedded │ │ │ │ │ │ ├── htmlembedded.js │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── htmlmixed │ │ │ │ │ │ ├── htmlmixed.js │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── http │ │ │ │ │ │ ├── http.js │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── idl │ │ │ │ │ │ ├── idl.js │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ ├── jade │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── jade.js │ │ │ │ │ │ ├── javascript │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ ├── javascript.js │ │ │ │ │ │ ├── json-ld.html │ │ │ │ │ │ ├── test.js │ │ │ │ │ │ └── typescript.html │ │ │ │ │ │ ├── jinja2 │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── jinja2.js │ │ │ │ │ │ ├── kotlin │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── kotlin.js │ │ │ │ │ │ ├── lua │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── lua.js │ │ │ │ │ │ ├── markdown │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ ├── markdown.js │ │ │ │ │ │ └── test.js │ │ │ │ │ │ ├── meta.js │ │ │ │ │ │ ├── mirc │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── mirc.js │ │ │ │ │ │ ├── mllike │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── mllike.js │ │ │ │ │ │ ├── modelica │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── modelica.js │ │ │ │ │ │ ├── nginx │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── nginx.js │ │ │ │ │ │ ├── ntriples │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── ntriples.js │ │ │ │ │ │ ├── octave │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── octave.js │ │ │ │ │ │ ├── pascal │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── pascal.js │ │ │ │ │ │ ├── pegjs │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── pegjs.js │ │ │ │ │ │ ├── perl │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── perl.js │ │ │ │ │ │ ├── php │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ ├── php.js │ │ │ │ │ │ └── test.js │ │ │ │ │ │ ├── pig │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── pig.js │ │ │ │ │ │ ├── properties │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── properties.js │ │ │ │ │ │ ├── puppet │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── puppet.js │ │ │ │ │ │ ├── python │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── python.js │ │ │ │ │ │ ├── r │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── r.js │ │ │ │ │ │ ├── rpm │ │ │ │ │ │ ├── changes │ │ │ │ │ │ │ └── index.html │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── rpm.js │ │ │ │ │ │ ├── rst │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── rst.js │ │ │ │ │ │ ├── ruby │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ ├── ruby.js │ │ │ │ │ │ └── test.js │ │ │ │ │ │ ├── rust │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── rust.js │ │ │ │ │ │ ├── sass │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── sass.js │ │ │ │ │ │ ├── scheme │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── scheme.js │ │ │ │ │ │ ├── shell │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ ├── shell.js │ │ │ │ │ │ └── test.js │ │ │ │ │ │ ├── sieve │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── sieve.js │ │ │ │ │ │ ├── slim │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ ├── slim.js │ │ │ │ │ │ └── test.js │ │ │ │ │ │ ├── smalltalk │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── smalltalk.js │ │ │ │ │ │ ├── smarty │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── smarty.js │ │ │ │ │ │ ├── smartymixed │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── smartymixed.js │ │ │ │ │ │ ├── solr │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── solr.js │ │ │ │ │ │ ├── soy │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── soy.js │ │ │ │ │ │ ├── sparql │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── sparql.js │ │ │ │ │ │ ├── spreadsheet │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── spreadsheet.js │ │ │ │ │ │ ├── sql │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── sql.js │ │ │ │ │ │ ├── stex │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ ├── stex.js │ │ │ │ │ │ └── test.js │ │ │ │ │ │ ├── tcl │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── tcl.js │ │ │ │ │ │ ├── textile │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ ├── test.js │ │ │ │ │ │ └── textile.js │ │ │ │ │ │ ├── tiddlywiki │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ ├── tiddlywiki.css │ │ │ │ │ │ └── tiddlywiki.js │ │ │ │ │ │ ├── tiki │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ ├── tiki.css │ │ │ │ │ │ └── tiki.js │ │ │ │ │ │ ├── toml │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── toml.js │ │ │ │ │ │ ├── tornado │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── tornado.js │ │ │ │ │ │ ├── turtle │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── turtle.js │ │ │ │ │ │ ├── vb │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── vb.js │ │ │ │ │ │ ├── vbscript │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── vbscript.js │ │ │ │ │ │ ├── velocity │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── velocity.js │ │ │ │ │ │ ├── verilog │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ ├── test.js │ │ │ │ │ │ └── verilog.js │ │ │ │ │ │ ├── xml │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ ├── test.js │ │ │ │ │ │ └── xml.js │ │ │ │ │ │ ├── xquery │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ ├── test.js │ │ │ │ │ │ └── xquery.js │ │ │ │ │ │ ├── yaml │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── yaml.js │ │ │ │ │ │ └── z80 │ │ │ │ │ │ ├── index.html │ │ │ │ │ │ └── z80.js │ │ │ │ ├── colorpicker │ │ │ │ │ └── bootstrap-colorpicker.min.js │ │ │ │ ├── cropper │ │ │ │ │ └── cropper.min.js │ │ │ │ ├── dataTables │ │ │ │ │ ├── dataTables.bootstrap.js │ │ │ │ │ └── jquery.dataTables.js │ │ │ │ ├── datapicker │ │ │ │ │ └── bootstrap-datepicker.js │ │ │ │ ├── diff_match_patch │ │ │ │ │ └── diff_match_patch.js │ │ │ │ ├── dropzone │ │ │ │ │ └── dropzone.js │ │ │ │ ├── duallistbox │ │ │ │ │ └── jquery.bootstrap-duallistbox.js │ │ │ │ ├── easypiechart │ │ │ │ │ └── jquery.easypiechart.js │ │ │ │ ├── echarts │ │ │ │ │ └── echarts-all.js │ │ │ │ ├── fancybox │ │ │ │ │ ├── blank.gif │ │ │ │ │ ├── fancybox_loading.gif │ │ │ │ │ ├── fancybox_loading@2x.gif │ │ │ │ │ ├── fancybox_overlay.png │ │ │ │ │ ├── fancybox_sprite.png │ │ │ │ │ ├── fancybox_sprite@2x.png │ │ │ │ │ ├── jquery.fancybox.css │ │ │ │ │ └── jquery.fancybox.js │ │ │ │ ├── flot │ │ │ │ │ ├── curvedLines.js │ │ │ │ │ ├── jquery.flot.js │ │ │ │ │ ├── jquery.flot.pie.js │ │ │ │ │ ├── jquery.flot.resize.js │ │ │ │ │ ├── jquery.flot.spline.js │ │ │ │ │ ├── jquery.flot.symbol.js │ │ │ │ │ └── jquery.flot.tooltip.min.js │ │ │ │ ├── footable │ │ │ │ │ └── footable.all.min.js │ │ │ │ ├── fullcalendar │ │ │ │ │ ├── fullcalendar.min.js │ │ │ │ │ └── moment.min.js │ │ │ │ ├── gritter │ │ │ │ │ ├── images │ │ │ │ │ │ ├── gritter-light.png │ │ │ │ │ │ ├── gritter.png │ │ │ │ │ │ └── ie-spacer.gif │ │ │ │ │ ├── jquery.gritter.css │ │ │ │ │ └── jquery.gritter.min.js │ │ │ │ ├── iCheck │ │ │ │ │ └── icheck.min.js │ │ │ │ ├── ionRangeSlider │ │ │ │ │ ├── ion.rangeSlider.min.js │ │ │ │ │ └── jasny │ │ │ │ │ │ └── jasny-bootstrap.min.js │ │ │ │ ├── jasny │ │ │ │ │ └── jasny-bootstrap.min.js │ │ │ │ ├── jeditable │ │ │ │ │ └── jquery.jeditable.js │ │ │ │ ├── jqgrid │ │ │ │ │ ├── i18n │ │ │ │ │ │ └── grid.locale-cn.js │ │ │ │ │ └── jquery.jqGrid.min.js │ │ │ │ ├── jquery-ui │ │ │ │ │ └── jquery-ui.min.js │ │ │ │ ├── jsKnob │ │ │ │ │ └── jquery.knob.js │ │ │ │ ├── jsTree │ │ │ │ │ ├── jstree.js │ │ │ │ │ └── jstree.min.js │ │ │ │ ├── jvectormap │ │ │ │ │ ├── jquery-jvectormap-1.2.2.min.js │ │ │ │ │ └── jquery-jvectormap-world-mill-en.js │ │ │ │ ├── layer │ │ │ │ │ ├── extend │ │ │ │ │ │ └── layer.ext.js │ │ │ │ │ ├── laydate │ │ │ │ │ │ ├── laydate.js │ │ │ │ │ │ ├── need │ │ │ │ │ │ │ └── laydate.css │ │ │ │ │ │ └── skins │ │ │ │ │ │ │ └── default │ │ │ │ │ │ │ ├── icon.png │ │ │ │ │ │ │ └── laydate.css │ │ │ │ │ ├── laydate1 │ │ │ │ │ │ ├── laydate.js │ │ │ │ │ │ └── theme │ │ │ │ │ │ │ └── default │ │ │ │ │ │ │ ├── font │ │ │ │ │ │ │ ├── iconfont.eot │ │ │ │ │ │ │ ├── iconfont.svg │ │ │ │ │ │ │ ├── iconfont.ttf │ │ │ │ │ │ │ └── iconfont.woff │ │ │ │ │ │ │ └── laydate.css │ │ │ │ │ ├── layer.min.js │ │ │ │ │ ├── layim │ │ │ │ │ │ ├── data │ │ │ │ │ │ │ ├── chatlog.json │ │ │ │ │ │ │ ├── friend.json │ │ │ │ │ │ │ ├── group.json │ │ │ │ │ │ │ └── groups.json │ │ │ │ │ │ ├── layim.css │ │ │ │ │ │ ├── layim.js │ │ │ │ │ │ └── loading.gif │ │ │ │ │ └── skin │ │ │ │ │ │ ├── default │ │ │ │ │ │ ├── icon-ext.png │ │ │ │ │ │ ├── icon.png │ │ │ │ │ │ ├── icon_ext.png │ │ │ │ │ │ ├── loading-0.gif │ │ │ │ │ │ ├── loading-1.gif │ │ │ │ │ │ ├── loading-2.gif │ │ │ │ │ │ ├── textbg.png │ │ │ │ │ │ ├── xubox_ico0.png │ │ │ │ │ │ ├── xubox_loading0.gif │ │ │ │ │ │ ├── xubox_loading1.gif │ │ │ │ │ │ ├── xubox_loading2.gif │ │ │ │ │ │ ├── xubox_loading3.gif │ │ │ │ │ │ └── xubox_title0.png │ │ │ │ │ │ ├── layer.css │ │ │ │ │ │ ├── layer.ext.css │ │ │ │ │ │ └── moon │ │ │ │ │ │ ├── default.png │ │ │ │ │ │ └── style.css │ │ │ │ ├── markdown │ │ │ │ │ ├── bootstrap-markdown.js │ │ │ │ │ ├── bootstrap-markdown.zh.js │ │ │ │ │ ├── markdown.js │ │ │ │ │ └── to-markdown.js │ │ │ │ ├── metisMenu │ │ │ │ │ └── jquery.metisMenu.js │ │ │ │ ├── morris │ │ │ │ │ ├── morris.js │ │ │ │ │ └── raphael-2.1.0.min.js │ │ │ │ ├── multiselect │ │ │ │ │ └── bootstrap-multiselect.js │ │ │ │ ├── nestable │ │ │ │ │ └── jquery.nestable.js │ │ │ │ ├── nouslider │ │ │ │ │ └── jquery.nouislider.min.js │ │ │ │ ├── pace │ │ │ │ │ └── pace.min.js │ │ │ │ ├── peity │ │ │ │ │ └── jquery.peity.min.js │ │ │ │ ├── plyr │ │ │ │ │ └── plyr.js │ │ │ │ ├── preetyTextDiff │ │ │ │ │ └── jquery.pretty-text-diff.min.js │ │ │ │ ├── prettyfile │ │ │ │ │ └── bootstrap-prettyfile.js │ │ │ │ ├── rickshaw │ │ │ │ │ ├── rickshaw.min.js │ │ │ │ │ └── vendor │ │ │ │ │ │ └── d3.v3.js │ │ │ │ ├── simditor │ │ │ │ │ ├── hotkeys.js │ │ │ │ │ ├── hotkeys.min.js │ │ │ │ │ ├── jquery.min.js │ │ │ │ │ ├── module.js │ │ │ │ │ ├── module.min.js │ │ │ │ │ ├── simditor.js │ │ │ │ │ ├── simditor.min.js │ │ │ │ │ ├── uploader.js │ │ │ │ │ └── uploader.min.js │ │ │ │ ├── slimscroll │ │ │ │ │ └── jquery.slimscroll.min.js │ │ │ │ ├── sparkline │ │ │ │ │ └── jquery.sparkline.min.js │ │ │ │ ├── staps │ │ │ │ │ └── jquery.steps.min.js │ │ │ │ ├── suggest │ │ │ │ │ ├── bootstrap-suggest.min.js │ │ │ │ │ └── data.json │ │ │ │ ├── summernote │ │ │ │ │ ├── summernote-zh-CN.js │ │ │ │ │ └── summernote.min.js │ │ │ │ ├── sweetalert │ │ │ │ │ └── sweetalert.min.js │ │ │ │ ├── switchery │ │ │ │ │ └── switchery.js │ │ │ │ ├── toastr │ │ │ │ │ └── toastr.min.js │ │ │ │ ├── treeview │ │ │ │ │ └── bootstrap-treeview.js │ │ │ │ ├── validate │ │ │ │ │ ├── additional-methods.min.js │ │ │ │ │ ├── jquery.validate.min.js │ │ │ │ │ └── messages_zh.min.js │ │ │ │ └── webuploader │ │ │ │ │ ├── README.md │ │ │ │ │ ├── Uploader.swf │ │ │ │ │ ├── webuploader.css │ │ │ │ │ ├── webuploader.custom.js │ │ │ │ │ ├── webuploader.custom.min.js │ │ │ │ │ ├── webuploader.fis.js │ │ │ │ │ ├── webuploader.flashonly.js │ │ │ │ │ ├── webuploader.flashonly.min.js │ │ │ │ │ ├── webuploader.html5only.js │ │ │ │ │ ├── webuploader.html5only.min.js │ │ │ │ │ ├── webuploader.js │ │ │ │ │ ├── webuploader.min.js │ │ │ │ │ ├── webuploader.noimage.js │ │ │ │ │ ├── webuploader.noimage.min.js │ │ │ │ │ ├── webuploader.nolog.js │ │ │ │ │ ├── webuploader.nolog.min.js │ │ │ │ │ ├── webuploader.withoutimage.js │ │ │ │ │ └── webuploader.withoutimage.min.js │ │ │ └── welcome.js │ │ └── plugins │ │ │ └── ztree │ │ │ ├── css │ │ │ ├── awesomeStyle │ │ │ │ ├── awesome.css │ │ │ │ ├── awesome.less │ │ │ │ ├── fa.less │ │ │ │ └── img │ │ │ │ │ └── loading.gif │ │ │ ├── demo.css │ │ │ ├── metroStyle │ │ │ │ ├── img │ │ │ │ │ ├── line_conn.png │ │ │ │ │ ├── loading.gif │ │ │ │ │ ├── metro.gif │ │ │ │ │ └── metro.png │ │ │ │ └── metroStyle.css │ │ │ └── zTreeStyle │ │ │ │ ├── img │ │ │ │ ├── diy │ │ │ │ │ ├── 1_close.png │ │ │ │ │ ├── 1_open.png │ │ │ │ │ ├── 2.png │ │ │ │ │ ├── 3.png │ │ │ │ │ ├── 4.png │ │ │ │ │ ├── 5.png │ │ │ │ │ ├── 6.png │ │ │ │ │ ├── 7.png │ │ │ │ │ ├── 8.png │ │ │ │ │ └── 9.png │ │ │ │ ├── line_conn.gif │ │ │ │ ├── loading.gif │ │ │ │ ├── zTreeStandard.gif │ │ │ │ └── zTreeStandard.png │ │ │ │ └── zTreeStyle.css │ │ │ └── js │ │ │ ├── jquery-1.4.4.min.js │ │ │ ├── jquery.ztree.all.js │ │ │ ├── jquery.ztree.all.min.js │ │ │ ├── jquery.ztree.core.js │ │ │ ├── jquery.ztree.core.min.js │ │ │ ├── jquery.ztree.excheck.js │ │ │ ├── jquery.ztree.excheck.min.js │ │ │ ├── jquery.ztree.exedit.js │ │ │ ├── jquery.ztree.exedit.min.js │ │ │ ├── jquery.ztree.exhide.js │ │ │ └── jquery.ztree.exhide.min.js │ │ └── templates │ │ ├── example.html │ │ ├── exception.html │ │ ├── index.html │ │ ├── system_info.html │ │ ├── welcome.html │ │ ├── withoutParam.html │ │ ├── zero.html │ │ ├── ztree.html │ │ └── ztreeAsync.html │ └── test │ └── java │ └── com │ └── example │ └── demo │ ├── MVCTest.java │ ├── SysAreaTests.java │ └── UserTests.java ├── springboot-mybatis-multidatasource ├── .gitignore ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── demo │ │ │ ├── SpringbootMybatisMultidatasourceApplication.java │ │ │ ├── datasource │ │ │ ├── DataSource1Config.java │ │ │ └── DataSource2Config.java │ │ │ ├── entity │ │ │ └── UserEntity.java │ │ │ ├── enums │ │ │ └── UserSexEnum.java │ │ │ ├── mapper │ │ │ ├── test1 │ │ │ │ └── User1Mapper.java │ │ │ └── test2 │ │ │ │ └── User2Mapper.java │ │ │ └── web │ │ │ └── UserController.java │ └── resources │ │ ├── application.properties │ │ └── mybatis │ │ ├── mapper │ │ ├── test1 │ │ │ └── UserMapper.xml │ │ └── test2 │ │ │ └── UserMapper.xml │ │ └── mybatis-config.xml │ └── test │ └── java │ └── com │ └── example │ └── demo │ └── SpringbootMybatisMultidatasourceApplicationTests.java ├── springboot-mybatis-xml ├── .gitignore ├── pom.xml ├── src │ ├── main │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── demo │ │ │ │ ├── SpringbootMybatisXmlApplication.java │ │ │ │ ├── entity │ │ │ │ └── UserEntity.java │ │ │ │ ├── enums │ │ │ │ └── UserSexEnum.java │ │ │ │ ├── mapper │ │ │ │ └── UserMapper.java │ │ │ │ └── web │ │ │ │ └── UserController.java │ │ └── resources │ │ │ ├── application.properties │ │ │ ├── mybatis │ │ │ ├── mapper │ │ │ │ └── UserMapper.xml │ │ │ └── mybatis-config.xml │ │ │ ├── static │ │ │ └── assets │ │ │ │ ├── bootstrap │ │ │ │ ├── css │ │ │ │ │ ├── bootstrap-theme.css │ │ │ │ │ ├── bootstrap-theme.css.map │ │ │ │ │ ├── bootstrap-theme.min.css │ │ │ │ │ ├── bootstrap.css │ │ │ │ │ ├── bootstrap.css.map │ │ │ │ │ └── bootstrap.min.css │ │ │ │ ├── fonts │ │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ │ ├── glyphicons-halflings-regular.svg │ │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ │ └── glyphicons-halflings-regular.woff2 │ │ │ │ └── js │ │ │ │ │ ├── bootstrap.js │ │ │ │ │ ├── bootstrap.min.js │ │ │ │ │ └── npm.js │ │ │ │ ├── css │ │ │ │ ├── form-elements.css │ │ │ │ └── style.css │ │ │ │ ├── font-awesome │ │ │ │ ├── css │ │ │ │ │ ├── font-awesome.css │ │ │ │ │ └── font-awesome.min.css │ │ │ │ ├── fonts │ │ │ │ │ ├── FontAwesome.otf │ │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ │ ├── fontawesome-webfont.svg │ │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ │ ├── fontawesome-webfont.woff │ │ │ │ │ └── fontawesome-webfont.woff2 │ │ │ │ ├── less │ │ │ │ │ ├── animated.less │ │ │ │ │ ├── bordered-pulled.less │ │ │ │ │ ├── core.less │ │ │ │ │ ├── fixed-width.less │ │ │ │ │ ├── font-awesome.less │ │ │ │ │ ├── icons.less │ │ │ │ │ ├── larger.less │ │ │ │ │ ├── list.less │ │ │ │ │ ├── mixins.less │ │ │ │ │ ├── path.less │ │ │ │ │ ├── rotated-flipped.less │ │ │ │ │ ├── stacked.less │ │ │ │ │ └── variables.less │ │ │ │ └── scss │ │ │ │ │ ├── _animated.scss │ │ │ │ │ ├── _bordered-pulled.scss │ │ │ │ │ ├── _core.scss │ │ │ │ │ ├── _fixed-width.scss │ │ │ │ │ ├── _icons.scss │ │ │ │ │ ├── _larger.scss │ │ │ │ │ ├── _list.scss │ │ │ │ │ ├── _mixins.scss │ │ │ │ │ ├── _path.scss │ │ │ │ │ ├── _rotated-flipped.scss │ │ │ │ │ ├── _stacked.scss │ │ │ │ │ ├── _variables.scss │ │ │ │ │ └── font-awesome.scss │ │ │ │ ├── ico │ │ │ │ ├── apple-touch-icon-114-precomposed.png │ │ │ │ ├── apple-touch-icon-144-precomposed.png │ │ │ │ ├── apple-touch-icon-57-precomposed.png │ │ │ │ ├── apple-touch-icon-72-precomposed.png │ │ │ │ └── favicon.png │ │ │ │ ├── img │ │ │ │ └── backgrounds │ │ │ │ │ ├── 1.jpg │ │ │ │ │ └── 1@2x.jpg │ │ │ │ └── js │ │ │ │ ├── jquery-1.11.1.js │ │ │ │ ├── jquery-1.11.1.min.js │ │ │ │ ├── jquery.backstretch.js │ │ │ │ ├── jquery.backstretch.min.js │ │ │ │ ├── placeholder.js │ │ │ │ └── scripts.js │ │ │ └── templates │ │ │ ├── index.html │ │ │ └── login.html │ └── test │ │ └── java │ │ └── com │ │ └── example │ │ └── demo │ │ ├── SpringbootMybatisXmlApplicationTests.java │ │ └── mapper │ │ └── UserMapperTest.java └── users.sql ├── springboot-rabbitmq ├── .gitignore ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── demo │ │ │ ├── SpringbootRabbitmqApplication.java │ │ │ ├── domain │ │ │ └── User.java │ │ │ ├── message │ │ │ └── Receiver.java │ │ │ └── rabbit │ │ │ ├── FanoutRabbitConfig.java │ │ │ ├── RabbitConfig.java │ │ │ ├── TopicRabbitConfig.java │ │ │ ├── fanout │ │ │ ├── FanoutReceiverA.java │ │ │ ├── FanoutReceiverB.java │ │ │ ├── FanoutReceiverC.java │ │ │ └── FanoutSender.java │ │ │ ├── hello │ │ │ ├── HelloReceiver.java │ │ │ └── HelloSender.java │ │ │ ├── many │ │ │ ├── NeoReceiver1.java │ │ │ ├── NeoReceiver2.java │ │ │ ├── NeoSender.java │ │ │ └── NeoSender2.java │ │ │ ├── object │ │ │ ├── ObjectReceiver.java │ │ │ └── ObjectSender.java │ │ │ └── topic │ │ │ ├── TopicReceiver.java │ │ │ ├── TopicReceiver2.java │ │ │ └── TopicSender.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── com │ └── example │ └── demo │ ├── FanoutTest.java │ ├── HelloTest.java │ ├── ManyTest.java │ ├── ObjectTest.java │ ├── SpringbootRabbitmqApplicationTests.java │ └── TopicTest.java ├── springboot-redis ├── .gitignore ├── README.md ├── pom.xml ├── src │ ├── main │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── demo │ │ │ │ ├── RedisConfig.java │ │ │ │ ├── SessionConfig.java │ │ │ │ ├── SpringbootRedisApplication.java │ │ │ │ ├── controller │ │ │ │ ├── CookieController.java │ │ │ │ ├── HelloController.java │ │ │ │ ├── LimitController.java │ │ │ │ └── LockController.java │ │ │ │ ├── entity │ │ │ │ └── User.java │ │ │ │ ├── handwrite │ │ │ │ ├── JedisTest.java │ │ │ │ ├── JiaoRedisProxy.java │ │ │ │ ├── JiaoRedisSentinel.java │ │ │ │ ├── JiaoReidsClient.java │ │ │ │ └── RedisServer.java │ │ │ │ ├── limit │ │ │ │ ├── RateLimiter.java │ │ │ │ ├── RedisRateLimiter.java │ │ │ │ └── RedisRateLimiterPlus.java │ │ │ │ ├── redlock │ │ │ │ ├── AquiredLockWorker.java │ │ │ │ ├── DistributedLocker.java │ │ │ │ ├── RedisLocker.java │ │ │ │ ├── RedissonConnector.java │ │ │ │ └── UnableToAquireLockException.java │ │ │ │ ├── repository │ │ │ │ └── RedisRepository.java │ │ │ │ └── util │ │ │ │ ├── ClusterTest.java │ │ │ │ ├── DelayOrder.java │ │ │ │ ├── FailTest.java │ │ │ │ └── SentinelTest.java │ │ └── resources │ │ │ └── application.yml │ └── test │ │ └── java │ │ └── com │ │ └── example │ │ └── demo │ │ ├── JiaoRedisClientTest.java │ │ ├── JiaoRedisProxyTest.java │ │ └── RedisTests.java └── 阿里云Redis开发规范.md ├── springboot-rocketmq ├── .gitignore ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── demo │ │ │ ├── BroadcastConsumer.java │ │ │ ├── BroadcastProducer.java │ │ │ └── SpringbootRocketmqApplication.java │ └── resources │ │ └── application.properties │ └── test │ └── java │ └── com │ └── example │ └── demo │ └── SpringbootRocketmqApplicationTests.java ├── springboot-security-sso ├── README.md ├── pom.xml ├── spring-security-sso-auth-server │ ├── pom.xml │ └── src │ │ ├── main │ │ ├── java │ │ │ └── org │ │ │ │ └── baeldung │ │ │ │ └── config │ │ │ │ ├── AuthServerConfig.java │ │ │ │ ├── AuthorizationServerApplication.java │ │ │ │ ├── SecurityConfig.java │ │ │ │ └── UserController.java │ │ └── resources │ │ │ └── application.properties │ │ └── test │ │ └── java │ │ └── org │ │ └── baeldung │ │ └── test │ │ └── AuthServerIntegrationTest.java ├── spring-security-sso-ui-2 │ ├── pom.xml │ └── src │ │ ├── main │ │ ├── java │ │ │ └── org │ │ │ │ └── baeldung │ │ │ │ └── config │ │ │ │ ├── UiApplication.java │ │ │ │ ├── UiSecurityConfig.java │ │ │ │ └── UiWebConfig.java │ │ └── resources │ │ │ ├── application.yml │ │ │ └── templates │ │ │ ├── index.html │ │ │ └── securedPage.html │ │ └── test │ │ └── java │ │ └── org │ │ └── baeldung │ │ └── test │ │ └── UiIntegrationTest.java └── spring-security-sso-ui │ ├── pom.xml │ └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── baeldung │ │ │ └── config │ │ │ ├── UiApplication.java │ │ │ ├── UiSecurityConfig.java │ │ │ └── UiWebConfig.java │ └── resources │ │ ├── application.yml │ │ └── templates │ │ ├── index.html │ │ └── securedPage.html │ └── test │ └── java │ └── org │ └── baeldung │ └── test │ └── UiIntegrationTest.java ├── springboot-security ├── .gitignore ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── demo │ │ │ ├── SpringbootSecurityApplication.java │ │ │ └── config │ │ │ ├── MvcConfig.java │ │ │ └── WebSecurityConfig.java │ └── resources │ │ ├── application.properties │ │ └── templates │ │ ├── hello.html │ │ ├── home.html │ │ └── login.html │ └── test │ └── java │ └── com │ └── example │ └── demo │ └── SpringbootSecurityApplicationTests.java ├── springboot-shiro ├── .gitignore ├── README.md ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── demo │ │ │ ├── SpringbootShiroApplication.java │ │ │ ├── config │ │ │ ├── CustomFormAuthenticationFilter.java │ │ │ ├── MyShiroRealm.java │ │ │ ├── RetryLimitHashedCredentialsMatcher.java │ │ │ └── ShiroConfiguration.java │ │ │ ├── controller │ │ │ ├── HomeController.java │ │ │ └── UserInfoController.java │ │ │ ├── domain │ │ │ ├── SysPermission.java │ │ │ ├── SysRole.java │ │ │ └── UserInfo.java │ │ │ ├── repository │ │ │ └── UserInfoRepository.java │ │ │ ├── service │ │ │ └── UserInfoService.java │ │ │ ├── servlet │ │ │ └── ValidatecodeServlet.java │ │ │ └── util │ │ │ └── PasswordHelper.java │ └── resources │ │ ├── application.properties │ │ ├── config │ │ └── ehcache-shiro.xml │ │ └── templates │ │ ├── index.html │ │ ├── login.html │ │ ├── userInfo.html │ │ └── userInfoAdd.html │ └── test │ └── java │ └── com │ └── example │ └── demo │ └── SpringbootShiroApplicationTests.java ├── springboot-swagger ├── .gitignore ├── README.md ├── pom.xml ├── src │ ├── main │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── demo │ │ │ │ ├── SpringbootSwaggerApplication.java │ │ │ │ ├── config │ │ │ │ ├── Swagger2.java │ │ │ │ └── WebConfigration.java │ │ │ │ ├── controller │ │ │ │ ├── BookContrller.java │ │ │ │ ├── HelloController.java │ │ │ │ └── RestTemplateController.java │ │ │ │ ├── entity │ │ │ │ ├── Book.java │ │ │ │ └── User.java │ │ │ │ └── filter │ │ │ │ ├── IndexFilter.java │ │ │ │ ├── IndexListener.java │ │ │ │ ├── IndexServlet.java │ │ │ │ ├── MonitorFilter.java │ │ │ │ └── MyFilter.java │ │ └── resources │ │ │ └── application.properties │ └── test │ │ └── java │ │ └── com │ │ └── example │ │ └── demo │ │ ├── MVCTest.java │ │ └── SpringbootSwaggerApplicationTests.java └── 设计一套良好 REST API.md ├── springboot-upload-file ├── .gitignore ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── demo │ │ │ ├── SpringbootUploadFileApplication.java │ │ │ ├── Test.java │ │ │ ├── controller │ │ │ ├── FileUploadController.java │ │ │ └── HttpController.java │ │ │ ├── demo │ │ │ ├── ClientCustomSSL.java │ │ │ ├── FirstHttpClientDemo.java │ │ │ ├── RequestConfigDemo.java │ │ │ └── RequestParameterDemo.java │ │ │ ├── storage │ │ │ ├── FileSystemStorageService.java │ │ │ ├── StorageException.java │ │ │ ├── StorageFileNotFoundException.java │ │ │ ├── StorageProperties.java │ │ │ └── StorageService.java │ │ │ └── util │ │ │ ├── AsciiUtil.java │ │ │ └── HttpClientUtil.java │ └── resources │ │ ├── application.properties │ │ ├── param.txt │ │ └── templates │ │ └── uploadForm.html │ └── test │ └── java │ └── com │ └── example │ └── demo │ └── SpringbootUploadFileApplicationTests.java ├── springboot-upload-yun-file ├── .gitignore ├── README.md ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── demo │ │ │ ├── SpringbootUploadYunFileApplication.java │ │ │ ├── controllr │ │ │ └── UploadController.java │ │ │ └── servlet │ │ │ ├── FileUp.java │ │ │ └── StorageProperties.java │ └── resources │ │ ├── application.properties │ │ ├── static │ │ ├── index.css │ │ └── index.js │ │ └── templates │ │ └── index.html │ └── test │ └── java │ └── com │ └── example │ └── demo │ └── SpringbootUploadYunFileApplicationTests.java ├── springboot-webrtc-websocket ├── .gitignore ├── README.md ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── example │ │ └── demo │ │ ├── Application.java │ │ ├── ChatRoom.java │ │ ├── OnlineServer.java │ │ ├── Test.java │ │ ├── controller │ │ └── ChartController.java │ │ ├── tomcat │ │ ├── HttpServer.java │ │ ├── Request.java │ │ └── Response.java │ │ └── util │ │ ├── SpiderUtil.java │ │ └── ValidateCode.java │ └── resources │ ├── application.properties │ ├── log4j.properties │ ├── static │ ├── img │ │ ├── 1.jpg │ │ ├── future.jpg │ │ └── person.png │ ├── js │ │ ├── ball.js │ │ ├── column.js │ │ ├── echarts.min.js │ │ ├── index.js │ │ ├── jquery-3.2.1.js │ │ ├── shoot.js │ │ └── snake.js │ └── plugins │ │ └── toastmessage │ │ ├── javascript │ │ └── jquery.toastmessage.js │ │ └── resources │ │ ├── css │ │ └── jquery.toastmessage.css │ │ └── images │ │ ├── close.gif │ │ ├── error.png │ │ ├── notice.png │ │ ├── success.png │ │ └── warning.png │ └── templates │ ├── ball.html │ ├── chart.html │ ├── gaode.html │ ├── hello.html │ ├── index.html │ ├── kefu.html │ ├── live.html │ ├── shoot.html │ ├── show.html │ ├── snake.html │ ├── test.html │ ├── validcode.html │ └── xiu.html ├── springboot-websocket ├── .gitignore ├── README.md ├── pom.xml └── src │ ├── main │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── demo │ │ │ ├── SpringbootWebsocketApplication.java │ │ │ ├── controller │ │ │ └── HelloController.java │ │ │ └── websocket │ │ │ └── ChatRoomServerEndpoint.java │ └── resources │ │ ├── application.properties │ │ └── static │ │ └── chat.html │ └── test │ └── java │ └── com │ └── example │ └── demo │ └── SpringbootWebsocketApplicationTests.java ├── springboot-zookeeper ├── README.md ├── creater │ ├── .gitignore │ ├── pom.xml │ └── src │ │ ├── main │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── demo │ │ │ │ ├── CreaterApplication.java │ │ │ │ ├── createor │ │ │ │ └── CuratorCreateNode.java │ │ │ │ ├── crud │ │ │ │ └── CrudExamples.java │ │ │ │ └── lock │ │ │ │ └── CuratorDistributedLockTest.java │ │ └── resources │ │ │ └── application.properties │ │ └── test │ │ └── java │ │ └── com │ │ └── example │ │ └── demo │ │ └── CreaterApplicationTests.java ├── pom.xml └── watcher │ ├── .gitignore │ ├── pom.xml │ └── src │ └── main │ ├── java │ └── com │ │ └── example │ │ └── demo │ │ ├── WatcherApplication.java │ │ └── wathcer │ │ └── CuratorWatcher.java │ └── resources │ └── application.properties └── ~$word.docx /.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | .DS_Store 12 | 13 | ### IntelliJ IDEA ### 14 | target 15 | .idea 16 | .mvn 17 | *.iws 18 | *.iml 19 | *.ipr 20 | mvnw 21 | .mvn 22 | mvnw.cmd 23 | .mvn/wrapper/maven-wrapper.properties 24 | .mvn/wrapper/maven-wrapper.jar 25 | 26 | ### NetBeans ### 27 | nbproject/private/ 28 | build/ 29 | nbbuild/ 30 | dist/ 31 | nbdist/ 32 | .nb-gradle/ 33 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | add -------------------------------------------------------------------------------- /a.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Title 6 | 7 | 8 | Hello Tomcat 9 | 10 | 11 | -------------------------------------------------------------------------------- /dump.rdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/dump.rdb -------------------------------------------------------------------------------- /result.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/result.html -------------------------------------------------------------------------------- /springboot-annotation/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | 12 | ### IntelliJ IDEA ### 13 | .idea 14 | *.iws 15 | *.iml 16 | *.ipr 17 | 18 | ### NetBeans ### 19 | nbproject/private/ 20 | build/ 21 | nbbuild/ 22 | dist/ 23 | nbdist/ 24 | .nb-gradle/ -------------------------------------------------------------------------------- /springboot-annotation/src/main/java/com/example/demo/MyClass.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/9/20. 5 | */ 6 | @MyAnnotation(test = "类注解") 7 | public class MyClass{ 8 | @MyAnnotation(test = "方法注解") 9 | public void myMethod(){ 10 | 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /springboot-annotation/src/main/java/com/example/demo/MySubClass.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/9/20. 5 | */ 6 | public class MySubClass extends MyClass { 7 | } 8 | -------------------------------------------------------------------------------- /springboot-annotation/src/main/java/com/example/demo/SpringbootAnnotationApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootAnnotationApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringbootAnnotationApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /springboot-annotation/src/main/java/com/example/demo/annotation/ActionLog.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.annotation; 2 | 3 | import java.lang.annotation.*; 4 | 5 | @Retention(RetentionPolicy.RUNTIME) 6 | @Target(ElementType.METHOD) 7 | @Inherited 8 | @Documented 9 | public @interface ActionLog { 10 | String action() default "default action"; 11 | } -------------------------------------------------------------------------------- /springboot-annotation/src/main/java/com/example/demo/annotation/Token.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.annotation; 2 | 3 | import java.lang.annotation.*; 4 | 5 | @Retention(RetentionPolicy.RUNTIME) 6 | @Target(ElementType.METHOD) 7 | @Documented 8 | public @interface Token { 9 | //生成 Token 标志 10 | boolean save() default false ; 11 | //移除 Token 值 12 | boolean remove() default false ; 13 | } -------------------------------------------------------------------------------- /springboot-annotation/src/main/java/com/example/demo/exception/FormRepeatException.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.exception; 2 | 3 | public class FormRepeatException extends RuntimeException { 4 | 5 | public FormRepeatException(String message){ super(message);} 6 | 7 | public FormRepeatException(String message, Throwable cause){ super(message, cause);} 8 | } -------------------------------------------------------------------------------- /springboot-annotation/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port=8088 -------------------------------------------------------------------------------- /springboot-annotation/src/test/java/com/example/demo/SpringbootAnnotationApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootAnnotationApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot-cacahe-data-with-spring/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | 12 | ### IntelliJ IDEA ### 13 | .idea 14 | *.iws 15 | *.iml 16 | *.ipr 17 | 18 | ### NetBeans ### 19 | nbproject/private/ 20 | build/ 21 | nbbuild/ 22 | dist/ 23 | nbdist/ 24 | .nb-gradle/ -------------------------------------------------------------------------------- /springboot-cacahe-data-with-spring/src/main/java/com/example/demo/entity/Book.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.entity; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Data; 5 | import lombok.NoArgsConstructor; 6 | 7 | /** 8 | * Created by jiaozhiguang on 2017/8/24. 9 | */ 10 | @Data 11 | @NoArgsConstructor 12 | @AllArgsConstructor 13 | public class Book { 14 | 15 | private String isbn; 16 | private String title; 17 | 18 | } 19 | -------------------------------------------------------------------------------- /springboot-cacahe-data-with-spring/src/main/java/com/example/demo/repository/BookRepository.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.repository; 2 | 3 | import com.example.demo.entity.Book; 4 | 5 | /** 6 | * Created by jiaozhiguang on 2017/8/24. 7 | */ 8 | public interface BookRepository { 9 | Book getByIsbn(String isbn); 10 | } 11 | -------------------------------------------------------------------------------- /springboot-cacahe-data-with-spring/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-cacahe-data-with-spring/src/main/resources/application.properties -------------------------------------------------------------------------------- /springboot-cacahe-data-with-spring/src/test/java/com/example/demo/SpringbootCacaheDataWithSpringApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootCacaheDataWithSpringApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot-config/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | 12 | ### IntelliJ IDEA ### 13 | .idea 14 | *.iws 15 | *.iml 16 | *.ipr 17 | 18 | ### NetBeans ### 19 | nbproject/private/ 20 | build/ 21 | nbbuild/ 22 | dist/ 23 | nbdist/ 24 | .nb-gradle/ -------------------------------------------------------------------------------- /springboot-config/src/main/java/com/example/demo/SpringbootConfigApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootConfigApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringbootConfigApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /springboot-config/src/main/resources/application-dev.yml: -------------------------------------------------------------------------------- 1 | server: 2 | port: 8082 -------------------------------------------------------------------------------- /springboot-config/src/main/resources/application-prod.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-config/src/main/resources/application-prod.yml -------------------------------------------------------------------------------- /springboot-config/src/main/resources/application-test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-config/src/main/resources/application-test.yml -------------------------------------------------------------------------------- /springboot-config/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | my: 2 | name: forezp 3 | age: 12 4 | number: ${random.int} 5 | uuid : ${random.uuid} 6 | max: ${random.int(10)} 7 | value: ${random.value} 8 | greeting: hi,i'm ${my.name} 9 | 10 | spring: 11 | profiles: 12 | active: dev -------------------------------------------------------------------------------- /springboot-config/src/main/resources/test.properties: -------------------------------------------------------------------------------- 1 | com.forezp.name=forezp 2 | com.forezp.age=12 -------------------------------------------------------------------------------- /springboot-config/src/test/java/com/example/demo/SpringbootConfigApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootConfigApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot-designpattern/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | 12 | ### IntelliJ IDEA ### 13 | .idea 14 | *.iws 15 | *.iml 16 | *.ipr 17 | 18 | ### NetBeans ### 19 | nbproject/private/ 20 | build/ 21 | nbbuild/ 22 | dist/ 23 | nbdist/ 24 | .nb-gradle/ -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/SpringbootDesignpatternApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootDesignpatternApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringbootDesignpatternApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/Test.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2018/2/8. 5 | */ 6 | public class Test { 7 | 8 | public static void main(String[] args) { 9 | Integer i01 = 59; 10 | int i02 = 59; 11 | Integer i03 =Integer.valueOf(59); 12 | Integer i04 = new Integer(59); 13 | 14 | System.out.println(i01 == i02); 15 | System.out.println(i01 == i03); 16 | System.out.println(i02 == i04); 17 | System.out.println(i02 == i04); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/algorithm/recursive/Test.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.algorithm.recursive; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/12/29. 5 | */ 6 | public class Test { 7 | 8 | public static void main(String[] args) { 9 | 10 | while (true) { 11 | new Object(); 12 | } 13 | 14 | } 15 | 16 | 17 | 18 | } 19 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/annotation/Format.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.annotation; 2 | 3 | import java.lang.annotation.Retention; 4 | import java.lang.annotation.Target; 5 | 6 | import static java.lang.annotation.ElementType.FIELD; 7 | import static java.lang.annotation.RetentionPolicy.RUNTIME; 8 | 9 | @Retention(RUNTIME) 10 | @Target(FIELD) 11 | public @interface Format { 12 | String pattern() default "yyyy-MM-dd HH:mm:ss"; 13 | String timezone() default "GMT+8"; 14 | } -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/annotation/Label.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.annotation; 2 | 3 | import java.lang.annotation.Retention; 4 | import java.lang.annotation.Target; 5 | 6 | import static java.lang.annotation.ElementType.FIELD; 7 | import static java.lang.annotation.RetentionPolicy.RUNTIME; 8 | 9 | @Retention(RUNTIME) 10 | @Target(FIELD) 11 | public @interface Label { 12 | String value() default ""; 13 | } -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/annotation/ServiceA.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.annotation; 2 | 3 | public class ServiceA { 4 | 5 | @SimpleInject 6 | ServiceB b; 7 | 8 | public void callB(){ 9 | b.action(); 10 | } 11 | } -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/annotation/ServiceB.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.annotation; 2 | 3 | @SimpleSingleton 4 | public class ServiceB { 5 | 6 | public void action(){ 7 | System.out.println("I'm B"); 8 | } 9 | } -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/annotation/SimpleInject.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.annotation; 2 | 3 | import java.lang.annotation.Retention; 4 | import java.lang.annotation.Target; 5 | 6 | import static java.lang.annotation.ElementType.FIELD; 7 | import static java.lang.annotation.RetentionPolicy.RUNTIME; 8 | 9 | @Retention(RUNTIME) 10 | @Target(FIELD) 11 | public @interface SimpleInject { 12 | } -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/annotation/SimpleSingleton.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.annotation; 2 | 3 | import java.lang.annotation.Retention; 4 | import java.lang.annotation.Target; 5 | 6 | import static java.lang.annotation.ElementType.TYPE; 7 | import static java.lang.annotation.RetentionPolicy.RUNTIME; 8 | 9 | @Retention(RUNTIME) 10 | @Target(TYPE) 11 | public @interface SimpleSingleton { 12 | } -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/aop/Aop.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.aop; 2 | 3 | public interface Aop { 4 | public String getClassName(); 5 | } -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/aop/AopImpl.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.aop; 2 | 3 | public class AopImpl implements Aop { 4 | @Override 5 | public String getClassName() { 6 | 7 | return this.getClass().getName(); 8 | } 9 | } -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/aop/AopTest.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.aop; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/12/22. 5 | */ 6 | public class AopTest { 7 | 8 | public static void main(String[] args) { 9 | 10 | Aop aopProxy = new AopProxy(new AopImpl()).createProxy(); 11 | System.out.println(aopProxy.getClassName()); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/architecture/架构师.md: -------------------------------------------------------------------------------- 1 | 1, -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/architecture/架构师之路17年精选80篇.md: -------------------------------------------------------------------------------- 1 | https://mp.weixin.qq.com/s?__biz=MjM5ODYxMDA5OQ==&mid=2651960945&idx=1&sn=d08f33c5f317fee8956252da8e0236b6&chksm=bd2d03ad8a5a8abb0370b826b7384a4095a5ed36238f0911d102b0ceee8e5d2fbe3bc80c56d9&mpshare=1&scene=23&srcid=0301SQTiVVGfCnqKLKusu1gq#rd 2 | 3 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/binary/BinaryDemo4.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.binary; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2018/1/5. 5 | */ 6 | public class BinaryDemo4 { 7 | 8 | public static void main(String[] args) { 9 | /** 10 | * byte short int long char fload double boolean 11 | * 1字节 2 4 8 2 4 8 12 | * 1字节=8位二进制 13 | 14 | 15 | * byte: -128 ~ 127 -2^7 ~ 2^7-1 16 | * short: 17 | * int: 18 | */ 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/datastructure/MyQueue.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.datastructure; 2 | 3 | import java.util.LinkedList; 4 | 5 | /** 6 | * Created by jiaozhiguang on 2017/10/16. 7 | */ 8 | public class MyQueue { 9 | 10 | private LinkedList list = new LinkedList<>(); 11 | 12 | // 入队 13 | public void enqueue(E e) { 14 | list.addLast(e); 15 | } 16 | 17 | // 出队 18 | public E dequeue() { 19 | return list.removeFirst(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/datastructure/recursion/Factorial.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.datastructure.recursion; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/11/28. 5 | */ 6 | public class Factorial { 7 | 8 | public static void main(String[] args) { 9 | System.out.println(factorial(10)); 10 | } 11 | 12 | public static long factorial(int n) { 13 | if(1 == n) { 14 | return n; 15 | }else { 16 | return factorial(n-1) + n; 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/datastructure/recursion/Fibonacci.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.datastructure.recursion; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/11/28. 5 | */ 6 | public class Fibonacci { 7 | 8 | public static void main(String[] args) { 9 | System.out.println(fibonacci(10)); 10 | } 11 | 12 | public static long fibonacci(int n) { 13 | if((0 == n) || (1 == n)) { 14 | return n; 15 | }else { 16 | return fibonacci(n-1) + fibonacci(n-2); 17 | } 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/datastructure/stack/Stack.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.datastructure.stack; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/11/28. 5 | */ 6 | public interface Stack { 7 | 8 | void clear(); 9 | 10 | void push(Object o); 11 | 12 | Object pop(); 13 | 14 | Object peek(); 15 | 16 | boolean isEmpty(); 17 | 18 | int size(); 19 | 20 | } 21 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/dynamicproxy/Aspect.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.dynamicproxy; 2 | 3 | import java.lang.annotation.Retention; 4 | import java.lang.annotation.Target; 5 | 6 | import static java.lang.annotation.ElementType.TYPE; 7 | import static java.lang.annotation.RetentionPolicy.RUNTIME; 8 | 9 | @Retention(RUNTIME) 10 | @Target(TYPE) 11 | public @interface Aspect { 12 | Class[] value(); 13 | } -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/encrypt/DESTest.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.encrypt; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2018/1/14. 5 | */ 6 | public class DESTest { 7 | } 8 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/encrypt/README.md: -------------------------------------------------------------------------------- 1 | 单向加密:不可逆 MD5是32位 SHA是40位,更难破解 2 | 3 | 双向加密 4 | 对称加密 5 | 非对称加密 -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/file/AvrageSalary.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.file; 2 | 3 | import java.io.BufferedReader; 4 | import java.io.FileReader; 5 | 6 | /** 7 | * Created by jiaozhiguang on 2017/10/12. 8 | */ 9 | public class AvrageSalary { 10 | 11 | public static void main(String[] args) throws Exception { 12 | BufferedReader reader = new BufferedReader(new FileReader("classpath:Filef.txt")); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/interview/2017卧底面试题答案解析.md: -------------------------------------------------------------------------------- 1 | https://mp.weixin.qq.com/s?__biz=MzI3ODcxMzQzMw==&mid=2247484646&idx=1&sn=4f838297a4dc92eb2d394cddca706550&scene=21#wechat_redirect 2 | 3 | 4 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/interview/event/EventTest.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.interview.event; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2018/1/23. 5 | */ 6 | public class EventTest { 7 | 8 | public static void main(String[] args) { 9 | EventSourceObject object = new EventSourceObject(); 10 | object.addLisners(new CusEventListener()); 11 | object.setName("eric"); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/interview/去BAT面试完的Mysql面试题总结(55道,带完整答案).docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-designpattern/src/main/java/com/example/demo/interview/去BAT面试完的Mysql面试题总结(55道,带完整答案).docx -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/interview/阿里、华为、腾讯Java技术面试题精选.md: -------------------------------------------------------------------------------- 1 | https://mp.weixin.qq.com/s?__biz=MzUxNDA1NDI3OA==&mid=2247484074&idx=1&sn=717bfe27c567aaf2885c6075b13056ff&chksm=f94a8343ce3d0a55d094a8ba2a1af6659358c9f78e45497b239a729d8a00ed973fbe915ed40c&mpshare=1&scene=23&srcid=01225RtZZbh3oi1CwYgm5LL7#rd 2 | 3 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/interview/阿里巴巴高级Java面试题(首发,70道).doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-designpattern/src/main/java/com/example/demo/interview/阿里巴巴高级Java面试题(首发,70道).doc -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/java8/lambda/IDemo.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.java8.lambda; 2 | 3 | public interface IDemo { 4 | void hello(); 5 | 6 | public static void test() { 7 | System.out.println("hello"); 8 | } 9 | 10 | default void hi() { 11 | System.out.println("hi"); 12 | } 13 | } -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/java8/stream/StreamTest.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.java8.stream; 2 | 3 | import java.util.ArrayList; 4 | import java.util.Arrays; 5 | import java.util.List; 6 | 7 | /** 8 | * Created by jiaozhiguang on 2017/12/17. 9 | */ 10 | public class StreamTest { 11 | 12 | public static void main(String[] args) { 13 | List list = new ArrayList<>(Arrays.asList(2,1,5,4,3)); 14 | list.stream().sorted().forEach(System.out::println); 15 | 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/java8/stream/Student.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.java8.stream; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Data; 5 | import lombok.NoArgsConstructor; 6 | 7 | /** 8 | * Created by jiaozhiguang on 2017/10/8. 9 | */ 10 | @Data 11 | @NoArgsConstructor 12 | @AllArgsConstructor 13 | public class Student { 14 | 15 | private Integer id; 16 | private String name; 17 | private float score; 18 | 19 | 20 | 21 | } 22 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/jdbc/FileUtils.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.jdbc; 2 | 3 | import java.io.File; 4 | import java.io.FileWriter; 5 | 6 | /** 7 | * Created by jiaozhiguang on 2017/12/25. 8 | */ 9 | public class FileUtils { 10 | 11 | public static void writeStr2File(File file, String content) throws Exception { 12 | FileWriter fw = new FileWriter(file); 13 | fw.write(content); 14 | fw.close(); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/jvm/DirectMem.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.jvm; 2 | 3 | import sun.misc.Unsafe; 4 | 5 | import java.lang.reflect.Field; 6 | 7 | /** 8 | * Created by jiaozhiguang on 2017/9/29. 9 | */ 10 | public class DirectMem { 11 | 12 | public static void main(String[] args) { 13 | Field field = Unsafe.class.getDeclaredFields()[0]; 14 | field.setAccessible(true); 15 | // field.set 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/jvm/JVM 内存结构.md: -------------------------------------------------------------------------------- 1 | 堆内存、方法区和栈 2 | 3 | 堆内存是JVM中最大的一块由年轻代和老年代组成,而年轻代内存又被分成三部分, 4 | Eden空间、From Survivor空间、To Survivor空间,默认情况下年轻代按照8:1:1的比例来分配 5 | 6 | 控制参数 7 | 8 | -Xms设置堆的最小空间大小。 9 | -Xmx设置堆的最大空间大小。 10 | -XX:NewSize设置新生代最小空间大小。 11 | -XX:MaxNewSize设置新生代最大空间大小。 12 | -XX:PermSize设置永久代最小空间大小。 13 | -XX:MaxPermSize设置永久代最大空间大小。 14 | -Xss设置每个线程的堆栈大小。 -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/jvm/OomStack.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.jvm; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/9/29. 5 | */ 6 | public class OomStack { 7 | 8 | private int stackLength = 1; 9 | 10 | private void diGui() { 11 | stackLength ++; 12 | diGui(); 13 | } 14 | 15 | public static void main(String[] args) { 16 | System.out.println("Stack"); 17 | OomStack oomStack = new OomStack(); 18 | oomStack.diGui(); 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/jvm/oom/DirectMem.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.jvm.oom; 2 | 3 | import sun.misc.Unsafe; 4 | 5 | import java.lang.reflect.Field; 6 | 7 | /** 8 | * Created by jiaozhiguang on 2017/9/29. 9 | */ 10 | public class DirectMem { 11 | 12 | public static void main(String[] args) { 13 | Field field = Unsafe.class.getDeclaredFields()[0]; 14 | field.setAccessible(true); 15 | // field.set 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/jvm/oom/OomStack.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.jvm.oom; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/9/29. 5 | */ 6 | public class OomStack { 7 | 8 | private int stackLength = 1; 9 | 10 | private void diGui() { 11 | stackLength ++; 12 | diGui(); 13 | } 14 | 15 | public static void main(String[] args) { 16 | System.out.println("Stack"); 17 | OomStack oomStack = new OomStack(); 18 | oomStack.diGui(); 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/leecode/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-designpattern/src/main/java/com/example/demo/leecode/README.md -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/limit/LimitService.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.limit; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/11/22. 5 | */ 6 | public interface LimitService { 7 | 8 | boolean acquire(); 9 | 10 | void release(); 11 | 12 | } 13 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/limit/SemaphoreLimitService.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.limit; 2 | 3 | import java.util.concurrent.Semaphore; 4 | 5 | /** 6 | * Created by jiaozhiguang on 2017/11/23. 7 | */ 8 | public class SemaphoreLimitService implements LimitService{ 9 | 10 | Semaphore semaphore = new Semaphore(10); 11 | 12 | @Override 13 | public boolean acquire() { 14 | return semaphore.tryAcquire(); 15 | } 16 | 17 | @Override 18 | public void release() { 19 | semaphore.release(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/netty/README.md: -------------------------------------------------------------------------------- 1 | http://www.jasongj.com/java/nio_reactor/ 2 | 3 | https://www.jianshu.com/p/b9f3f6a16911 4 | 5 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/orderno/UUIDTest.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.orderno; 2 | 3 | import java.util.UUID; 4 | 5 | /** 6 | * Created by jiaozhiguang on 2017/12/15. 7 | */ 8 | public class UUIDTest { 9 | 10 | public static void main(String[] args) { 11 | for (int i = 0; i <10 ; i++) { 12 | System.out.println(UUID.randomUUID()); 13 | } 14 | 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/orderno/service/OrderService.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.orderno.service; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/12/15. 5 | */ 6 | public interface OrderService { 7 | 8 | String getOrderNo(); 9 | } 10 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/pattern/decorator/Component.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.pattern.decorator; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2018/1/5. 5 | */ 6 | public interface Component { 7 | 8 | void sampleOperation(); 9 | 10 | } 11 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/pattern/decorator/ConcreteComponent.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.pattern.decorator; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2018/1/5. 5 | */ 6 | public class ConcreteComponent implements Component { 7 | 8 | @Override 9 | public void sampleOperation() { 10 | System.out.println("sample operation"); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/pattern/decorator/Decorator.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.pattern.decorator; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2018/1/5. 5 | */ 6 | public class Decorator implements Component{ 7 | 8 | private Component component; 9 | 10 | public Decorator() { 11 | 12 | } 13 | 14 | public Decorator(Component component) { 15 | this.component = component; 16 | 17 | } 18 | 19 | @Override 20 | public void sampleOperation() { 21 | component.sampleOperation(); 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/pattern/observer/Observer.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.pattern.observer; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/10/20. 5 | */ 6 | public interface Observer { 7 | public void update(); 8 | } 9 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/pattern/observer/Subject.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.pattern.observer; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/10/20. 5 | */ 6 | public interface Subject { 7 | 8 | public void attach(Observer observer); 9 | 10 | public void detach(Observer observer); 11 | 12 | public void notice(); 13 | 14 | } 15 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/pattern/proxy/README.md: -------------------------------------------------------------------------------- 1 | Java SDK代理与cglib代理比较 2 | Java SDK代理面向的是一组接口,它为这些接口动态创建了一个实现类, 3 | 接口的具体实现逻辑是通过自定义的InvocationHandler实现的,这个实现是自定义的,也就是说, 4 | 其背后都不一定有真正被代理的对象,也可能多个实际对象,根据情况动态选择。 5 | 6 | cglib代理面向的是一个具体的类,它动态创建了一个新类,继承了该类,重写了其方法。 -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/pattern/singleton/eager/Singleton.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.pattern.singleton.eager; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/12/15. 5 | * 6 | * 好处是编写简单,但是无法做到延迟创建对象 7 | */ 8 | public class Singleton { 9 | 10 | private static Singleton singleton = new Singleton(); 11 | 12 | private Singleton() { 13 | 14 | } 15 | public Singleton getSingleton() { 16 | return singleton; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/pattern/singleton/enumimpl/Singleton.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.pattern.singleton.enumimpl; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/12/15. 5 | * 6 | * 此方法无偿提供了序列化机制,绝对防止多次实例化,及时面对复杂的序列化或者反射攻击。 7 | * 单元素枚举类型已经成为实现Singleton的最佳方法。 8 | * 9 | * 很多人会对枚举法实现的单例模式很不理解。这里需要深入理解的是两个点: 10 | 11 | 枚举类实现其实省略了private类型的构造函数 12 | 枚举类的域(field)其实是相应的enum类型的一个实例对象 13 | */ 14 | public enum Singleton { 15 | INSTANCE; 16 | } 17 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/pattern/singleton/enumimpl/standard/MySingleton.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.pattern.singleton.enumimpl.standard; 2 | 3 | public interface MySingleton { 4 | void doSomething(); 5 | } -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/pattern/singleton/enumimpl/standard/Singleton.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.pattern.singleton.enumimpl.standard; 2 | 3 | public enum Singleton implements MySingleton { 4 | INSTANCE { 5 | @Override 6 | public void doSomething() { 7 | System.out.println("complete singleton"); 8 | } 9 | }; 10 | 11 | public static MySingleton getInstance() { 12 | return Singleton.INSTANCE; 13 | } 14 | } 15 | 16 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/pattern/stratege/IService.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.pattern.stratege; 2 | 3 | public interface IService { 4 | public void action(); 5 | } 6 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/pattern/stratege/ServiceA.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.pattern.stratege; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/9/29. 5 | */ 6 | public class ServiceA implements IService { 7 | 8 | public void action() { 9 | System.out.println("serviceb a action"); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/pattern/stratege/ServiceB.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.pattern.stratege; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/9/29. 5 | */ 6 | public class ServiceB implements IService { 7 | 8 | public void action() { 9 | System.out.println("service b action"); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/pattern/stratege/s1/DisabledDuck.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.pattern.stratege.s1; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/10/19. 5 | */ 6 | public class DisabledDuck extends Duck { 7 | 8 | public void display(){ 9 | System.out.println("残废鸭的颜色..."); 10 | } 11 | 12 | public void fly(){ 13 | //覆盖,变成什么事都不做。 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/pattern/stratege/s1/Duck.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.pattern.stratege.s1; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/10/19. 5 | */ 6 | public abstract class Duck { 7 | public void quack(){ //呱呱叫 8 | System.out.println("呱呱叫"); 9 | } 10 | public void swim(){ //游泳 11 | System.out.println(" 游泳"); 12 | } 13 | public abstract void display(); /*因为外观不一样,让子类自己去决定了。*/ 14 | 15 | public void fly(){ 16 | System.out.println("飞吧!鸭子"); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/pattern/stratege/s1/MallardDuck.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.pattern.stratege.s1; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/10/19. 5 | */ 6 | public class MallardDuck extends Duck { 7 | 8 | public void display(){ 9 | System.out.println("野鸭的颜色..."); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/pattern/stratege/s1/RedheadDuck.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.pattern.stratege.s1; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/10/19. 5 | */ 6 | public class RedheadDuck extends Duck { 7 | 8 | public void display(){ 9 | System.out.println("红头鸭的颜色..."); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/pattern/stratege/s2/DisabledDuck.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.pattern.stratege.s2; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/10/19. 5 | */ 6 | public class DisabledDuck extends Duck implements Quackable { 7 | 8 | 9 | @Override 10 | public void display() { 11 | System.out.println("残废鸭的颜色..."); 12 | } 13 | 14 | @Override 15 | public void quack() { 16 | 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/pattern/stratege/s2/Duck.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.pattern.stratege.s2; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/10/19. 5 | */ 6 | public abstract class Duck { 7 | 8 | 9 | public void swim(){ //游泳 10 | System.out.println(" 游泳"); 11 | } 12 | public abstract void display(); /*因为外观不一样,让子类自己去决定了。*/ 13 | 14 | } 15 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/pattern/stratege/s2/Flyable.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.pattern.stratege.s2; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/10/19. 5 | */ 6 | public interface Flyable { 7 | 8 | void fly(); 9 | 10 | } 11 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/pattern/stratege/s2/MallardDuck.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.pattern.stratege.s2; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/10/19. 5 | */ 6 | public class MallardDuck extends Duck implements Flyable,Quackable { 7 | 8 | 9 | 10 | @Override 11 | public void display() { 12 | System.out.println("野鸭的颜色..."); 13 | } 14 | 15 | @Override 16 | public void fly() { 17 | 18 | } 19 | 20 | @Override 21 | public void quack() { 22 | 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/pattern/stratege/s2/Quackable.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.pattern.stratege.s2; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/10/19. 5 | */ 6 | public interface Quackable { 7 | void quack(); 8 | } 9 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/pattern/stratege/s2/RedheadDuck.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.pattern.stratege.s2; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/10/19. 5 | */ 6 | public class RedheadDuck extends Duck implements Flyable,Quackable { 7 | @Override 8 | public void display() { 9 | System.out.println("红头鸭的颜色..."); 10 | } 11 | 12 | @Override 13 | public void fly() { 14 | 15 | } 16 | 17 | @Override 18 | public void quack() { 19 | 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/pattern/stratege/s3/FlyBehavior.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.pattern.stratege.s3; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/10/19. 5 | */ 6 | public interface FlyBehavior { 7 | public void fly(); 8 | } 9 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/pattern/stratege/s3/FlyNoWay.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.pattern.stratege.s3; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/10/19. 5 | */ 6 | public class FlyNoWay implements FlyBehavior { 7 | @Override 8 | public void fly() { 9 | 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/pattern/stratege/s3/FlyWithWings.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.pattern.stratege.s3; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/10/19. 5 | */ 6 | public class FlyWithWings implements FlyBehavior { 7 | 8 | @Override 9 | public void fly() { 10 | 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/pattern/stratege/s3/MallardDuck.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.pattern.stratege.s3; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/10/20. 5 | */ 6 | public class MallardDuck extends Duck { 7 | 8 | public MallardDuck() { 9 | flyBehavior = new FlyWithWings(); 10 | quackBehavior = new Quack(); 11 | } 12 | 13 | public void display(){ 14 | //实现 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/pattern/stratege/s3/MuteQuack.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.pattern.stratege.s3; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/10/20. 5 | */ 6 | public class MuteQuack implements QuackBehavior { 7 | @Override 8 | public void quack() { 9 | 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/pattern/stratege/s3/Quack.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.pattern.stratege.s3; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/10/19. 5 | */ 6 | public class Quack implements QuackBehavior { 7 | @Override 8 | public void quack() { 9 | 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/pattern/stratege/s3/QuackBehavior.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.pattern.stratege.s3; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/10/19. 5 | */ 6 | public interface QuackBehavior { 7 | 8 | public void quack(); 9 | 10 | } 11 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/pattern/stratege/s3/Squeak.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.pattern.stratege.s3; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/10/19. 5 | */ 6 | public class Squeak implements QuackBehavior { 7 | @Override 8 | public void quack() { 9 | 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/reflection/Human.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.reflection; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2018/1/17. 5 | */ 6 | public interface Human { 7 | 8 | void say(); 9 | 10 | } 11 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/reflection/Student.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.reflection; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Data; 5 | import lombok.NoArgsConstructor; 6 | 7 | /** 8 | * Created by jiaozhiguang on 2018/1/16. 9 | */ 10 | @Data 11 | @AllArgsConstructor 12 | @NoArgsConstructor 13 | public class Student implements Human { 14 | 15 | private int id; 16 | private String name; 17 | 18 | public void say() { 19 | System.out.println("I'm Student"); 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/reflection/Teacher.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.reflection; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2018/1/17. 5 | */ 6 | public class Teacher implements Human { 7 | 8 | public void say() { 9 | System.out.println("I'm Teacher"); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/rmi/HelloService.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.rmi; 2 | 3 | import java.rmi.Remote; 4 | 5 | /** 6 | * Created by jiaozhiguang on 2018/3/25. 7 | */ 8 | public interface HelloService extends Remote { 9 | 10 | String sayHello(String string) throws Exception; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/rmi/HelloServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.rmi; 2 | 3 | import java.rmi.server.UnicastRemoteObject; 4 | 5 | /** 6 | * Created by jiaozhiguang on 2018/3/25. 7 | */ 8 | 9 | public class HelloServiceImpl extends UnicastRemoteObject implements HelloService { 10 | 11 | protected HelloServiceImpl() throws Exception { 12 | 13 | } 14 | 15 | @Override 16 | public String sayHello(String string) throws Exception{ 17 | System.out.println(string); 18 | return "Hello " + string; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/spring4all/晚报 20180205 腊月二十.md: -------------------------------------------------------------------------------- 1 | 技术专题讨论第五期总结:论系统架构设计中缓存的重要性 2 | http://www.spring4all.com/article/653 3 | 基于rxjava的生产消费模型 4 | http://www.spring4all.com/article/652 5 | 震惊!Java 类加载器揭秘-chat 6 | http://www.spring4all.com/article/650 7 | Spring Security Oauth2认证通过后如何回调将用户信息存储在数据库? 8 | http://www.spring4all.com/question/207 -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/test/Alpha.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.test; 2 | 3 | public class Alpha extends Base { 4 | 5 | public static void main(String[] args) { 6 | new Alpha(); 7 | new Base(); 8 | } 9 | 10 | } -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/test/Base.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.test; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/10/24. 5 | */ 6 | public class Base { 7 | Base() { 8 | System.out.println("Base"); 9 | } 10 | } 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/test/Foo.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.test; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/10/24. 5 | */ 6 | public class Foo { 7 | 8 | public static void main(String[] args) { 9 | try { 10 | return; 11 | } finally { 12 | System.out.println("Finally"); 13 | } 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/test/Letter.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.test; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/10/18. 5 | */ 6 | public class Letter { 7 | 8 | char c; 9 | 10 | } 11 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/test/Parent.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.test; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/10/24. 5 | */ 6 | public class Parent { 7 | 8 | private String p = "parent"; 9 | private static String sp = "s parent"; 10 | 11 | public void method() { 12 | System.out.println(p); 13 | } 14 | 15 | public static void smethod() { 16 | System.out.println(sp); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/test/PassObject.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.test; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/10/18. 5 | */ 6 | public class PassObject { 7 | 8 | static void f(Letter y) { 9 | y.c = 'z'; 10 | } 11 | 12 | public static void main(String[] args) { 13 | Letter x = new Letter(); 14 | x.c = 'a'; 15 | System.out.println("1: x.c: " + x.c); 16 | f(x); 17 | System.out.println("2: x.c" + x.c); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/test/Person.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.test; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/10/23. 5 | */ 6 | public class Person { 7 | 8 | private String name = "Person"; 9 | int age = 0; 10 | } 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/test/Test.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.test; 2 | 3 | import java.util.HashMap; 4 | import java.util.Map; 5 | 6 | /** 7 | * Created by jiaozhiguang on 2017/10/17. 8 | */ 9 | public class Test { 10 | 11 | 12 | public static void main(String[] args) { 13 | 14 | Map map = new HashMap< >(); 15 | 16 | 17 | } 18 | 19 | 20 | } 21 | -------------------------------------------------------------------------------- /springboot-designpattern/src/main/java/com/example/demo/test/Testint.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.test; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/10/18. 5 | */ 6 | public class Testint { 7 | 8 | public static void main(String[] args) { 9 | int big = 0x7fffffff; 10 | int bigger = big * 4; 11 | System.out.println(big 2 | 3 | 4 | 5 | Title 6 | 7 | 8 | 您好,这是验证邮件,请点击下面的链接完成验证,
9 | 激活账号 10 | 11 | -------------------------------------------------------------------------------- /springboot-email/src/test/java/com/example/demo/SpringbootEmailApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootEmailApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot-jpa-thymeleaf/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | 12 | ### IntelliJ IDEA ### 13 | .idea 14 | *.iws 15 | *.iml 16 | *.ipr 17 | 18 | ### NetBeans ### 19 | nbproject/private/ 20 | build/ 21 | nbbuild/ 22 | dist/ 23 | nbdist/ 24 | .nb-gradle/ -------------------------------------------------------------------------------- /springboot-jpa-thymeleaf/src/main/java/com/example/repository/UserRepository.java: -------------------------------------------------------------------------------- 1 | package com.example.repository; 2 | 3 | import com.example.entity.User; 4 | import org.springframework.data.jpa.repository.JpaRepository; 5 | 6 | /** 7 | * Created by jiaozhiguang on 2017/10/21. 8 | */ 9 | public interface UserRepository extends JpaRepository { 10 | 11 | User findById(long id); 12 | Long deleteById(Long id); 13 | 14 | } 15 | -------------------------------------------------------------------------------- /springboot-jpa-thymeleaf/src/main/java/com/example/service/UserService.java: -------------------------------------------------------------------------------- 1 | package com.example.service; 2 | 3 | import com.example.entity.User; 4 | 5 | import java.util.List; 6 | 7 | /** 8 | * Created by jiaozhiguang on 2017/10/21. 9 | */ 10 | public interface UserService { 11 | 12 | public List getUserList(); 13 | 14 | public User findUserById(long id); 15 | 16 | public void save(User user); 17 | 18 | public void edit(User user); 19 | 20 | public void delete(long id); 21 | 22 | } 23 | -------------------------------------------------------------------------------- /springboot-jpa-thymeleaf/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.datasource.driverClassName = com.mysql.jdbc.Driver 2 | spring.datasource.url = jdbc:mysql://localhost:3306/mail?useUnicode=true&characterEncoding=utf-8 3 | spring.datasource.username = root 4 | spring.datasource.password = 123456 5 | 6 | spring.jpa.properties.hibernate.hbm2ddl.auto=update 7 | spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect 8 | spring.jpa.show-sql= true 9 | 10 | spring.thymeleaf.cache=false 11 | 12 | server.port=8888 13 | 14 | 15 | test.msg=Hello World Springboot! -------------------------------------------------------------------------------- /springboot-jpa-thymeleaf/src/main/resources/config/my-web.properties: -------------------------------------------------------------------------------- 1 | web.name=zslin 2 | web.version=V 1.0 3 | web.author=393156105@qq.com -------------------------------------------------------------------------------- /springboot-jpa-thymeleaf/src/main/resources/messages.properties: -------------------------------------------------------------------------------- 1 | welcome = 欢迎你登录到 阿里巴巴 网站 2 | list = 用户列表 3 | world = 世界 -------------------------------------------------------------------------------- /springboot-jpa-thymeleaf/src/main/resources/messages_en_US.properties: -------------------------------------------------------------------------------- 1 | welcome = welcome to login to alibaba website(English) 2 | list = User List 3 | world = word -------------------------------------------------------------------------------- /springboot-jpa-thymeleaf/src/main/resources/messages_zh_CN.properties: -------------------------------------------------------------------------------- 1 | welcome = 欢迎你登录到 阿里巴巴 网站 2 | list = 用户列表 3 | world = 世界 -------------------------------------------------------------------------------- /springboot-jpa-thymeleaf/src/main/resources/templates/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Hello Thymeleaf! 6 | 7 | 8 |

9 | 10 | -------------------------------------------------------------------------------- /springboot-jwt-security/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | 12 | ### IntelliJ IDEA ### 13 | .idea 14 | *.iws 15 | *.iml 16 | *.ipr 17 | 18 | ### NetBeans ### 19 | nbproject/private/ 20 | build/ 21 | nbbuild/ 22 | dist/ 23 | nbdist/ 24 | .nb-gradle/ -------------------------------------------------------------------------------- /springboot-jwt-security/src/main/java/com/example/demo/SpringbootJwtSecurityApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootJwtSecurityApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringbootJwtSecurityApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /springboot-jwt-security/src/main/java/com/example/demo/auth/AuthService.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.auth; 2 | 3 | import com.example.demo.user.User; 4 | 5 | public interface AuthService { 6 | User register(User userToAdd); 7 | String login(String username, String password); 8 | String refresh(String oldToken); 9 | } -------------------------------------------------------------------------------- /springboot-jwt-security/src/main/java/com/example/demo/secruity/JwtAuthenticationResponse.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.secruity; 2 | 3 | import java.io.Serializable; 4 | 5 | public class JwtAuthenticationResponse implements Serializable { 6 | private static final long serialVersionUID = 1250166508152483573L; 7 | 8 | private final String token; 9 | 10 | public JwtAuthenticationResponse(String token) { 11 | this.token = token; 12 | } 13 | 14 | public String getToken() { 15 | return this.token; 16 | } 17 | } -------------------------------------------------------------------------------- /springboot-jwt-security/src/main/java/com/example/demo/todo/Todo.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.todo; 2 | 3 | import com.example.demo.user.User; 4 | import lombok.Data; 5 | import org.springframework.data.annotation.Id; 6 | 7 | /** 8 | * Todo是一个领域对象(domain object) 9 | * Created by wangpeng on 2017/1/24. 10 | */ 11 | @Data 12 | public class Todo { 13 | @Id 14 | private String id; 15 | private String desc; 16 | private boolean completed; 17 | private User user; 18 | } -------------------------------------------------------------------------------- /springboot-jwt-security/src/main/java/com/example/demo/todo/TodoRepository.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.todo; 2 | 3 | import org.springframework.data.mongodb.repository.MongoRepository; 4 | import org.springframework.stereotype.Repository; 5 | 6 | import java.util.List; 7 | 8 | @Repository 9 | public interface TodoRepository extends MongoRepository{ 10 | List findByUserUsername(String username); 11 | } -------------------------------------------------------------------------------- /springboot-jwt-security/src/main/java/com/example/demo/todo/TodoService.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.todo; 2 | 3 | import java.util.List; 4 | 5 | public interface TodoService { 6 | Todo addTodo(Todo todo); 7 | Todo deleteTodo(String id); 8 | List findAll(String username); 9 | Todo findById(String id); 10 | Todo update(Todo todo); 11 | } -------------------------------------------------------------------------------- /springboot-jwt-security/src/main/java/com/example/demo/user/UserRepository.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.user; 2 | 3 | import org.springframework.data.mongodb.repository.MongoRepository; 4 | import org.springframework.stereotype.Repository; 5 | 6 | @Repository 7 | public interface UserRepository extends MongoRepository { 8 | User findByUsername(final String username); 9 | } -------------------------------------------------------------------------------- /springboot-jwt-security/src/test/java/com/example/demo/SpringbootJwtSecurityApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootJwtSecurityApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot-kafka/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | 12 | ### IntelliJ IDEA ### 13 | .idea 14 | *.iws 15 | *.iml 16 | *.ipr 17 | 18 | ### NetBeans ### 19 | nbproject/private/ 20 | build/ 21 | nbbuild/ 22 | dist/ 23 | nbdist/ 24 | .nb-gradle/ -------------------------------------------------------------------------------- /springboot-kafka/src/main/java/com/example/demo/beans/Message.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.beans; 2 | 3 | import lombok.Data; 4 | 5 | import java.util.Date; 6 | 7 | @Data 8 | public class Message { 9 | private Long id; //id 10 | 11 | private String msg; //消息 12 | 13 | private Date sendTime; //时间戳 14 | 15 | } -------------------------------------------------------------------------------- /springboot-kafka/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port=8081 2 | 3 | logging.level.*=ERROR -------------------------------------------------------------------------------- /springboot-kafka/src/test/java/com/example/demo/SpringbootKafkaApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootKafkaApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot-ladp/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | 12 | ### IntelliJ IDEA ### 13 | .idea 14 | *.iws 15 | *.iml 16 | *.ipr 17 | 18 | ### NetBeans ### 19 | nbproject/private/ 20 | build/ 21 | nbbuild/ 22 | dist/ 23 | nbdist/ 24 | .nb-gradle/ -------------------------------------------------------------------------------- /springboot-ladp/src/main/java/com/example/demo/PersonRepository.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.springframework.data.repository.CrudRepository; 4 | 5 | import javax.naming.Name; 6 | 7 | public interface PersonRepository extends CrudRepository { 8 | 9 | 10 | } -------------------------------------------------------------------------------- /springboot-ladp/src/main/java/com/example/demo/SpringbootLadpApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootLadpApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringbootLadpApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /springboot-ladp/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-ladp/src/main/resources/application.properties -------------------------------------------------------------------------------- /springboot-ladp/src/test/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.ldap.embedded.ldif=ldap-server.ldif 2 | spring.ldap.embedded.base-dn=dc=didispace,dc=com -------------------------------------------------------------------------------- /springboot-ladp/src/test/resources/ldap-server.ldif: -------------------------------------------------------------------------------- 1 | dn: dc=didispace,dc=com 2 | objectClass: top 3 | objectClass: domain 4 | 5 | dn: ou=people,dc=didispace,dc=com 6 | objectclass: top 7 | objectclass: organizationalUnit 8 | ou: people 9 | 10 | dn: uid=ben,ou=people,dc=didispace,dc=com 11 | objectclass: top 12 | objectclass: person 13 | objectclass: organizationalPerson 14 | objectclass: inetOrgPerson 15 | cn: didi 16 | sn: zhaiyongchao 17 | uid: didi 18 | userPassword: {SHA}nFCebWjxfaLbHHG1Qk5UU4trbvQ= -------------------------------------------------------------------------------- /springboot-metrics/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | 12 | ### IntelliJ IDEA ### 13 | .idea 14 | *.iws 15 | *.iml 16 | *.ipr 17 | 18 | ### NetBeans ### 19 | nbproject/private/ 20 | build/ 21 | nbbuild/ 22 | dist/ 23 | nbdist/ 24 | .nb-gradle/ -------------------------------------------------------------------------------- /springboot-metrics/src/main/java/com/example/demo/SpringbootMetricsApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootMetricsApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringbootMetricsApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /springboot-metrics/src/main/java/com/example/demo/test/MetricConstant.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.test; 2 | 3 | import com.codahale.metrics.MetricRegistry; 4 | 5 | public class MetricConstant 6 | { 7 | public static MetricRegistry REGISTER = new MetricRegistry(); 8 | } -------------------------------------------------------------------------------- /springboot-metrics/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-metrics/src/main/resources/application.properties -------------------------------------------------------------------------------- /springboot-metrics/src/test/java/com/example/demo/SpringbootMetricsApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootMetricsApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot-mongodb/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | 12 | ### IntelliJ IDEA ### 13 | .idea 14 | *.iws 15 | *.iml 16 | *.ipr 17 | 18 | ### NetBeans ### 19 | nbproject/private/ 20 | build/ 21 | nbbuild/ 22 | dist/ 23 | nbdist/ 24 | .nb-gradle/ -------------------------------------------------------------------------------- /springboot-mongodb/src/main/java/com/example/demo/repository/CustomerRepository.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.repository; 2 | 3 | import com.example.demo.entity.Customer; 4 | import org.springframework.data.mongodb.repository.MongoRepository; 5 | 6 | import java.util.List; 7 | 8 | /** 9 | * Created by jiaozhiguang on 2017/8/24. 10 | */ 11 | public interface CustomerRepository extends MongoRepository { 12 | 13 | public Customer findByFirstName(String firstName); 14 | public List findByLastName(String lastName); 15 | 16 | 17 | 18 | } 19 | -------------------------------------------------------------------------------- /springboot-mongodb/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.data.mongodb.uri=mongodb://localhost:27017/springboot-db -------------------------------------------------------------------------------- /springboot-my-mvc/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | 12 | ### IntelliJ IDEA ### 13 | .idea 14 | *.iws 15 | *.iml 16 | *.ipr 17 | 18 | ### NetBeans ### 19 | nbproject/private/ 20 | build/ 21 | nbbuild/ 22 | dist/ 23 | nbdist/ 24 | .nb-gradle/ -------------------------------------------------------------------------------- /springboot-my-mvc/src/main/java/com/example/demo/SpringbootMyMvcApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootMyMvcApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringbootMyMvcApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /springboot-my-mvc/src/main/java/com/example/demo/annotation/MyController.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.annotation; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | /** 9 | * Created by jiaozhiguang on 2017/11/3. 10 | */ 11 | 12 | @Target(ElementType.TYPE) //注解运行在那里 13 | @Retention(RetentionPolicy.RUNTIME) 14 | public @interface MyController { 15 | } 16 | -------------------------------------------------------------------------------- /springboot-my-mvc/src/main/java/com/example/demo/annotation/MyRequestMapping.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.annotation; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | /** 9 | * Created by jiaozhiguang on 2017/11/3. 10 | */ 11 | @Target({ElementType.TYPE, ElementType.METHOD}) 12 | @Retention(RetentionPolicy.RUNTIME) 13 | public @interface MyRequestMapping { 14 | public String value(); 15 | } 16 | -------------------------------------------------------------------------------- /springboot-my-mvc/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-my-mvc/src/main/resources/application.properties -------------------------------------------------------------------------------- /springboot-my-mvc/src/test/java/com/example/demo/SpringbootMyMvcApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootMyMvcApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot-mybatis-annotation-multidatasource/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | 12 | ### IntelliJ IDEA ### 13 | .idea 14 | *.iws 15 | *.iml 16 | *.ipr 17 | 18 | ### NetBeans ### 19 | nbproject/private/ 20 | build/ 21 | nbbuild/ 22 | dist/ 23 | nbdist/ 24 | .nb-gradle/ -------------------------------------------------------------------------------- /springboot-mybatis-annotation-multidatasource/src/main/java/com/example/demo/SpringbootMybatisAnnotationMultidatasourceApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootMybatisAnnotationMultidatasourceApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringbootMybatisAnnotationMultidatasourceApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /springboot-mybatis-annotation-multidatasource/src/main/java/com/example/demo/enums/UserSexEnum.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.enums; 2 | 3 | public enum UserSexEnum { 4 | MAN, WOMAN 5 | } 6 | -------------------------------------------------------------------------------- /springboot-mybatis-annotation-multidatasource/src/test/java/com/example/demo/SpringbootMybatisAnnotationMultidatasourceApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootMybatisAnnotationMultidatasourceApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot-mybatis-annotation/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | 12 | ### IntelliJ IDEA ### 13 | .idea 14 | *.iws 15 | *.iml 16 | *.ipr 17 | 18 | ### NetBeans ### 19 | nbproject/private/ 20 | build/ 21 | nbbuild/ 22 | dist/ 23 | nbdist/ 24 | .nb-gradle/ -------------------------------------------------------------------------------- /springboot-mybatis-annotation/README.md: -------------------------------------------------------------------------------- 1 | 启动项目后访问 http://127.0.0.1:8080/druid/index.html 即可查看数据源及SQL统计等 2 | 3 | 全局异常处理 4 | 5 | 导出PDF 6 | 7 | Java操作pdf框架 8 | iText是一个能够快速产生PDF文件的java类库。iText的java类对于那些要产生包含文本,表格, 9 | 图形的只读文档是很有用的。它的类库尤其与java Servlet有很好的给合。 10 | 使用iText与PDF能够使你正确的控制Servlet的输出。 11 | 12 | 支持中文 需要字体支持 -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/java/com/example/demo/Exception/WithoutParamException.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.exception; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/12/7. 5 | */ 6 | public class WithoutParamException extends RuntimeException { 7 | 8 | public WithoutParamException() { 9 | super(); 10 | } 11 | 12 | public WithoutParamException(String message) { 13 | super(message); 14 | } 15 | 16 | public WithoutParamException(String message, Throwable cause) { 17 | super(message, cause); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/java/com/example/demo/component/QueueInstance.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.component; 2 | 3 | import com.example.demo.entity.Account; 4 | 5 | import java.util.concurrent.DelayQueue; 6 | 7 | /** 8 | * Created by jiaozhiguang on 2018/1/13. 9 | */ 10 | public class QueueInstance { 11 | 12 | public static final DelayQueue bq = new DelayQueue(); 13 | 14 | } 15 | -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/java/com/example/demo/entity/Menu.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.entity; 2 | 3 | 4 | import lombok.Data; 5 | 6 | @Data 7 | public class Menu { 8 | private Integer id; 9 | 10 | private String code; 11 | 12 | private Integer parentid; 13 | 14 | private String name; 15 | 16 | private String icon; 17 | 18 | private String url; 19 | 20 | private Integer num; 21 | 22 | private Integer levels; 23 | 24 | private String tips; 25 | 26 | } -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/java/com/example/demo/enums/UserSexEnum.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.enums; 2 | 3 | public enum UserSexEnum { 4 | MAN, WOMAN 5 | } 6 | -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/java/com/example/demo/exception/UserNotExistException.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.exception; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/12/8. 5 | */ 6 | public class UserNotExistException extends RuntimeException { 7 | 8 | public UserNotExistException() { 9 | super(); 10 | } 11 | 12 | public UserNotExistException(String message) { 13 | super(message); 14 | } 15 | 16 | public UserNotExistException(String message, Throwable cause) { 17 | super(message, cause); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/java/com/example/demo/service/UserService.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.service; 2 | 3 | import com.example.demo.mapper.UserMapper; 4 | import org.springframework.beans.factory.annotation.Autowired; 5 | import org.springframework.stereotype.Service; 6 | 7 | /** 8 | * Created by jiaozhiguang on 2018/1/7. 9 | */ 10 | @Service 11 | public class UserService { 12 | 13 | @Autowired 14 | private UserMapper userMapper; 15 | 16 | 17 | } 18 | -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/java/com/example/demo/util/ServerInfoFormMap.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.util; 2 | 3 | public class ServerInfoFormMap extends FormMap { 4 | private static final long serialVersionUID = 1L; 5 | } -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/lib/libsigar-amd64-freebsd-6.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/lib/libsigar-amd64-freebsd-6.so -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/lib/libsigar-amd64-linux.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/lib/libsigar-amd64-linux.so -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/lib/libsigar-amd64-solaris.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/lib/libsigar-amd64-solaris.so -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/lib/libsigar-ia64-hpux-11.sl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/lib/libsigar-ia64-hpux-11.sl -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/lib/libsigar-ia64-linux.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/lib/libsigar-ia64-linux.so -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/lib/libsigar-pa-hpux-11.sl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/lib/libsigar-pa-hpux-11.sl -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/lib/libsigar-ppc-aix-5.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/lib/libsigar-ppc-aix-5.so -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/lib/libsigar-ppc-linux.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/lib/libsigar-ppc-linux.so -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/lib/libsigar-ppc64-aix-5.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/lib/libsigar-ppc64-aix-5.so -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/lib/libsigar-ppc64-linux.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/lib/libsigar-ppc64-linux.so -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/lib/libsigar-s390x-linux.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/lib/libsigar-s390x-linux.so -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/lib/libsigar-sparc-solaris.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/lib/libsigar-sparc-solaris.so -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/lib/libsigar-sparc64-solaris.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/lib/libsigar-sparc64-solaris.so -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/lib/libsigar-universal-macosx.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/lib/libsigar-universal-macosx.dylib -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/lib/libsigar-universal64-macosx.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/lib/libsigar-universal64-macosx.dylib -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/lib/libsigar-x86-freebsd-5.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/lib/libsigar-x86-freebsd-5.so -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/lib/libsigar-x86-freebsd-6.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/lib/libsigar-x86-freebsd-6.so -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/lib/libsigar-x86-linux.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/lib/libsigar-x86-linux.so -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/lib/libsigar-x86-solaris.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/lib/libsigar-x86-solaris.so -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/lib/sigar-amd64-winnt.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/lib/sigar-amd64-winnt.dll -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/lib/sigar-x86-winnt.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/lib/sigar-x86-winnt.dll -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/lib/sigar-x86-winnt.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/lib/sigar-x86-winnt.lib -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/lin/images/accordion_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/lin/images/accordion_arrows.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/lin/images/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/lin/images/blank.gif -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/lin/images/calendar_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/lin/images/calendar_arrows.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/lin/images/combo_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/lin/images/combo_arrow.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/lin/images/datagrid_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/lin/images/datagrid_icons.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/lin/images/datebox_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/lin/images/datebox_arrow.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/lin/images/layout_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/lin/images/layout_arrows.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/lin/images/linkbutton_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/lin/images/linkbutton_bg.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/lin/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/lin/images/loading.gif -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/lin/images/menu_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/lin/images/menu_arrows.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/lin/images/messager_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/lin/images/messager_icons.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/lin/images/pagination_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/lin/images/pagination_icons.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/lin/images/panel_tools.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/lin/images/panel_tools.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/lin/images/passwordbox_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/lin/images/passwordbox_close.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/lin/images/passwordbox_open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/lin/images/passwordbox_open.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/lin/images/searchbox_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/lin/images/searchbox_button.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/lin/images/slider_handle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/lin/images/slider_handle.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/lin/images/spinner_arrows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/lin/images/spinner_arrows.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/lin/images/tabs_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/lin/images/tabs_icons.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/lin/images/tagbox_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/lin/images/tagbox_icons.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/lin/images/tree_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/lin/images/tree_icons.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/lin/images/validatebox_warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/lin/images/validatebox_warning.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/patterns/header-profile-skin-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/patterns/header-profile-skin-1.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/patterns/header-profile-skin-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/patterns/header-profile-skin-3.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/patterns/header-profile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/patterns/header-profile.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/patterns/shattered.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/patterns/shattered.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/plugins/blueimp/img/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/plugins/blueimp/img/error.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/plugins/blueimp/img/error.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/plugins/blueimp/img/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/plugins/blueimp/img/loading.gif -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/plugins/blueimp/img/play-pause.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/plugins/blueimp/img/play-pause.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/plugins/blueimp/img/play-pause.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/plugins/blueimp/img/video-play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/plugins/blueimp/img/video-play.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/plugins/blueimp/img/video-play.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/plugins/chosen/chosen-sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/plugins/chosen/chosen-sprite.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/plugins/chosen/chosen-sprite@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/plugins/chosen/chosen-sprite@2x.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/plugins/colorpicker/img/bootstrap-colorpicker/alpha-horizontal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/plugins/colorpicker/img/bootstrap-colorpicker/alpha-horizontal.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/plugins/colorpicker/img/bootstrap-colorpicker/alpha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/plugins/colorpicker/img/bootstrap-colorpicker/alpha.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/plugins/colorpicker/img/bootstrap-colorpicker/hue-horizontal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/plugins/colorpicker/img/bootstrap-colorpicker/hue-horizontal.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/plugins/colorpicker/img/bootstrap-colorpicker/hue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/plugins/colorpicker/img/bootstrap-colorpicker/hue.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/plugins/colorpicker/img/bootstrap-colorpicker/saturation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/plugins/colorpicker/img/bootstrap-colorpicker/saturation.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/plugins/footable/fonts/footable.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/plugins/footable/fonts/footable.eot -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/plugins/footable/fonts/footable.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/plugins/footable/fonts/footable.ttf -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/plugins/footable/fonts/footable.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/plugins/footable/fonts/footable.woff -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/plugins/iCheck/green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/plugins/iCheck/green.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/plugins/iCheck/green@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/plugins/iCheck/green@2x.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/plugins/images/sort_asc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/plugins/images/sort_asc.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/plugins/images/sort_desc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/plugins/images/sort_desc.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/plugins/images/sprite-skin-flat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/plugins/images/sprite-skin-flat.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/plugins/images/spritemap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/plugins/images/spritemap.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/plugins/images/spritemap@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/plugins/images/spritemap@2x.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/plugins/jQueryUI/images/ui-bg_flat_0_aaaaaa_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/plugins/jQueryUI/images/ui-bg_flat_0_aaaaaa_40x100.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/plugins/jQueryUI/images/ui-bg_flat_75_ffffff_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/plugins/jQueryUI/images/ui-bg_flat_75_ffffff_40x100.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/plugins/jQueryUI/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/plugins/jQueryUI/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/plugins/jQueryUI/images/ui-icons_454545_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/plugins/jQueryUI/images/ui-icons_454545_256x240.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/plugins/jQueryUI/images/ui-icons_888888_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/plugins/jQueryUI/images/ui-icons_888888_256x240.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/plugins/jsTree/32px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/plugins/jsTree/32px.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/plugins/jsTree/throbber.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/css/plugins/jsTree/throbber.gif -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/css/plugins/morris/morris-0.4.3.min.css: -------------------------------------------------------------------------------- 1 | .morris-hover{position:absolute;z-index:1000;}.morris-hover.morris-default-style{border-radius:10px;padding:6px;color:#666;background:rgba(255, 255, 255, 0.8);border:solid 2px rgba(230, 230, 230, 0.8);font-family:sans-serif;font-size:12px;text-align:center;}.morris-hover.morris-default-style .morris-hover-row-label{font-weight:bold;margin:0.25em 0;} 2 | .morris-hover.morris-default-style .morris-hover-point{white-space:nowrap;margin:0.1em 0;} 3 | -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/img/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/img/bg.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/img/boy.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/img/boy.jpg -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/img/boy1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/img/boy1.jpg -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/img/girl.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/img/girl.jpg -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/img/girl1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/img/girl1.jpg -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/img/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/img/icons.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/img/loading-upload.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/img/loading-upload.gif -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/img/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/img/loading.gif -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/img/locked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/img/locked.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/img/login-background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/img/login-background.jpg -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/img/progress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/img/progress.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/img/sprite-skin-flat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/img/sprite-skin-flat.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/img/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/img/success.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/img/systemavatar.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/img/systemavatar.jpg -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/img/ui-icons_444444_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/img/ui-icons_444444_256x240.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/img/ui-icons_555555_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/img/ui-icons_555555_256x240.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/img/ui-icons_777620_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/img/ui-icons_777620_256x240.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/img/ui-icons_777777_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/img/ui-icons_777777_256x240.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/img/ui-icons_cc0000_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/img/ui-icons_cc0000_256x240.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/img/ui-icons_ffffff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/img/ui-icons_ffffff_256x240.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/img/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/img/user.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/js/lin/error.js: -------------------------------------------------------------------------------- 1 | $(function(){ 2 | tologin(10); 3 | }); 4 | 5 | function tologin(sec){ 6 | if(sec<=0){ 7 | window.location = "/login2"; 8 | return; 9 | } 10 | $("#second").text(sec + "秒后"); 11 | sec = sec - 1; 12 | setTimeout(function(){tologin(sec)},1000); 13 | 14 | } 15 | -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/js/plugins/codemirror/mode/tiddlywiki/tiddlywiki.css: -------------------------------------------------------------------------------- 1 | span.cm-underlined { 2 | text-decoration: underline; 3 | } 4 | span.cm-strikethrough { 5 | text-decoration: line-through; 6 | } 7 | span.cm-brace { 8 | color: #170; 9 | font-weight: bold; 10 | } 11 | span.cm-table { 12 | color: blue; 13 | font-weight: bold; 14 | } 15 | -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/js/plugins/fancybox/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/js/plugins/fancybox/blank.gif -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/js/plugins/fancybox/fancybox_loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/js/plugins/fancybox/fancybox_loading.gif -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/js/plugins/fancybox/fancybox_loading@2x.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/js/plugins/fancybox/fancybox_loading@2x.gif -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/js/plugins/fancybox/fancybox_overlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/js/plugins/fancybox/fancybox_overlay.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/js/plugins/fancybox/fancybox_sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/js/plugins/fancybox/fancybox_sprite.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/js/plugins/fancybox/fancybox_sprite@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/js/plugins/fancybox/fancybox_sprite@2x.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/js/plugins/gritter/images/gritter-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/js/plugins/gritter/images/gritter-light.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/js/plugins/gritter/images/gritter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/js/plugins/gritter/images/gritter.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/js/plugins/gritter/images/ie-spacer.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/js/plugins/gritter/images/ie-spacer.gif -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/laydate/skins/default/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/laydate/skins/default/icon.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/laydate1/theme/default/font/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/laydate1/theme/default/font/iconfont.eot -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/laydate1/theme/default/font/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/laydate1/theme/default/font/iconfont.ttf -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/laydate1/theme/default/font/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/laydate1/theme/default/font/iconfont.woff -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/layim/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/layim/loading.gif -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/skin/default/icon-ext.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/skin/default/icon-ext.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/skin/default/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/skin/default/icon.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/skin/default/icon_ext.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/skin/default/icon_ext.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/skin/default/loading-0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/skin/default/loading-0.gif -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/skin/default/loading-1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/skin/default/loading-1.gif -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/skin/default/loading-2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/skin/default/loading-2.gif -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/skin/default/textbg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/skin/default/textbg.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/skin/default/xubox_ico0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/skin/default/xubox_ico0.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/skin/default/xubox_loading0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/skin/default/xubox_loading0.gif -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/skin/default/xubox_loading1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/skin/default/xubox_loading1.gif -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/skin/default/xubox_loading2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/skin/default/xubox_loading2.gif -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/skin/default/xubox_loading3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/skin/default/xubox_loading3.gif -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/skin/default/xubox_title0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/skin/default/xubox_title0.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/skin/moon/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/js/plugins/layer/skin/moon/default.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/js/plugins/webuploader/Uploader.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/js/plugins/webuploader/Uploader.swf -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/awesomeStyle/img/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/awesomeStyle/img/loading.gif -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/metroStyle/img/line_conn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/metroStyle/img/line_conn.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/metroStyle/img/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/metroStyle/img/loading.gif -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/metroStyle/img/metro.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/metroStyle/img/metro.gif -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/metroStyle/img/metro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/metroStyle/img/metro.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/zTreeStyle/img/diy/1_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/zTreeStyle/img/diy/1_close.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/zTreeStyle/img/diy/1_open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/zTreeStyle/img/diy/1_open.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/zTreeStyle/img/diy/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/zTreeStyle/img/diy/2.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/zTreeStyle/img/diy/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/zTreeStyle/img/diy/3.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/zTreeStyle/img/diy/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/zTreeStyle/img/diy/4.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/zTreeStyle/img/diy/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/zTreeStyle/img/diy/5.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/zTreeStyle/img/diy/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/zTreeStyle/img/diy/6.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/zTreeStyle/img/diy/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/zTreeStyle/img/diy/7.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/zTreeStyle/img/diy/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/zTreeStyle/img/diy/8.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/zTreeStyle/img/diy/9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/zTreeStyle/img/diy/9.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/zTreeStyle/img/line_conn.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/zTreeStyle/img/line_conn.gif -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/zTreeStyle/img/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/zTreeStyle/img/loading.gif -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/zTreeStyle/img/zTreeStandard.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/zTreeStyle/img/zTreeStandard.gif -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/zTreeStyle/img/zTreeStandard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-annotation/src/main/resources/static/plugins/ztree/css/zTreeStyle/img/zTreeStandard.png -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/templates/example.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Title 6 | 7 | 8 |

列表名称

9 |
    10 |
  • 条目
  • 11 |
12 | 13 | -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/templates/exception.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Title 6 | 7 | 8 |
9 | 10 | -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/templates/welcome.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Home 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |

Welcome

15 | 16 | 17 | -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/templates/withoutParam.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Title 6 | 7 | 8 |
9 | 10 | -------------------------------------------------------------------------------- /springboot-mybatis-annotation/src/main/resources/templates/zero.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Title 6 | 7 | 8 | 除数不能为零 9 | 10 | -------------------------------------------------------------------------------- /springboot-mybatis-multidatasource/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | 12 | ### IntelliJ IDEA ### 13 | .idea 14 | *.iws 15 | *.iml 16 | *.ipr 17 | 18 | ### NetBeans ### 19 | nbproject/private/ 20 | build/ 21 | nbbuild/ 22 | dist/ 23 | nbdist/ 24 | .nb-gradle/ -------------------------------------------------------------------------------- /springboot-mybatis-multidatasource/src/main/java/com/example/demo/SpringbootMybatisMultidatasourceApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootMybatisMultidatasourceApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringbootMybatisMultidatasourceApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /springboot-mybatis-multidatasource/src/main/java/com/example/demo/enums/UserSexEnum.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.enums; 2 | 3 | public enum UserSexEnum { 4 | MAN, WOMAN 5 | } 6 | -------------------------------------------------------------------------------- /springboot-mybatis-multidatasource/src/main/java/com/example/demo/mapper/test1/User1Mapper.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.mapper.test1; 2 | 3 | 4 | import com.example.demo.entity.UserEntity; 5 | 6 | import java.util.List; 7 | 8 | public interface User1Mapper { 9 | 10 | List getAll(); 11 | 12 | UserEntity getOne(Long id); 13 | 14 | void insert(UserEntity user); 15 | 16 | void update(UserEntity user); 17 | 18 | void delete(Long id); 19 | 20 | } -------------------------------------------------------------------------------- /springboot-mybatis-multidatasource/src/main/java/com/example/demo/mapper/test2/User2Mapper.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.mapper.test2; 2 | 3 | import com.example.demo.entity.UserEntity; 4 | 5 | import java.util.List; 6 | 7 | 8 | public interface User2Mapper { 9 | 10 | List getAll(); 11 | 12 | UserEntity getOne(Long id); 13 | 14 | void insert(UserEntity user); 15 | 16 | void update(UserEntity user); 17 | 18 | void delete(Long id); 19 | 20 | } -------------------------------------------------------------------------------- /springboot-mybatis-multidatasource/src/test/java/com/example/demo/SpringbootMybatisMultidatasourceApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootMybatisMultidatasourceApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot-mybatis-xml/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | 12 | ### IntelliJ IDEA ### 13 | .idea 14 | *.iws 15 | *.iml 16 | *.ipr 17 | 18 | ### NetBeans ### 19 | nbproject/private/ 20 | build/ 21 | nbbuild/ 22 | dist/ 23 | nbdist/ 24 | .nb-gradle/ -------------------------------------------------------------------------------- /springboot-mybatis-xml/src/main/java/com/example/demo/SpringbootMybatisXmlApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.mybatis.spring.annotation.MapperScan; 4 | import org.springframework.boot.SpringApplication; 5 | import org.springframework.boot.autoconfigure.SpringBootApplication; 6 | 7 | @SpringBootApplication 8 | @MapperScan("com.example.demo.mapper") 9 | public class SpringbootMybatisXmlApplication { 10 | 11 | public static void main(String[] args) { 12 | SpringApplication.run(SpringbootMybatisXmlApplication.class, args); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /springboot-mybatis-xml/src/main/java/com/example/demo/enums/UserSexEnum.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.enums; 2 | 3 | public enum UserSexEnum { 4 | MAN, WOMAN 5 | } 6 | -------------------------------------------------------------------------------- /springboot-mybatis-xml/src/main/java/com/example/demo/mapper/UserMapper.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.mapper; 2 | 3 | import com.example.demo.entity.UserEntity; 4 | 5 | import java.util.List; 6 | 7 | 8 | public interface UserMapper { 9 | 10 | List getAll(); 11 | 12 | UserEntity getOne(Long id); 13 | 14 | void insert(UserEntity user); 15 | 16 | void update(UserEntity user); 17 | 18 | void delete(Long id); 19 | 20 | } -------------------------------------------------------------------------------- /springboot-mybatis-xml/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | mybatis.config-locations=classpath:mybatis/mybatis-config.xml 2 | mybatis.mapper-locations=classpath:mybatis/mapper/*.xml 3 | mybatis.type-aliases-package=com.example.demo.entity 4 | 5 | spring.datasource.driverClassName = com.mysql.jdbc.Driver 6 | spring.datasource.url = jdbc:mysql://localhost:3306/mail?useUnicode=true&characterEncoding=utf-8 7 | spring.datasource.username = root 8 | spring.datasource.password = 123456 9 | 10 | server.context-path=/bible 11 | server.port=8080 12 | -------------------------------------------------------------------------------- /springboot-mybatis-xml/src/main/resources/static/assets/bootstrap/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-xml/src/main/resources/static/assets/bootstrap/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /springboot-mybatis-xml/src/main/resources/static/assets/bootstrap/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-xml/src/main/resources/static/assets/bootstrap/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /springboot-mybatis-xml/src/main/resources/static/assets/bootstrap/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-xml/src/main/resources/static/assets/bootstrap/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /springboot-mybatis-xml/src/main/resources/static/assets/bootstrap/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-xml/src/main/resources/static/assets/bootstrap/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /springboot-mybatis-xml/src/main/resources/static/assets/font-awesome/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-xml/src/main/resources/static/assets/font-awesome/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /springboot-mybatis-xml/src/main/resources/static/assets/font-awesome/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-xml/src/main/resources/static/assets/font-awesome/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /springboot-mybatis-xml/src/main/resources/static/assets/font-awesome/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-xml/src/main/resources/static/assets/font-awesome/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /springboot-mybatis-xml/src/main/resources/static/assets/font-awesome/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-xml/src/main/resources/static/assets/font-awesome/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /springboot-mybatis-xml/src/main/resources/static/assets/font-awesome/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-xml/src/main/resources/static/assets/font-awesome/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /springboot-mybatis-xml/src/main/resources/static/assets/font-awesome/less/bordered-pulled.less: -------------------------------------------------------------------------------- 1 | // Bordered & Pulled 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-border { 5 | padding: .2em .25em .15em; 6 | border: solid .08em @fa-border-color; 7 | border-radius: .1em; 8 | } 9 | 10 | .pull-right { float: right; } 11 | .pull-left { float: left; } 12 | 13 | .@{fa-css-prefix} { 14 | &.pull-left { margin-right: .3em; } 15 | &.pull-right { margin-left: .3em; } 16 | } 17 | -------------------------------------------------------------------------------- /springboot-mybatis-xml/src/main/resources/static/assets/font-awesome/less/fixed-width.less: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .@{fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /springboot-mybatis-xml/src/main/resources/static/assets/font-awesome/less/larger.less: -------------------------------------------------------------------------------- 1 | // Icon Sizes 2 | // ------------------------- 3 | 4 | /* makes the font 33% larger relative to the icon container */ 5 | .@{fa-css-prefix}-lg { 6 | font-size: (4em / 3); 7 | line-height: (3em / 4); 8 | vertical-align: -15%; 9 | } 10 | .@{fa-css-prefix}-2x { font-size: 2em; } 11 | .@{fa-css-prefix}-3x { font-size: 3em; } 12 | .@{fa-css-prefix}-4x { font-size: 4em; } 13 | .@{fa-css-prefix}-5x { font-size: 5em; } 14 | -------------------------------------------------------------------------------- /springboot-mybatis-xml/src/main/resources/static/assets/font-awesome/less/list.less: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: @fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .@{fa-css-prefix}-li { 11 | position: absolute; 12 | left: -@fa-li-width; 13 | width: @fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.@{fa-css-prefix}-lg { 17 | left: (-@fa-li-width + (4em / 14)); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /springboot-mybatis-xml/src/main/resources/static/assets/font-awesome/scss/_bordered-pulled.scss: -------------------------------------------------------------------------------- 1 | // Bordered & Pulled 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-border { 5 | padding: .2em .25em .15em; 6 | border: solid .08em $fa-border-color; 7 | border-radius: .1em; 8 | } 9 | 10 | .pull-right { float: right; } 11 | .pull-left { float: left; } 12 | 13 | .#{$fa-css-prefix} { 14 | &.pull-left { margin-right: .3em; } 15 | &.pull-right { margin-left: .3em; } 16 | } 17 | -------------------------------------------------------------------------------- /springboot-mybatis-xml/src/main/resources/static/assets/font-awesome/scss/_fixed-width.scss: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .#{$fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /springboot-mybatis-xml/src/main/resources/static/assets/font-awesome/scss/_larger.scss: -------------------------------------------------------------------------------- 1 | // Icon Sizes 2 | // ------------------------- 3 | 4 | /* makes the font 33% larger relative to the icon container */ 5 | .#{$fa-css-prefix}-lg { 6 | font-size: (4em / 3); 7 | line-height: (3em / 4); 8 | vertical-align: -15%; 9 | } 10 | .#{$fa-css-prefix}-2x { font-size: 2em; } 11 | .#{$fa-css-prefix}-3x { font-size: 3em; } 12 | .#{$fa-css-prefix}-4x { font-size: 4em; } 13 | .#{$fa-css-prefix}-5x { font-size: 5em; } 14 | -------------------------------------------------------------------------------- /springboot-mybatis-xml/src/main/resources/static/assets/font-awesome/scss/_list.scss: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: $fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .#{$fa-css-prefix}-li { 11 | position: absolute; 12 | left: -$fa-li-width; 13 | width: $fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.#{$fa-css-prefix}-lg { 17 | left: -$fa-li-width + (4em / 14); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /springboot-mybatis-xml/src/main/resources/static/assets/font-awesome/scss/font-awesome.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.3.0 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */ 5 | 6 | @import "variables"; 7 | @import "mixins"; 8 | @import "path"; 9 | @import "core"; 10 | @import "larger"; 11 | @import "fixed-width"; 12 | @import "list"; 13 | @import "bordered-pulled"; 14 | @import "animated"; 15 | @import "rotated-flipped"; 16 | @import "stacked"; 17 | @import "icons"; 18 | -------------------------------------------------------------------------------- /springboot-mybatis-xml/src/main/resources/static/assets/ico/apple-touch-icon-114-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-xml/src/main/resources/static/assets/ico/apple-touch-icon-114-precomposed.png -------------------------------------------------------------------------------- /springboot-mybatis-xml/src/main/resources/static/assets/ico/apple-touch-icon-144-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-xml/src/main/resources/static/assets/ico/apple-touch-icon-144-precomposed.png -------------------------------------------------------------------------------- /springboot-mybatis-xml/src/main/resources/static/assets/ico/apple-touch-icon-57-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-xml/src/main/resources/static/assets/ico/apple-touch-icon-57-precomposed.png -------------------------------------------------------------------------------- /springboot-mybatis-xml/src/main/resources/static/assets/ico/apple-touch-icon-72-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-xml/src/main/resources/static/assets/ico/apple-touch-icon-72-precomposed.png -------------------------------------------------------------------------------- /springboot-mybatis-xml/src/main/resources/static/assets/ico/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-xml/src/main/resources/static/assets/ico/favicon.png -------------------------------------------------------------------------------- /springboot-mybatis-xml/src/main/resources/static/assets/img/backgrounds/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-xml/src/main/resources/static/assets/img/backgrounds/1.jpg -------------------------------------------------------------------------------- /springboot-mybatis-xml/src/main/resources/static/assets/img/backgrounds/1@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-mybatis-xml/src/main/resources/static/assets/img/backgrounds/1@2x.jpg -------------------------------------------------------------------------------- /springboot-mybatis-xml/src/main/resources/static/assets/js/placeholder.js: -------------------------------------------------------------------------------- 1 | 2 | $(document).ready(function(){ 3 | 4 | $(".form-username").val("Username..."); 5 | $(".form-password").val("Password..."); 6 | 7 | }); -------------------------------------------------------------------------------- /springboot-mybatis-xml/src/test/java/com/example/demo/SpringbootMybatisXmlApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootMybatisXmlApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot-rabbitmq/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | 12 | ### IntelliJ IDEA ### 13 | .idea 14 | *.iws 15 | *.iml 16 | *.ipr 17 | 18 | ### NetBeans ### 19 | nbproject/private/ 20 | build/ 21 | nbbuild/ 22 | dist/ 23 | nbdist/ 24 | .nb-gradle/ -------------------------------------------------------------------------------- /springboot-rabbitmq/src/main/java/com/example/demo/SpringbootRabbitmqApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootRabbitmqApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringbootRabbitmqApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /springboot-rabbitmq/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.rabbitmq.host=127.0.0.1 2 | #spring.rabbitmq.virtual-host=bawei 3 | spring.rabbitmq.port=5672 4 | spring.rabbitmq.username=guest 5 | spring.rabbitmq.password=guest -------------------------------------------------------------------------------- /springboot-rabbitmq/src/test/java/com/example/demo/SpringbootRabbitmqApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootRabbitmqApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot-redis/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | 12 | ### IntelliJ IDEA ### 13 | .idea 14 | *.iws 15 | *.iml 16 | *.ipr 17 | 18 | ### NetBeans ### 19 | nbproject/private/ 20 | build/ 21 | nbbuild/ 22 | dist/ 23 | nbdist/ 24 | .nb-gradle/ -------------------------------------------------------------------------------- /springboot-redis/src/main/java/com/example/demo/SessionConfig.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession; 5 | 6 | /** 7 | * Created by jiaozhiguang on 2017/9/22. 8 | * 9 | * maxInactiveIntervalInSeconds: 设置Session失效时间,使用Redis Session之后,原Boot的server.session.timeout属性不再生效 10 | */ 11 | @Configuration 12 | @EnableRedisHttpSession(maxInactiveIntervalInSeconds = 86400*30) 13 | public class SessionConfig { 14 | } 15 | -------------------------------------------------------------------------------- /springboot-redis/src/main/java/com/example/demo/entity/User.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.entity; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Data; 5 | 6 | import java.io.Serializable; 7 | 8 | /** 9 | * Created by jiaozhiguang on 2017/11/8. 10 | */ 11 | @Data 12 | @AllArgsConstructor 13 | public class User implements Serializable { 14 | 15 | private Long id; 16 | private String email; 17 | private String userName; 18 | } 19 | -------------------------------------------------------------------------------- /springboot-redis/src/main/java/com/example/demo/handwrite/JedisTest.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.handwrite; 2 | 3 | import redis.clients.jedis.Jedis; 4 | 5 | /** 6 | * Created by jiaozhiguang on 2017/11/24. 7 | */ 8 | public class JedisTest { 9 | 10 | public static void main(String[] args) { 11 | Jedis jedis = new Jedis("127.0.0.1", 6378); 12 | jedis.set("tony", "hello"); 13 | System.out.println(jedis.get("tony")); 14 | jedis.close(); 15 | 16 | } 17 | 18 | 19 | } 20 | -------------------------------------------------------------------------------- /springboot-redis/src/main/java/com/example/demo/limit/RateLimiter.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.limit; 2 | 3 | import java.lang.annotation.*; 4 | 5 | /** 6 | * @email wangiegie@gmail.com 7 | * @data 2017-08 8 | * 限流注解 9 | */ 10 | 11 | @Target(ElementType.METHOD) 12 | @Retention(RetentionPolicy.RUNTIME) 13 | @Documented 14 | public @interface RateLimiter { 15 | int limit() default 5; 16 | int timeout() default 1000; 17 | } -------------------------------------------------------------------------------- /springboot-redis/src/main/java/com/example/demo/redlock/AquiredLockWorker.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.redlock; 2 | 3 | /** 4 | * 获取锁后需要处理的逻辑 5 | * @param 6 | */ 7 | public interface AquiredLockWorker { 8 | T invokeAfterLockAquire() throws Exception; 9 | } -------------------------------------------------------------------------------- /springboot-redis/src/main/java/com/example/demo/redlock/UnableToAquireLockException.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.redlock; 2 | 3 | public class UnableToAquireLockException extends RuntimeException { 4 | 5 | public UnableToAquireLockException() { 6 | } 7 | 8 | public UnableToAquireLockException(String message) { 9 | super(message); 10 | } 11 | 12 | public UnableToAquireLockException(String message, Throwable cause) { 13 | super(message, cause); 14 | } 15 | } -------------------------------------------------------------------------------- /springboot-redis/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | spring: 2 | redis: 3 | host: localhost 4 | port: 6379 5 | database: 0 6 | server: 7 | port: 8080 8 | 9 | management: 10 | security: 11 | enabled: false 12 | endpoints: 13 | shutdown: 14 | enabled: true 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /springboot-redis/src/test/java/com/example/demo/JiaoRedisClientTest.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import com.example.demo.handwrite.JiaoReidsClient; 4 | import org.junit.Test; 5 | 6 | /** 7 | * Created by jiaozhiguang on 2017/12/20. 8 | */ 9 | public class JiaoRedisClientTest { 10 | 11 | @Test 12 | public void clientTest() throws Exception { 13 | JiaoReidsClient client = new JiaoReidsClient(); 14 | 15 | client.set("jiao", "hello"); 16 | 17 | System.out.println(client.get("jiao")); 18 | 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /springboot-redis/阿里云Redis开发规范.md: -------------------------------------------------------------------------------- 1 | https://mp.weixin.qq.com/s?__biz=MzIwMjE3MDIwMA==&mid=2247484583&idx=1&sn=fafbfbd454ac9e573a33ba0f61ab4677 2 | 3 | 4 | -------------------------------------------------------------------------------- /springboot-rocketmq/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | 12 | ### IntelliJ IDEA ### 13 | .idea 14 | *.iws 15 | *.iml 16 | *.ipr 17 | 18 | ### NetBeans ### 19 | nbproject/private/ 20 | build/ 21 | nbbuild/ 22 | dist/ 23 | nbdist/ 24 | .nb-gradle/ -------------------------------------------------------------------------------- /springboot-rocketmq/src/main/java/com/example/demo/SpringbootRocketmqApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootRocketmqApplication { 8 | 9 | public static void main(String[] args) throws Exception{ 10 | SpringApplication.run(SpringbootRocketmqApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /springboot-rocketmq/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-rocketmq/src/main/resources/application.properties -------------------------------------------------------------------------------- /springboot-rocketmq/src/test/java/com/example/demo/SpringbootRocketmqApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootRocketmqApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot-security-sso/README.md: -------------------------------------------------------------------------------- 1 | ### Relevant Articles: 2 | - [Simple Single Sign On with Spring Security OAuth2](http://www.baeldung.com/sso-spring-security-oauth2) 3 | -------------------------------------------------------------------------------- /springboot-security-sso/spring-security-sso-auth-server/src/main/java/org/baeldung/config/UserController.java: -------------------------------------------------------------------------------- 1 | package org.baeldung.config; 2 | 3 | import org.springframework.web.bind.annotation.RequestMapping; 4 | import org.springframework.web.bind.annotation.RestController; 5 | 6 | import java.security.Principal; 7 | 8 | @RestController 9 | public class UserController { 10 | 11 | @RequestMapping("/user/me") 12 | public Principal user(Principal principal) { 13 | System.out.println(principal); 14 | return principal; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /springboot-security-sso/spring-security-sso-auth-server/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port=8081 2 | server.context-path=/auth 3 | security.basic.enabled=false 4 | #logging.level.org.springframework=DEBUG -------------------------------------------------------------------------------- /springboot-security-sso/spring-security-sso-ui/src/main/resources/templates/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Spring Security SSO 6 | 8 | 9 | 10 | 11 |
12 |
13 |

Spring Security SSO

14 | Login 15 |
16 |
17 | 18 | -------------------------------------------------------------------------------- /springboot-security/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | 12 | ### IntelliJ IDEA ### 13 | .idea 14 | *.iws 15 | *.iml 16 | *.ipr 17 | 18 | ### NetBeans ### 19 | nbproject/private/ 20 | build/ 21 | nbbuild/ 22 | dist/ 23 | nbdist/ 24 | .nb-gradle/ -------------------------------------------------------------------------------- /springboot-security/src/main/java/com/example/demo/SpringbootSecurityApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootSecurityApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringbootSecurityApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /springboot-security/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-security/src/main/resources/application.properties -------------------------------------------------------------------------------- /springboot-security/src/main/resources/templates/hello.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | Hello World! 6 | 7 | 8 |

Hello [[${#httpServletRequest.remoteUser}]]!

9 |
10 | 11 |
12 | 13 | -------------------------------------------------------------------------------- /springboot-security/src/main/resources/templates/home.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Spring Security Example 5 | 6 | 7 |

Welcome!

8 |

Click here to see a greeting.

9 | 10 | -------------------------------------------------------------------------------- /springboot-security/src/test/java/com/example/demo/SpringbootSecurityApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootSecurityApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot-shiro/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | 12 | ### IntelliJ IDEA ### 13 | .idea 14 | *.iws 15 | *.iml 16 | *.ipr 17 | 18 | ### NetBeans ### 19 | nbproject/private/ 20 | build/ 21 | nbbuild/ 22 | dist/ 23 | nbdist/ 24 | .nb-gradle/ -------------------------------------------------------------------------------- /springboot-shiro/README.md: -------------------------------------------------------------------------------- 1 | http://blog.csdn.net/u014695188/article/details/52347372 2 | 3 | 集成shiro步骤: 4 | 5 | (a) pom.xml中添加Shiro依赖; 6 | 7 | (b) 注入Shiro Factory和SecurityManager。 8 | 9 | (c) 身份认证 10 | 11 | (d) 权限控制 12 | 13 | 14 | anon:所有url都都可以匿名访问; 15 | authc: 需要认证才能进行访问; 16 | user:配置记住我或认证通过可以访问; -------------------------------------------------------------------------------- /springboot-shiro/src/main/java/com/example/demo/SpringbootShiroApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.boot.web.servlet.ServletComponentScan; 6 | 7 | @ServletComponentScan 8 | @SpringBootApplication 9 | public class SpringbootShiroApplication { 10 | 11 | public static void main(String[] args) { 12 | SpringApplication.run(SpringbootShiroApplication.class, args); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /springboot-shiro/src/main/java/com/example/demo/repository/UserInfoRepository.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.repository; 2 | 3 | import com.example.demo.domain.UserInfo; 4 | import org.springframework.data.repository.CrudRepository; 5 | 6 | public interface UserInfoRepository extends CrudRepository { 7 | /** 通过username查找用户信息 **/ 8 | public UserInfo findByUsername(String username); 9 | 10 | } -------------------------------------------------------------------------------- /springboot-shiro/src/main/resources/templates/userInfo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Insert title here 6 | 7 | 8 |

用户查询界面

9 | userList 10 | 11 | -------------------------------------------------------------------------------- /springboot-shiro/src/main/resources/templates/userInfoAdd.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Insert title here 6 | 7 | 8 |

用户添加界面

9 | 10 | -------------------------------------------------------------------------------- /springboot-shiro/src/test/java/com/example/demo/SpringbootShiroApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootShiroApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot-swagger/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | 12 | ### IntelliJ IDEA ### 13 | .idea 14 | *.iws 15 | *.iml 16 | *.ipr 17 | 18 | ### NetBeans ### 19 | nbproject/private/ 20 | build/ 21 | nbbuild/ 22 | dist/ 23 | nbdist/ 24 | .nb-gradle/ -------------------------------------------------------------------------------- /springboot-swagger/src/main/java/com/example/demo/entity/Book.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.entity; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Data; 5 | import lombok.NoArgsConstructor; 6 | 7 | /** 8 | * Created by jiaozhiguang on 2017/8/24. 9 | */ 10 | @Data 11 | @NoArgsConstructor 12 | @AllArgsConstructor 13 | public class Book { 14 | 15 | private long id; 16 | private String name; 17 | private double price; 18 | 19 | } 20 | -------------------------------------------------------------------------------- /springboot-swagger/src/main/java/com/example/demo/entity/User.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.entity; 2 | 3 | import org.hibernate.validator.constraints.NotEmpty; 4 | 5 | import javax.validation.constraints.Max; 6 | import javax.validation.constraints.Min; 7 | 8 | /** 9 | * Created by jiaozhiguang on 2018/1/12. 10 | */ 11 | public class User { 12 | 13 | @NotEmpty(message = "用户名不能为空") 14 | private String name; 15 | @Max(value = 100) 16 | @Min(value = 18, message = "年龄必须大于18岁") 17 | private int age; 18 | private String password; 19 | 20 | 21 | } 22 | -------------------------------------------------------------------------------- /springboot-swagger/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port=8081 2 | 3 | server.context-path=/swagger -------------------------------------------------------------------------------- /springboot-upload-file/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | 12 | ### IntelliJ IDEA ### 13 | .idea 14 | *.iws 15 | *.iml 16 | *.ipr 17 | 18 | ### NetBeans ### 19 | nbproject/private/ 20 | build/ 21 | nbbuild/ 22 | dist/ 23 | nbdist/ 24 | .nb-gradle/ -------------------------------------------------------------------------------- /springboot-upload-file/src/main/java/com/example/demo/Test.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import java.io.FileInputStream; 4 | 5 | /** 6 | * Created by jiaozhiguang on 2018/1/5. 7 | */ 8 | public class Test { 9 | 10 | public static void main(String[] args) throws Exception { 11 | FileInputStream fis = new FileInputStream("./springboot-upload-file/src/main/resources/param.txt"); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /springboot-upload-file/src/main/java/com/example/demo/storage/StorageException.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.storage; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/8/25. 5 | */ 6 | public class StorageException extends RuntimeException { 7 | 8 | public StorageException(String message) { 9 | super(message); 10 | } 11 | 12 | public StorageException(String message, Throwable cause) { 13 | super(message, cause); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /springboot-upload-file/src/main/java/com/example/demo/storage/StorageFileNotFoundException.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.storage; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/8/25. 5 | */ 6 | public class StorageFileNotFoundException extends StorageException { 7 | 8 | public StorageFileNotFoundException(String message) { 9 | super(message); 10 | } 11 | 12 | public StorageFileNotFoundException(String message, Throwable cause) { 13 | super(message, cause); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /springboot-upload-file/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | spring.http.multipart.max-file-size=128MB 2 | spring.http.multipart.max-request-size=128MB -------------------------------------------------------------------------------- /springboot-upload-file/src/test/java/com/example/demo/SpringbootUploadFileApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootUploadFileApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot-upload-yun-file/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | 12 | ### IntelliJ IDEA ### 13 | .idea 14 | *.iws 15 | *.iml 16 | *.ipr 17 | 18 | ### NetBeans ### 19 | nbproject/private/ 20 | build/ 21 | nbbuild/ 22 | dist/ 23 | nbdist/ 24 | .nb-gradle/ -------------------------------------------------------------------------------- /springboot-upload-yun-file/README.md: -------------------------------------------------------------------------------- 1 | JavaEE 文件上传技术 2 | XMLHttpRequest2新特性使用 3 | 进度计算 上传速度 剩余时间的算法 4 | 5 | setInterval() 方法可按照指定的周期(以毫秒计)来调用函数或计算表达式 6 | 7 | setInterval() 方法会不停地调用函数,直到 clearInterval() 被调用或窗口被关闭。 8 | 由 setInterval() 返回的 ID 值可用作 clearInterval() 方法的参数。 -------------------------------------------------------------------------------- /springboot-upload-yun-file/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-upload-yun-file/src/main/resources/application.properties -------------------------------------------------------------------------------- /springboot-upload-yun-file/src/test/java/com/example/demo/SpringbootUploadYunFileApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootUploadYunFileApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot-webrtc-websocket/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | 12 | ### IntelliJ IDEA ### 13 | .idea 14 | *.iws 15 | *.iml 16 | *.ipr 17 | 18 | ### NetBeans ### 19 | nbproject/private/ 20 | build/ 21 | nbbuild/ 22 | dist/ 23 | nbdist/ 24 | .nb-gradle/ -------------------------------------------------------------------------------- /springboot-webrtc-websocket/src/main/java/com/example/demo/Test.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | /** 4 | * Created by jiaozhiguang on 2017/11/8. 5 | */ 6 | public class Test { 7 | 8 | 9 | public static void main(String[] args) { 10 | 11 | new Thread(new Runnable() { 12 | @Override 13 | public void run() { 14 | System.out.println("old way"); 15 | } 16 | }).start(); 17 | 18 | new Thread(()->System.out.println("new way")).start(); 19 | 20 | 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /springboot-webrtc-websocket/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port=8082 -------------------------------------------------------------------------------- /springboot-webrtc-websocket/src/main/resources/static/img/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-webrtc-websocket/src/main/resources/static/img/1.jpg -------------------------------------------------------------------------------- /springboot-webrtc-websocket/src/main/resources/static/img/future.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-webrtc-websocket/src/main/resources/static/img/future.jpg -------------------------------------------------------------------------------- /springboot-webrtc-websocket/src/main/resources/static/img/person.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-webrtc-websocket/src/main/resources/static/img/person.png -------------------------------------------------------------------------------- /springboot-webrtc-websocket/src/main/resources/static/plugins/toastmessage/resources/images/close.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-webrtc-websocket/src/main/resources/static/plugins/toastmessage/resources/images/close.gif -------------------------------------------------------------------------------- /springboot-webrtc-websocket/src/main/resources/static/plugins/toastmessage/resources/images/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-webrtc-websocket/src/main/resources/static/plugins/toastmessage/resources/images/error.png -------------------------------------------------------------------------------- /springboot-webrtc-websocket/src/main/resources/static/plugins/toastmessage/resources/images/notice.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-webrtc-websocket/src/main/resources/static/plugins/toastmessage/resources/images/notice.png -------------------------------------------------------------------------------- /springboot-webrtc-websocket/src/main/resources/static/plugins/toastmessage/resources/images/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-webrtc-websocket/src/main/resources/static/plugins/toastmessage/resources/images/success.png -------------------------------------------------------------------------------- /springboot-webrtc-websocket/src/main/resources/static/plugins/toastmessage/resources/images/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-webrtc-websocket/src/main/resources/static/plugins/toastmessage/resources/images/warning.png -------------------------------------------------------------------------------- /springboot-webrtc-websocket/src/main/resources/templates/ball.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Title 6 | 15 | 16 | 17 | 18 |
19 | 20 |
21 | 22 | 23 | -------------------------------------------------------------------------------- /springboot-webrtc-websocket/src/main/resources/templates/chart.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Title 6 | 7 | 8 | aaaa 9 |
10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /springboot-webrtc-websocket/src/main/resources/templates/shoot.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Title 6 | 15 | 16 | 17 | 18 |
19 | 20 |
21 | 22 | 23 | -------------------------------------------------------------------------------- /springboot-websocket/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | 12 | ### IntelliJ IDEA ### 13 | .idea 14 | *.iws 15 | *.iml 16 | *.ipr 17 | 18 | ### NetBeans ### 19 | nbproject/private/ 20 | build/ 21 | nbbuild/ 22 | dist/ 23 | nbdist/ 24 | .nb-gradle/ -------------------------------------------------------------------------------- /springboot-websocket/src/main/java/com/example/demo/controller/HelloController.java: -------------------------------------------------------------------------------- 1 | package com.example.demo.controller; 2 | 3 | import org.springframework.web.bind.annotation.GetMapping; 4 | import org.springframework.web.bind.annotation.RestController; 5 | 6 | /** 7 | * Created by jiaozhiguang on 2017/12/26. 8 | */ 9 | @RestController 10 | public class HelloController { 11 | 12 | @GetMapping("/") 13 | public String hello() { 14 | return "Hello" + 9081; 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /springboot-websocket/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port=9081 -------------------------------------------------------------------------------- /springboot-websocket/src/test/java/com/example/demo/SpringbootWebsocketApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootWebsocketApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot-zookeeper/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/springboot-zookeeper/README.md -------------------------------------------------------------------------------- /springboot-zookeeper/creater/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | 12 | ### IntelliJ IDEA ### 13 | .idea 14 | *.iws 15 | *.iml 16 | *.ipr 17 | 18 | ### NetBeans ### 19 | nbproject/private/ 20 | build/ 21 | nbbuild/ 22 | dist/ 23 | nbdist/ 24 | .nb-gradle/ -------------------------------------------------------------------------------- /springboot-zookeeper/creater/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port=8089 -------------------------------------------------------------------------------- /springboot-zookeeper/creater/src/test/java/com/example/demo/CreaterApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class CreaterApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot-zookeeper/watcher/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | 12 | ### IntelliJ IDEA ### 13 | .idea 14 | *.iws 15 | *.iml 16 | *.ipr 17 | 18 | ### NetBeans ### 19 | nbproject/private/ 20 | build/ 21 | nbbuild/ 22 | dist/ 23 | nbdist/ 24 | .nb-gradle/ -------------------------------------------------------------------------------- /springboot-zookeeper/watcher/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port=8888 -------------------------------------------------------------------------------- /~$word.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jiaozg/spring-boot-all/88bbb08c118d278bcdbbe46e869585e27d4db3f3/~$word.docx --------------------------------------------------------------------------------