From 89d77488373c4f9ce2de59458e7352d7b550d105 Mon Sep 17 00:00:00 2001 From: Zhaoyang Date: Tue, 24 Mar 2020 12:06:34 +0800 Subject: [PATCH 01/11] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E4=B8=ADF&Q=E6=A0=8F=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- diboot-docs/.vuepress/config.js | 12 ++ diboot-docs/guide/faq/core.md | 2 + diboot-docs/guide/faq/devtools.md | 5 + diboot-docs/guide/faq/frontend.md | 0 diboot-docs/guide/faq/iam.md | 5 + diboot-docs/yarn.lock | 313 +----------------------------- 6 files changed, 30 insertions(+), 307 deletions(-) create mode 100644 diboot-docs/guide/faq/core.md create mode 100644 diboot-docs/guide/faq/devtools.md create mode 100644 diboot-docs/guide/faq/frontend.md create mode 100644 diboot-docs/guide/faq/iam.md diff --git a/diboot-docs/.vuepress/config.js b/diboot-docs/.vuepress/config.js index f6e4a48..e6f4846 100644 --- a/diboot-docs/.vuepress/config.js +++ b/diboot-docs/.vuepress/config.js @@ -93,6 +93,17 @@ module.exports = { ['/guide/diboot-devtools/代码生成与更新', '代码生成与更新'] ] } + ], + '/guide/faq/': [ + { + title: 'F&Q', + collapsable: true, + sidebarDepth: 2, + children: [ + ['/guide/faq/devtools', 'devtools开发助理'], + ['/guide/faq/iam', 'IAM 组件'] + ] + } ] }, nav: [{ @@ -100,6 +111,7 @@ module.exports = { }, { text: '基础组件 指南', items: [ + { text: 'F&Q', link: '/guide/faq/devtools' }, { text: 'core基础内核', link: '/guide/diboot-core/安装' }, { text: 'IAM身份认证', link: '/guide/diboot-iam/介绍' }, { text: 'File文件组件', link: '/guide/diboot-file/介绍' } diff --git a/diboot-docs/guide/faq/core.md b/diboot-docs/guide/faq/core.md new file mode 100644 index 0000000..9806643 --- /dev/null +++ b/diboot-docs/guide/faq/core.md @@ -0,0 +1,2 @@ +# diboot-core 及 diboot-core-spring-boot-starter 相关 + diff --git a/diboot-docs/guide/faq/devtools.md b/diboot-docs/guide/faq/devtools.md new file mode 100644 index 0000000..be4b6d2 --- /dev/null +++ b/diboot-docs/guide/faq/devtools.md @@ -0,0 +1,5 @@ +# diboot-devtools-spring-boot-starter相关 + +1. devtools最怕什么? + +答:项目路径中有中文。。。 \ No newline at end of file diff --git a/diboot-docs/guide/faq/frontend.md b/diboot-docs/guide/faq/frontend.md new file mode 100644 index 0000000..e69de29 diff --git a/diboot-docs/guide/faq/iam.md b/diboot-docs/guide/faq/iam.md new file mode 100644 index 0000000..b3db575 --- /dev/null +++ b/diboot-docs/guide/faq/iam.md @@ -0,0 +1,5 @@ +# diboot-iam-base-spring-boot-starter相关 + +1. 为什么我首次启动后,接口不能访问? + +答:您好,首次启动,devtools将为您的项目进行数据库初始化和生成基础代码等工作,这些都需要您在这些流程完成之后,重启应用方可生效。 \ No newline at end of file diff --git a/diboot-docs/yarn.lock b/diboot-docs/yarn.lock index 27b1ff6..c278629 100644 --- a/diboot-docs/yarn.lock +++ b/diboot-docs/yarn.lock @@ -2,11 +2,6 @@ # yarn lockfile v1 -abbrev@1: - version "1.1.1" - resolved "https://registry.npm.taobao.org/abbrev/download/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" - integrity sha1-+PLIh60Qv2f2NPAFtph/7TF5qsg= - ansi-colors@^1.0.1: version "1.1.0" resolved "https://registry.npm.taobao.org/ansi-colors/download/ansi-colors-1.1.0.tgz#6374b4dd5d4718ff3ce27a671a3b1cad077132a9" @@ -26,11 +21,6 @@ ansi-regex@^2.0.0: resolved "https://registry.npm.taobao.org/ansi-regex/download/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" integrity sha1-w7M6te42DYbg5ijwRorn7yfWVN8= -ansi-regex@^3.0.0: - version "3.0.0" - resolved "https://registry.npm.taobao.org/ansi-regex/download/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998" - integrity sha1-7QMXwyIGT3lGbAKWa922Bas32Zg= - ansi-wrap@0.1.0, ansi-wrap@^0.1.0: version "0.1.0" resolved "https://registry.npm.taobao.org/ansi-wrap/download/ansi-wrap-0.1.0.tgz#a82250ddb0015e9a27ca82e82ea603bbfa45efaf" @@ -51,24 +41,11 @@ append-buffer@^1.0.2: dependencies: buffer-equal "^1.0.0" -aproba@^1.0.3: - version "1.2.0" - resolved "https://registry.npm.taobao.org/aproba/download/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a" - integrity sha1-aALmJk79GMeQobDVF/DyYnvyyUo= - archy@^1.0.0: version "1.0.0" resolved "https://registry.npm.taobao.org/archy/download/archy-1.0.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Farchy%2Fdownload%2Farchy-1.0.0.tgz#f9c8c13757cc1dd7bc379ac77b2c62a5c2868c40" integrity sha1-+cjBN1fMHde8N5rHeyxipcKGjEA= -are-we-there-yet@~1.1.2: - version "1.1.5" - resolved "https://registry.npm.taobao.org/are-we-there-yet/download/are-we-there-yet-1.1.5.tgz#4b35c2944f062a8bfcda66410760350fe9ddfc21" - integrity sha1-SzXClE8GKov82mZBB2A1D+nd/CE= - dependencies: - delegates "^1.0.0" - readable-stream "^2.0.6" - arr-diff@^4.0.0: version "4.0.0" resolved "https://registry.npm.taobao.org/arr-diff/download/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520" @@ -287,11 +264,6 @@ chokidar@^2.0.0: optionalDependencies: fsevents "^1.2.7" -chownr@^1.1.1: - version "1.1.4" - resolved "https://registry.npm.taobao.org/chownr/download/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b" - integrity sha1-b8nXtC0ypYNZYzdmbn0ICE2izGs= - class-utils@^0.3.5: version "0.3.6" resolved "https://registry.npm.taobao.org/class-utils/download/class-utils-0.3.6.tgz#f93369ae8b9a7ce02fd41faad0ca83033190c463" @@ -382,11 +354,6 @@ concat-stream@^1.6.0: readable-stream "^2.2.2" typedarray "^0.0.6" -console-control-strings@^1.0.0, console-control-strings@~1.1.0: - version "1.1.0" - resolved "https://registry.npm.taobao.org/console-control-strings/download/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" - integrity sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4= - convert-source-map@^1.5.0: version "1.7.0" resolved "https://registry.npm.taobao.org/convert-source-map/download/convert-source-map-1.7.0.tgz?cache=0&sync_timestamp=1573003862096&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fconvert-source-map%2Fdownload%2Fconvert-source-map-1.7.0.tgz#17a2cb882d7f77d3490585e2ce6c524424a3a442" @@ -427,13 +394,6 @@ debug@^2.2.0, debug@^2.3.3: dependencies: ms "2.0.0" -debug@^3.2.6: - version "3.2.6" - resolved "https://registry.npm.taobao.org/debug/download/debug-3.2.6.tgz#e83d17de16d8a7efb7717edbe5fb10135eee629b" - integrity sha1-6D0X3hbYp++3cX7b5fsQE17uYps= - dependencies: - ms "^2.1.1" - decamelize@^1.1.1: version "1.2.0" resolved "https://registry.npm.taobao.org/decamelize/download/decamelize-1.2.0.tgz?cache=0&sync_timestamp=1580010393599&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fdecamelize%2Fdownload%2Fdecamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" @@ -444,11 +404,6 @@ decode-uri-component@^0.2.0: resolved "https://registry.npm.taobao.org/decode-uri-component/download/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" integrity sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU= -deep-extend@^0.6.0: - version "0.6.0" - resolved "https://registry.npm.taobao.org/deep-extend/download/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" - integrity sha1-xPp8lUBKF6nD6Mp+FTcxK3NjMKw= - default-compare@^1.0.0: version "1.0.0" resolved "https://registry.npm.taobao.org/default-compare/download/default-compare-1.0.0.tgz#cb61131844ad84d84788fb68fd01681ca7781a2f" @@ -490,21 +445,11 @@ define-property@^2.0.2: is-descriptor "^1.0.2" isobject "^3.0.1" -delegates@^1.0.0: - version "1.0.0" - resolved "https://registry.npm.taobao.org/delegates/download/delegates-1.0.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fdelegates%2Fdownload%2Fdelegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" - integrity sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o= - detect-file@^1.0.0: version "1.0.0" resolved "https://registry.npm.taobao.org/detect-file/download/detect-file-1.0.0.tgz#f0d66d03672a825cb1b73bdb3fe62310c8e552b7" integrity sha1-8NZtA2cqglyxtzvbP+YjEMjlUrc= -detect-libc@^1.0.2: - version "1.0.3" - resolved "https://registry.npm.taobao.org/detect-libc/download/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b" - integrity sha1-+hN8S9aY7fVc1c0CrFWfkaTEups= - duplexify@^3.6.0: version "3.7.1" resolved "https://registry.npm.taobao.org/duplexify/download/duplexify-3.7.1.tgz#2a4df5317f6ccfd91f86d6fd25d8d8a103b88309" @@ -730,13 +675,6 @@ fragment-cache@^0.2.1: dependencies: map-cache "^0.2.2" -fs-minipass@^1.2.5: - version "1.2.7" - resolved "https://registry.npm.taobao.org/fs-minipass/download/fs-minipass-1.2.7.tgz?cache=0&sync_timestamp=1579628689954&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ffs-minipass%2Fdownload%2Ffs-minipass-1.2.7.tgz#ccff8570841e7fe4265693da88936c55aed7f7c7" - integrity sha1-zP+FcIQef+QmVpPaiJNsVa7X98c= - dependencies: - minipass "^2.6.0" - fs-mkdirp-stream@^1.0.0: version "1.0.0" resolved "https://registry.npm.taobao.org/fs-mkdirp-stream/download/fs-mkdirp-stream-1.0.0.tgz#0b7815fc3201c6a69e14db98ce098c16935259eb" @@ -763,20 +701,6 @@ function-bind@^1.1.1: resolved "https://registry.npm.taobao.org/function-bind/download/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" integrity sha1-pWiZ0+o8m6uHS7l3O3xe3pL0iV0= -gauge@~2.7.3: - version "2.7.4" - resolved "https://registry.npm.taobao.org/gauge/download/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7" - integrity sha1-LANAXHU4w51+s3sxcCLjJfsBi/c= - dependencies: - aproba "^1.0.3" - console-control-strings "^1.0.0" - has-unicode "^2.0.0" - object-assign "^4.1.0" - signal-exit "^3.0.0" - string-width "^1.0.1" - strip-ansi "^3.0.1" - wide-align "^1.1.0" - get-caller-file@^1.0.1: version "1.0.3" resolved "https://registry.npm.taobao.org/get-caller-file/download/get-caller-file-1.0.3.tgz#f978fa4c90d1dfe7ff2d6beda2a515e713bdcf4a" @@ -823,7 +747,7 @@ glob-watcher@^5.0.3: just-debounce "^1.0.0" object.defaults "^1.1.0" -glob@^7.1.1, glob@^7.1.3: +glob@^7.1.1: version "7.1.6" resolved "https://registry.npm.taobao.org/glob/download/glob-7.1.6.tgz?cache=0&sync_timestamp=1573078079496&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fglob%2Fdownload%2Fglob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" integrity sha1-FB8zuBp8JJLhJVlDB0gMRmeSeKY= @@ -920,11 +844,6 @@ has-symbols@^1.0.0: resolved "https://registry.npm.taobao.org/has-symbols/download/has-symbols-1.0.1.tgz?cache=0&sync_timestamp=1573950719586&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fhas-symbols%2Fdownload%2Fhas-symbols-1.0.1.tgz#9f5214758a44196c406d9bd76cebf81ec2dd31e8" integrity sha1-n1IUdYpEGWxAbZvXbOv4HsLdMeg= -has-unicode@^2.0.0: - version "2.0.1" - resolved "https://registry.npm.taobao.org/has-unicode/download/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" - integrity sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk= - has-value@^0.3.1: version "0.3.1" resolved "https://registry.npm.taobao.org/has-value/download/has-value-0.3.1.tgz#7b1f58bada62ca827ec0a2078025654845995e1f" @@ -968,20 +887,6 @@ hosted-git-info@^2.1.4: resolved "https://registry.npm.taobao.org/hosted-git-info/download/hosted-git-info-2.8.8.tgz?cache=0&sync_timestamp=1583018405733&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fhosted-git-info%2Fdownload%2Fhosted-git-info-2.8.8.tgz#7539bd4bc1e0e0a895815a2e0262420b12858488" integrity sha1-dTm9S8Hg4KiVgVouAmJCCxKFhIg= -iconv-lite@^0.4.4: - version "0.4.24" - resolved "https://registry.npm.taobao.org/iconv-lite/download/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" - integrity sha1-ICK0sl+93CHS9SSXSkdKr+czkIs= - dependencies: - safer-buffer ">= 2.1.2 < 3" - -ignore-walk@^3.0.1: - version "3.0.3" - resolved "https://registry.npm.taobao.org/ignore-walk/download/ignore-walk-3.0.3.tgz#017e2447184bfeade7c238e4aefdd1e8f95b1e37" - integrity sha1-AX4kRxhL/q3nwjjkrv3R6PlbHjc= - dependencies: - minimatch "^3.0.4" - inflight@^1.0.4: version "1.0.6" resolved "https://registry.npm.taobao.org/inflight/download/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" @@ -995,7 +900,7 @@ inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.3: resolved "https://registry.npm.taobao.org/inherits/download/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha1-D6LGT5MpF8NDOg3tVTY6rjdBa3w= -ini@^1.3.4, ini@~1.3.0: +ini@^1.3.4: version "1.3.5" resolved "https://registry.npm.taobao.org/ini/download/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" integrity sha1-7uJfVtscnsYIXgwid4CD9Zar+Sc= @@ -1105,11 +1010,6 @@ is-fullwidth-code-point@^1.0.0: dependencies: number-is-nan "^1.0.0" -is-fullwidth-code-point@^2.0.0: - version "2.0.0" - resolved "https://registry.npm.taobao.org/is-fullwidth-code-point/download/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" - integrity sha1-o7MKXE8ZkYMWeqq5O+764937ZU8= - is-glob@^3.1.0: version "3.1.0" resolved "https://registry.npm.taobao.org/is-glob/download/is-glob-3.1.0.tgz#7ba5ae24217804ac70707b96922567486cc3e84a" @@ -1342,31 +1242,6 @@ minimatch@^3.0.4: dependencies: brace-expansion "^1.1.7" -minimist@0.0.8: - version "0.0.8" - resolved "https://registry.npm.taobao.org/minimist/download/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" - integrity sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0= - -minimist@^1.2.0: - version "1.2.5" - resolved "https://registry.npm.taobao.org/minimist/download/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602" - integrity sha1-Z9ZgFLZqaoqqDAg8X9WN9OTpdgI= - -minipass@^2.6.0, minipass@^2.8.6, minipass@^2.9.0: - version "2.9.0" - resolved "https://registry.npm.taobao.org/minipass/download/minipass-2.9.0.tgz#e713762e7d3e32fed803115cf93e04bca9fcc9a6" - integrity sha1-5xN2Ln0+Mv7YAxFc+T4EvKn8yaY= - dependencies: - safe-buffer "^5.1.2" - yallist "^3.0.0" - -minizlib@^1.2.1: - version "1.3.3" - resolved "https://registry.npm.taobao.org/minizlib/download/minizlib-1.3.3.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fminizlib%2Fdownload%2Fminizlib-1.3.3.tgz#2290de96818a34c29551c8a8d301216bd65a861d" - integrity sha1-IpDeloGKNMKVUcio0wEha9Zahh0= - dependencies: - minipass "^2.9.0" - mixin-deep@^1.2.0: version "1.3.2" resolved "https://registry.npm.taobao.org/mixin-deep/download/mixin-deep-1.3.2.tgz?cache=0&sync_timestamp=1561436244196&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fmixin-deep%2Fdownload%2Fmixin-deep-1.3.2.tgz#1120b43dc359a785dce65b55b82e257ccf479566" @@ -1375,23 +1250,11 @@ mixin-deep@^1.2.0: for-in "^1.0.2" is-extendable "^1.0.1" -mkdirp@^0.5.0, mkdirp@^0.5.1: - version "0.5.1" - resolved "https://registry.npm.taobao.org/mkdirp/download/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" - integrity sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM= - dependencies: - minimist "0.0.8" - ms@2.0.0: version "2.0.0" resolved "https://registry.npm.taobao.org/ms/download/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" integrity sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g= -ms@^2.1.1: - version "2.1.2" - resolved "https://registry.npm.taobao.org/ms/download/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" - integrity sha1-0J0fNXtEP0kzgqjrPM0YOHKuYAk= - mute-stdout@^1.0.0: version "1.0.1" resolved "https://registry.npm.taobao.org/mute-stdout/download/mute-stdout-1.0.1.tgz#acb0300eb4de23a7ddeec014e3e96044b3472331" @@ -1419,44 +1282,11 @@ nanomatch@^1.2.9: snapdragon "^0.8.1" to-regex "^3.0.1" -needle@^2.2.1: - version "2.3.3" - resolved "https://registry.npm.taobao.org/needle/download/needle-2.3.3.tgz?cache=0&sync_timestamp=1583154705070&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fneedle%2Fdownload%2Fneedle-2.3.3.tgz#a041ad1d04a871b0ebb666f40baaf1fb47867117" - integrity sha1-oEGtHQSocbDrtmb0C6rx+0eGcRc= - dependencies: - debug "^3.2.6" - iconv-lite "^0.4.4" - sax "^1.2.4" - next-tick@~1.0.0: version "1.0.0" resolved "https://registry.npm.taobao.org/next-tick/download/next-tick-1.0.0.tgz#ca86d1fe8828169b0120208e3dc8424b9db8342c" integrity sha1-yobR/ogoFpsBICCOPchCS524NCw= -node-pre-gyp@*: - version "0.14.0" - resolved "https://registry.npm.taobao.org/node-pre-gyp/download/node-pre-gyp-0.14.0.tgz#9a0596533b877289bcad4e143982ca3d904ddc83" - integrity sha1-mgWWUzuHcom8rU4UOYLKPZBN3IM= - dependencies: - detect-libc "^1.0.2" - mkdirp "^0.5.1" - needle "^2.2.1" - nopt "^4.0.1" - npm-packlist "^1.1.6" - npmlog "^4.0.2" - rc "^1.2.7" - rimraf "^2.6.1" - semver "^5.3.0" - tar "^4.4.2" - -nopt@^4.0.1: - version "4.0.3" - resolved "https://registry.npm.taobao.org/nopt/download/nopt-4.0.3.tgz?cache=0&sync_timestamp=1583704592540&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fnopt%2Fdownload%2Fnopt-4.0.3.tgz#a375cad9d02fd921278d954c2254d5aa57e15e48" - integrity sha1-o3XK2dAv2SEnjZVMIlTVqlfhXkg= - dependencies: - abbrev "1" - osenv "^0.1.4" - normalize-package-data@^2.3.2: version "2.5.0" resolved "https://registry.npm.taobao.org/normalize-package-data/download/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8" @@ -1486,47 +1316,11 @@ now-and-later@^2.0.0: dependencies: once "^1.3.2" -npm-bundled@^1.0.1: - version "1.1.1" - resolved "https://registry.npm.taobao.org/npm-bundled/download/npm-bundled-1.1.1.tgz#1edd570865a94cdb1bc8220775e29466c9fb234b" - integrity sha1-Ht1XCGWpTNsbyCIHdeKUZsn7I0s= - dependencies: - npm-normalize-package-bin "^1.0.1" - -npm-normalize-package-bin@^1.0.1: - version "1.0.1" - resolved "https://registry.npm.taobao.org/npm-normalize-package-bin/download/npm-normalize-package-bin-1.0.1.tgz?cache=0&sync_timestamp=1575936472299&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fnpm-normalize-package-bin%2Fdownload%2Fnpm-normalize-package-bin-1.0.1.tgz#6e79a41f23fd235c0623218228da7d9c23b8f6e2" - integrity sha1-bnmkHyP9I1wGIyGCKNp9nCO49uI= - -npm-packlist@^1.1.6: - version "1.4.8" - resolved "https://registry.npm.taobao.org/npm-packlist/download/npm-packlist-1.4.8.tgz#56ee6cc135b9f98ad3d51c1c95da22bbb9b2ef3e" - integrity sha1-Vu5swTW5+YrT1Rwcldoiu7my7z4= - dependencies: - ignore-walk "^3.0.1" - npm-bundled "^1.0.1" - npm-normalize-package-bin "^1.0.1" - -npmlog@^4.0.2: - version "4.1.2" - resolved "https://registry.npm.taobao.org/npmlog/download/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" - integrity sha1-CKfyqL9zRgR3mp76StXMcXq7lUs= - dependencies: - are-we-there-yet "~1.1.2" - console-control-strings "~1.1.0" - gauge "~2.7.3" - set-blocking "~2.0.0" - number-is-nan@^1.0.0: version "1.0.1" resolved "https://registry.npm.taobao.org/number-is-nan/download/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" integrity sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0= -object-assign@^4.1.0: - version "4.1.1" - resolved "https://registry.npm.taobao.org/object-assign/download/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" - integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= - object-copy@^0.1.0: version "0.1.0" resolved "https://registry.npm.taobao.org/object-copy/download/object-copy-0.1.0.tgz#7e7d858b781bd7c991a41ba975ed3812754e998c" @@ -1605,11 +1399,6 @@ ordered-read-streams@^1.0.0: dependencies: readable-stream "^2.0.1" -os-homedir@^1.0.0: - version "1.0.2" - resolved "https://registry.npm.taobao.org/os-homedir/download/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" - integrity sha1-/7xJiDNuDoM94MFox+8VISGqf7M= - os-locale@^1.4.0: version "1.4.0" resolved "https://registry.npm.taobao.org/os-locale/download/os-locale-1.4.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fos-locale%2Fdownload%2Fos-locale-1.4.0.tgz#20f9f17ae29ed345e8bde583b13d2009803c14d9" @@ -1617,19 +1406,6 @@ os-locale@^1.4.0: dependencies: lcid "^1.0.0" -os-tmpdir@^1.0.0: - version "1.0.2" - resolved "https://registry.npm.taobao.org/os-tmpdir/download/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" - integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ= - -osenv@^0.1.4: - version "0.1.5" - resolved "https://registry.npm.taobao.org/osenv/download/osenv-0.1.5.tgz#85cdfafaeb28e8677f416e287592b5f3f49ea410" - integrity sha1-hc36+uso6Gd/QW4odZK18/SepBA= - dependencies: - os-homedir "^1.0.0" - os-tmpdir "^1.0.0" - parse-filepath@^1.0.1: version "1.0.2" resolved "https://registry.npm.taobao.org/parse-filepath/download/parse-filepath-1.0.2.tgz#a632127f53aaf3d15876f5872f3ffac763d6c891" @@ -1753,16 +1529,6 @@ pumpify@^1.3.5: inherits "^2.0.3" pump "^2.0.0" -rc@^1.2.7: - version "1.2.8" - resolved "https://registry.npm.taobao.org/rc/download/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed" - integrity sha1-zZJL9SAKB1uDwYjNa54hG3/A0+0= - dependencies: - deep-extend "^0.6.0" - ini "~1.3.0" - minimist "^1.2.0" - strip-json-comments "~2.0.1" - read-pkg-up@^1.0.1: version "1.0.1" resolved "https://registry.npm.taobao.org/read-pkg-up/download/read-pkg-up-1.0.1.tgz#9d63c13276c065918d57f002a57f40a1b643fb02" @@ -1780,7 +1546,7 @@ read-pkg@^1.0.0: normalize-package-data "^2.3.2" path-type "^1.0.0" -readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.5, readable-stream@^2.0.6, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.3, readable-stream@^2.3.5, readable-stream@^2.3.6, readable-stream@~2.3.6: +readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.5, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.3, readable-stream@^2.3.5, readable-stream@^2.3.6, readable-stream@~2.3.6: version "2.3.7" resolved "https://registry.npm.taobao.org/readable-stream/download/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57" integrity sha1-Hsoc9xGu+BTAT2IlKjamL2yyO1c= @@ -1905,14 +1671,7 @@ ret@~0.1.10: resolved "https://registry.npm.taobao.org/ret/download/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" integrity sha1-uKSCXVvbH8P29Twrwz+BOIaBx7w= -rimraf@^2.6.1: - version "2.7.1" - resolved "https://registry.npm.taobao.org/rimraf/download/rimraf-2.7.1.tgz?cache=0&sync_timestamp=1581229948248&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frimraf%2Fdownload%2Frimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" - integrity sha1-NXl/E6f9rcVmFCwp1PB8ytSD4+w= - dependencies: - glob "^7.1.3" - -safe-buffer@^5.1.0, safe-buffer@^5.1.2: +safe-buffer@^5.1.0: version "5.2.0" resolved "https://registry.npm.taobao.org/safe-buffer/download/safe-buffer-5.2.0.tgz#b74daec49b1148f88c64b68d49b1e815c1f2f519" integrity sha1-t02uxJsRSPiMZLaNSbHoFcHy9Rk= @@ -1929,16 +1688,6 @@ safe-regex@^1.1.0: dependencies: ret "~0.1.10" -"safer-buffer@>= 2.1.2 < 3": - version "2.1.2" - resolved "https://registry.npm.taobao.org/safer-buffer/download/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" - integrity sha1-RPoWGwGHuVSd2Eu5GAL5vYOFzWo= - -sax@^1.2.4: - version "1.2.4" - resolved "https://registry.npm.taobao.org/sax/download/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9" - integrity sha1-KBYjTiN4vdxOU1T6tcqold9xANk= - semver-greatest-satisfied-range@^1.1.0: version "1.1.0" resolved "https://registry.npm.taobao.org/semver-greatest-satisfied-range/download/semver-greatest-satisfied-range-1.1.0.tgz#13e8c2658ab9691cb0cd71093240280d36f77a5b" @@ -1946,12 +1695,12 @@ semver-greatest-satisfied-range@^1.1.0: dependencies: sver-compat "^1.5.0" -"semver@2 || 3 || 4 || 5", semver@^5.3.0: +"semver@2 || 3 || 4 || 5": version "5.7.1" resolved "https://registry.npm.taobao.org/semver/download/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha1-qVT5Ma66UI0we78Gnv8MAclhFvc= -set-blocking@^2.0.0, set-blocking@~2.0.0: +set-blocking@^2.0.0: version "2.0.0" resolved "https://registry.npm.taobao.org/set-blocking/download/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc= @@ -1966,11 +1715,6 @@ set-value@^2.0.0, set-value@^2.0.1: is-plain-object "^2.0.3" split-string "^3.0.1" -signal-exit@^3.0.0: - version "3.0.2" - resolved "https://registry.npm.taobao.org/signal-exit/download/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" - integrity sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0= - snapdragon-node@^2.0.1: version "2.1.1" resolved "https://registry.npm.taobao.org/snapdragon-node/download/snapdragon-node-2.1.1.tgz#6c175f86ff14bdb0724563e8f3c1b021a286853b" @@ -2092,14 +1836,6 @@ string-width@^1.0.1, string-width@^1.0.2: is-fullwidth-code-point "^1.0.0" strip-ansi "^3.0.0" -"string-width@^1.0.2 || 2": - version "2.1.1" - resolved "https://registry.npm.taobao.org/string-width/download/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" - integrity sha1-q5Pyeo3BPSjKyBXEYhQ6bZASrp4= - dependencies: - is-fullwidth-code-point "^2.0.0" - strip-ansi "^4.0.0" - string_decoder@~1.1.1: version "1.1.1" resolved "https://registry.npm.taobao.org/string_decoder/download/string_decoder-1.1.1.tgz?cache=0&sync_timestamp=1565170823020&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fstring_decoder%2Fdownload%2Fstring_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" @@ -2114,13 +1850,6 @@ strip-ansi@^3.0.0, strip-ansi@^3.0.1: dependencies: ansi-regex "^2.0.0" -strip-ansi@^4.0.0: - version "4.0.0" - resolved "https://registry.npm.taobao.org/strip-ansi/download/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f" - integrity sha1-qEeQIusaw2iocTibY1JixQXuNo8= - dependencies: - ansi-regex "^3.0.0" - strip-bom@^2.0.0: version "2.0.0" resolved "https://registry.npm.taobao.org/strip-bom/download/strip-bom-2.0.0.tgz#6219a85616520491f35788bdbf1447a99c7e6b0e" @@ -2128,11 +1857,6 @@ strip-bom@^2.0.0: dependencies: is-utf8 "^0.2.0" -strip-json-comments@~2.0.1: - version "2.0.1" - resolved "https://registry.npm.taobao.org/strip-json-comments/download/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" - integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo= - sver-compat@^1.5.0: version "1.5.0" resolved "https://registry.npm.taobao.org/sver-compat/download/sver-compat-1.5.0.tgz#3cf87dfeb4d07b4a3f14827bc186b3fd0c645cd8" @@ -2141,19 +1865,6 @@ sver-compat@^1.5.0: es6-iterator "^2.0.1" es6-symbol "^3.1.1" -tar@^4.4.2: - version "4.4.13" - resolved "https://registry.npm.taobao.org/tar/download/tar-4.4.13.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ftar%2Fdownload%2Ftar-4.4.13.tgz#43b364bc52888d555298637b10d60790254ab525" - integrity sha1-Q7NkvFKIjVVSmGN7ENYHkCVKtSU= - dependencies: - chownr "^1.1.1" - fs-minipass "^1.2.5" - minipass "^2.8.6" - minizlib "^1.2.1" - mkdirp "^0.5.0" - safe-buffer "^5.1.2" - yallist "^3.0.3" - through2-filter@^3.0.0: version "3.0.0" resolved "https://registry.npm.taobao.org/through2-filter/download/through2-filter-3.0.0.tgz#700e786df2367c2c88cd8aa5be4cf9c1e7831254" @@ -2381,13 +2092,6 @@ which@^1.2.14: dependencies: isexe "^2.0.0" -wide-align@^1.1.0: - version "1.1.3" - resolved "https://registry.npm.taobao.org/wide-align/download/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457" - integrity sha1-rgdOa9wMFKQx6ATmJFScYzsABFc= - dependencies: - string-width "^1.0.2 || 2" - wrap-ansi@^2.0.0: version "2.1.0" resolved "https://registry.npm.taobao.org/wrap-ansi/download/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85" @@ -2411,11 +2115,6 @@ y18n@^3.2.1: resolved "https://registry.npm.taobao.org/y18n/download/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41" integrity sha1-bRX7qITAhnnA136I53WegR4H+kE= -yallist@^3.0.0, yallist@^3.0.3: - version "3.1.1" - resolved "https://registry.npm.taobao.org/yallist/download/yallist-3.1.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fyallist%2Fdownload%2Fyallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" - integrity sha1-27fa+b/YusmrRev2ArjLrQ1dCP0= - yargs-parser@^5.0.0: version "5.0.0" resolved "https://registry.npm.taobao.org/yargs-parser/download/yargs-parser-5.0.0.tgz?cache=0&sync_timestamp=1584134734937&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fyargs-parser%2Fdownload%2Fyargs-parser-5.0.0.tgz#275ecf0d7ffe05c77e64e7c86e4cd94bf0e1228a" From fbf13f25e9800a6b63a51f035bdfce2e6658000f Mon Sep 17 00:00:00 2001 From: mazhicheng Date: Tue, 24 Mar 2020 13:05:19 +0800 Subject: [PATCH 02/11] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BC=95=E7=94=A8?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/diboot/iam/service/impl/IamUserRoleServiceImpl.java | 4 +--- .../main/java/com/diboot/iam/starter/IamBaseAutoConfig.java | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamUserRoleServiceImpl.java b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamUserRoleServiceImpl.java index 61ba947..c024602 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamUserRoleServiceImpl.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamUserRoleServiceImpl.java @@ -36,8 +36,6 @@ import java.util.stream.Collectors; @Slf4j public class IamUserRoleServiceImpl extends BaseIamServiceImpl implements IamUserRoleService { - @Autowired - private IamUserRoleService iamUserRoleService; @Autowired private IamRoleService iamRoleService; @Autowired @@ -54,7 +52,7 @@ public class IamUserRoleServiceImpl extends BaseIamServiceImpl getUserRoleList(String userType, Long userId) { - List userRoleList = iamUserRoleService.getEntityList(Wrappers.lambdaQuery() + List userRoleList = getEntityList(Wrappers.lambdaQuery() .select(IamUserRole::getRoleId) .eq(IamUserRole::getUserType, userType) .eq(IamUserRole::getUserId, userId) diff --git a/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBaseAutoConfig.java b/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBaseAutoConfig.java index 6b398b0..1ae0297 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBaseAutoConfig.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBaseAutoConfig.java @@ -40,7 +40,7 @@ import java.util.Map; @ComponentScan(basePackages = {"com.diboot.iam"}) @MapperScan(basePackages={"com.diboot.iam.mapper"}) @AutoConfigureAfter(value = {DictionaryServiceImpl.class, - IamRoleServiceImpl.class, IamUserServiceImpl.class, IamUserRoleServiceImpl.class, IamAccountServiceImpl.class, IamFrontendPermissionServiceImpl.class, + IamRoleServiceImpl.class, IamUserServiceImpl.class, IamAccountServiceImpl.class, IamFrontendPermissionServiceImpl.class, IamBaseInitializer.class, ShiroProxyConfig.class}) @Order(2) public class IamBaseAutoConfig{ From 48670ecdf7dd4aec3473620f4654a205fc37c57f Mon Sep 17 00:00:00 2001 From: mazhicheng Date: Tue, 24 Mar 2020 14:29:12 +0800 Subject: [PATCH 03/11] update doc --- diboot-docs/guide/diboot-iam/开始使用.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/diboot-docs/guide/diboot-iam/开始使用.md b/diboot-docs/guide/diboot-iam/开始使用.md index 8251658..b94c103 100644 --- a/diboot-docs/guide/diboot-iam/开始使用.md +++ b/diboot-docs/guide/diboot-iam/开始使用.md @@ -13,6 +13,13 @@ compile("com.diboot:diboot-iam-base-spring-boot-starter:2.0.5") 2.0.5 ~~~ + +注: 2.0.5版本需要在Spring配置类中增加事务注解,如下: +```java +@Configuration +@EnableTransactionManagement +``` + > 配置了数据库连接,初次启动时iam-base starter组件会自初始化,生成相关的表及初始数据。 > 如果使用diboot-devtools,还需要引入devtools相关依赖,可自动生成iam-base相关的controller。 From dba024ed0049f0112bc9f3307e31d68f1d250626 Mon Sep 17 00:00:00 2001 From: Zhaoyang Date: Tue, 24 Mar 2020 14:31:17 +0800 Subject: [PATCH 04/11] =?UTF-8?q?=E6=96=87=E6=A1=A3=E4=B8=AD=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0iam=E9=85=8D=E7=BD=AEEnableTransactionManagement?= =?UTF-8?q?=E6=B3=A8=E8=A7=A3=E7=9A=84=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- diboot-docs/guide/diboot-iam/开始使用.md | 23 +++++++++++++++++++++++ diboot-docs/guide/faq/devtools.md | 2 +- diboot-docs/guide/faq/iam.md | 8 ++++++-- 3 files changed, 30 insertions(+), 3 deletions(-) diff --git a/diboot-docs/guide/diboot-iam/开始使用.md b/diboot-docs/guide/diboot-iam/开始使用.md index 8251658..e4b7672 100644 --- a/diboot-docs/guide/diboot-iam/开始使用.md +++ b/diboot-docs/guide/diboot-iam/开始使用.md @@ -18,6 +18,29 @@ compile("com.diboot:diboot-iam-base-spring-boot-starter:2.0.5") > 如果使用diboot-devtools,还需要引入devtools相关依赖,可自动生成iam-base相关的controller。 ## 2、参数配置: + +* 注解配置: + +请确保您的启动类或者配置类上配置了**@EnableTransactionManagement**注解,如: + +```java +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.transaction.annotation.EnableTransactionManagement; + +@EnableTransactionManagement +@SpringBootApplication +public class Application { + + public static void main(String[] args) { + SpringApplication.run(Application.class, args); + } + +} +``` + +* 配置文件配置项: + ``` #当前应用程序,多个系统时配置,默认为MS(管理系统) diboot.iam.application=MS diff --git a/diboot-docs/guide/faq/devtools.md b/diboot-docs/guide/faq/devtools.md index be4b6d2..ebdfc21 100644 --- a/diboot-docs/guide/faq/devtools.md +++ b/diboot-docs/guide/faq/devtools.md @@ -1,5 +1,5 @@ # diboot-devtools-spring-boot-starter相关 -1. devtools最怕什么? +1. **devtools最怕什么?** 答:项目路径中有中文。。。 \ No newline at end of file diff --git a/diboot-docs/guide/faq/iam.md b/diboot-docs/guide/faq/iam.md index b3db575..3fb601b 100644 --- a/diboot-docs/guide/faq/iam.md +++ b/diboot-docs/guide/faq/iam.md @@ -1,5 +1,9 @@ # diboot-iam-base-spring-boot-starter相关 -1. 为什么我首次启动后,接口不能访问? +1. **为什么我首次启动后,接口不能访问?** -答:您好,首次启动,devtools将为您的项目进行数据库初始化和生成基础代码等工作,这些都需要您在这些流程完成之后,重启应用方可生效。 \ No newline at end of file +答:您好,首次启动,devtools将为您的项目进行数据库初始化和生成基础代码等工作,这些都需要您在这些流程完成之后,重启应用方可生效。 + +2. **为何引入iam后启动报错?** + +答:请确保您配置了**@EnableTransactionManagement**注解,可参考[IAM参数配置](/guide/diboot-iam/开始使用.html#_2、参数配置:) \ No newline at end of file From 212faf02eb69a6cec510718acfad550256932113 Mon Sep 17 00:00:00 2001 From: Zhaoyang Date: Tue, 24 Mar 2020 14:39:41 +0800 Subject: [PATCH 05/11] =?UTF-8?q?=E6=96=87=E6=A1=A3=E4=B8=AD=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0iam=E9=85=8D=E7=BD=AEEnableTransactionManagement?= =?UTF-8?q?=E6=B3=A8=E8=A7=A3=E7=9A=84=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- diboot-docs/guide/diboot-iam/开始使用.md | 6 +----- diboot-docs/guide/faq/iam.md | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/diboot-docs/guide/diboot-iam/开始使用.md b/diboot-docs/guide/diboot-iam/开始使用.md index 1a42b44..7168236 100644 --- a/diboot-docs/guide/diboot-iam/开始使用.md +++ b/diboot-docs/guide/diboot-iam/开始使用.md @@ -14,11 +14,7 @@ compile("com.diboot:diboot-iam-base-spring-boot-starter:2.0.5") ~~~ -注: 2.0.5版本需要在Spring配置类中增加事务注解,如下: -```java -@Configuration -@EnableTransactionManagement -``` +注: 2.0.5版本需要在Spring配置类中增加事务注解,见下方[参数配置-注解配置](/guide/diboot-iam/开始使用.html#_2、参数配置:) > 配置了数据库连接,初次启动时iam-base starter组件会自初始化,生成相关的表及初始数据。 diff --git a/diboot-docs/guide/faq/iam.md b/diboot-docs/guide/faq/iam.md index 3fb601b..8ccd16c 100644 --- a/diboot-docs/guide/faq/iam.md +++ b/diboot-docs/guide/faq/iam.md @@ -6,4 +6,4 @@ 2. **为何引入iam后启动报错?** -答:请确保您配置了**@EnableTransactionManagement**注解,可参考[IAM参数配置](/guide/diboot-iam/开始使用.html#_2、参数配置:) \ No newline at end of file +答:请确保您配置了**@EnableTransactionManagement**注解,可参考[IAM参数配置-注解配置](/guide/diboot-iam/开始使用.html#_2、参数配置:) \ No newline at end of file From 1a088fd1574ca58caffd68a05356e77215463dad Mon Sep 17 00:00:00 2001 From: Zhaoyang Date: Tue, 24 Mar 2020 16:39:17 +0800 Subject: [PATCH 06/11] =?UTF-8?q?=E6=B7=BB=E5=8A=A0IAM=E5=BC=80=E5=A7=8B?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E5=BC=95=E5=85=A5=E9=AA=8C=E8=AF=81=E7=A0=81?= =?UTF-8?q?=E4=BE=9D=E8=B5=96=E7=9A=84=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- diboot-docs/guide/diboot-iam/开始使用.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/diboot-docs/guide/diboot-iam/开始使用.md b/diboot-docs/guide/diboot-iam/开始使用.md index 7168236..19d974b 100644 --- a/diboot-docs/guide/diboot-iam/开始使用.md +++ b/diboot-docs/guide/diboot-iam/开始使用.md @@ -4,6 +4,7 @@ Gradle: ~~~gradle compile("com.diboot:diboot-iam-base-spring-boot-starter:2.0.5") +compile("com.github.whvcse:easy-captcha:1.6.2") ~~~ 或Maven ~~~xml @@ -12,6 +13,11 @@ compile("com.diboot:diboot-iam-base-spring-boot-starter:2.0.5") diboot-iam-base-spring-boot-starter 2.0.5 + + com.github.whvcse + easy-captcha + 1.6.2 + ~~~ 注: 2.0.5版本需要在Spring配置类中增加事务注解,见下方[参数配置-注解配置](/guide/diboot-iam/开始使用.html#_2、参数配置:) From 2c314af03a51f447ad41ff7a82d6842505ad3c4e Mon Sep 17 00:00:00 2001 From: Zhaoyang Date: Tue, 24 Mar 2020 21:31:38 +0800 Subject: [PATCH 07/11] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=BD=93=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=E4=B8=AD=E8=8F=9C=E5=8D=95=E6=9D=83=E9=99=90?= =?UTF-8?q?=E8=A1=A8=E6=9C=89=E8=AE=B0=E5=BD=95=E7=9A=84api=5Fset=E4=B8=BA?= =?UTF-8?q?=E7=A9=BA=E6=97=B6=EF=BC=8C=E4=BC=9A=E5=AF=BC=E8=87=B4=E9=9D=9E?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=91=98=E8=B4=A6=E5=8F=B7=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=E5=85=B6=E4=BB=96=E6=89=80=E6=9C=89=E5=B7=B2=E6=8E=88=E6=9D=83?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E6=9D=83=E9=99=90=E7=9A=84=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../process/ApiPermissionExtractor.java | 2 +- .../iam/auth/impl/PwdAuthServiceImpl.java | 2 +- .../java/com/diboot/iam/jwt/BaseJwtRealm.java | 4 +- .../IamFrontendPermissionServiceImpl.java | 2 +- .../impl/IamRolePermissionServiceImpl.java | 3 +- .../service/impl/IamUserRoleServiceImpl.java | 2 +- .../iam/service/impl/IamUserServiceImpl.java | 2 +- .../java/com/diboot/iam/util/BeanUtils.java | 71 +++++++++++++++++++ pom.xml | 1 - 9 files changed, 80 insertions(+), 9 deletions(-) create mode 100644 iam-base-starter/src/main/java/com/diboot/iam/util/BeanUtils.java diff --git a/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermissionExtractor.java b/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermissionExtractor.java index 63b506d..c454104 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermissionExtractor.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermissionExtractor.java @@ -1,12 +1,12 @@ package com.diboot.iam.annotation.process; -import com.diboot.core.util.BeanUtils; import com.diboot.core.util.ContextHelper; import com.diboot.core.util.S; import com.diboot.core.util.V; import com.diboot.iam.annotation.BindPermission; import com.diboot.iam.config.Cons; import com.diboot.iam.util.AnnotationUtils; +import com.diboot.iam.util.BeanUtils; import lombok.extern.slf4j.Slf4j; import org.apache.shiro.authz.annotation.RequiresPermissions; import org.springframework.aop.support.AopUtils; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/auth/impl/PwdAuthServiceImpl.java b/iam-base-starter/src/main/java/com/diboot/iam/auth/impl/PwdAuthServiceImpl.java index e4c2573..902502c 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/auth/impl/PwdAuthServiceImpl.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/auth/impl/PwdAuthServiceImpl.java @@ -2,7 +2,6 @@ package com.diboot.iam.auth.impl; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.diboot.core.exception.BusinessException; -import com.diboot.core.util.BeanUtils; import com.diboot.core.util.Encryptor; import com.diboot.core.vo.Status; import com.diboot.iam.auth.AuthService; @@ -13,6 +12,7 @@ import com.diboot.iam.entity.IamLoginTrace; import com.diboot.iam.jwt.BaseJwtAuthToken; import com.diboot.iam.service.IamAccountService; import com.diboot.iam.service.IamLoginTraceService; +import com.diboot.iam.util.BeanUtils; import com.diboot.iam.util.IamSecurityUtils; import lombok.extern.slf4j.Slf4j; import org.apache.shiro.SecurityUtils; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/jwt/BaseJwtRealm.java b/iam-base-starter/src/main/java/com/diboot/iam/jwt/BaseJwtRealm.java index 9cdf5d6..ced9b22 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/jwt/BaseJwtRealm.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/jwt/BaseJwtRealm.java @@ -1,7 +1,6 @@ package com.diboot.iam.jwt; import com.diboot.core.service.BaseService; -import com.diboot.core.util.BeanUtils; import com.diboot.core.util.ContextHelper; import com.diboot.core.util.V; import com.diboot.iam.annotation.process.ApiPermissionCache; @@ -12,6 +11,7 @@ import com.diboot.iam.entity.IamAccount; import com.diboot.iam.entity.IamRole; import com.diboot.iam.service.IamRolePermissionService; import com.diboot.iam.service.IamUserRoleService; +import com.diboot.iam.util.BeanUtils; import com.diboot.iam.util.IamSecurityUtils; import lombok.extern.slf4j.Slf4j; import org.apache.shiro.authc.AuthenticationException; @@ -106,7 +106,7 @@ public class BaseJwtRealm extends AuthorizingRealm { SimpleAuthorizationInfo authorizationInfo = new SimpleAuthorizationInfo(); Object currentUser = principals.getPrimaryPrincipal(); // 根据用户类型与用户id获取roleList - Long userId = (Long)BeanUtils.getProperty(currentUser, Cons.FieldName.id.name()); + Long userId = (Long) BeanUtils.getProperty(currentUser, Cons.FieldName.id.name()); List roleList = iamUserRoleService.getUserRoleList(currentUser.getClass().getSimpleName(), userId); // 如果没有任何角色,返回 if (V.isEmpty(roleList)){ diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamFrontendPermissionServiceImpl.java b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamFrontendPermissionServiceImpl.java index 0dddb9c..31862c9 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamFrontendPermissionServiceImpl.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamFrontendPermissionServiceImpl.java @@ -3,7 +3,6 @@ package com.diboot.iam.service.impl; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.core.toolkit.Wrappers; import com.diboot.core.exception.BusinessException; -import com.diboot.core.util.BeanUtils; import com.diboot.core.util.S; import com.diboot.core.util.V; import com.diboot.core.vo.Status; @@ -12,6 +11,7 @@ import com.diboot.iam.dto.IamFrontendPermissionDTO; import com.diboot.iam.entity.IamFrontendPermission; import com.diboot.iam.mapper.IamFrontendPermissionMapper; import com.diboot.iam.service.IamFrontendPermissionService; +import com.diboot.iam.util.BeanUtils; import com.diboot.iam.vo.IamFrontendPermissionListVO; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Service; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamRolePermissionServiceImpl.java b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamRolePermissionServiceImpl.java index 4797d66..efe79f7 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamRolePermissionServiceImpl.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamRolePermissionServiceImpl.java @@ -1,7 +1,7 @@ package com.diboot.iam.service.impl; import com.baomidou.mybatisplus.core.toolkit.Wrappers; -import com.diboot.core.util.BeanUtils; +import com.diboot.core.util.IGetter; import com.diboot.core.util.V; import com.diboot.iam.entity.IamFrontendPermission; import com.diboot.iam.entity.IamRolePermission; @@ -9,6 +9,7 @@ import com.diboot.iam.mapper.IamRolePermissionMapper; import com.diboot.iam.service.IamFrontendPermissionService; import com.diboot.iam.service.IamRolePermissionService; import com.diboot.iam.service.IamRoleService; +import com.diboot.iam.util.BeanUtils; import com.diboot.iam.util.IamSecurityUtils; import com.diboot.iam.vo.IamFrontendPermissionVO; import lombok.extern.slf4j.Slf4j; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamUserRoleServiceImpl.java b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamUserRoleServiceImpl.java index c024602..e435154 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamUserRoleServiceImpl.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamUserRoleServiceImpl.java @@ -2,7 +2,6 @@ package com.diboot.iam.service.impl; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.core.toolkit.Wrappers; -import com.diboot.core.util.BeanUtils; import com.diboot.core.util.ContextHelper; import com.diboot.core.util.V; import com.diboot.iam.auth.IamExtensible; @@ -14,6 +13,7 @@ import com.diboot.iam.mapper.IamUserRoleMapper; import com.diboot.iam.service.IamAccountService; import com.diboot.iam.service.IamRoleService; import com.diboot.iam.service.IamUserRoleService; +import com.diboot.iam.util.BeanUtils; import com.diboot.iam.util.IamSecurityUtils; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamUserServiceImpl.java b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamUserServiceImpl.java index 213afd7..1f41d77 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamUserServiceImpl.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamUserServiceImpl.java @@ -3,7 +3,6 @@ package com.diboot.iam.service.impl; import com.baomidou.mybatisplus.core.toolkit.Wrappers; import com.diboot.core.binding.RelationsBinder; import com.diboot.core.exception.BusinessException; -import com.diboot.core.util.BeanUtils; import com.diboot.core.util.S; import com.diboot.core.util.V; import com.diboot.core.vo.Status; @@ -15,6 +14,7 @@ import com.diboot.iam.service.IamAccountService; import com.diboot.iam.service.IamFrontendPermissionService; import com.diboot.iam.service.IamUserRoleService; import com.diboot.iam.service.IamUserService; +import com.diboot.iam.util.BeanUtils; import com.diboot.iam.util.IamSecurityUtils; import com.diboot.iam.vo.IamRoleVO; import lombok.extern.slf4j.Slf4j; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/util/BeanUtils.java b/iam-base-starter/src/main/java/com/diboot/iam/util/BeanUtils.java new file mode 100644 index 0000000..e9d4d79 --- /dev/null +++ b/iam-base-starter/src/main/java/com/diboot/iam/util/BeanUtils.java @@ -0,0 +1,71 @@ +package com.diboot.iam.util; + +import com.diboot.core.util.IGetter; +import com.diboot.core.util.V; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.beans.BeanWrapper; +import org.springframework.beans.PropertyAccessorFactory; + +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; + +public class BeanUtils extends com.diboot.core.util.BeanUtils { + + private static final Logger log = LoggerFactory.getLogger(BeanUtils.class); + + /** + * 从list对象列表中提取指定属性值到新的List + * @param objectList 对象list + * @param getterFn get方法 + * @param + * @return + */ + public static List collectToList(List objectList, IGetter getterFn){ + if(V.isEmpty(objectList)){ + return Collections.emptyList(); + } + String getterPropName = convertToFieldName(getterFn); + return collectToList(objectList, getterPropName); + } + + /*** + * 从list对象列表中提取指定属性值到新的List + * @param objectList + * @param getterPropName + * @param + * @return + */ + public static List collectToList(List objectList, String getterPropName){ + List fieldValueList = new ArrayList(); + try{ + for(E object : objectList){ + Object fieldValue = getProperty(object, getterPropName); + if(fieldValue != null && !fieldValueList.contains(fieldValue)){ + fieldValueList.add(fieldValue); + } + } + } + catch (Exception e){ + log.warn("提取属性值异常, getterPropName="+getterPropName, e); + } + return fieldValueList; + } + + /*** + * 获取对象的属性值 + * @param obj + * @param field + * @return + */ + public static Object getProperty(Object obj, String field){ + try { + BeanWrapper wrapper = PropertyAccessorFactory.forBeanPropertyAccess(obj); + return wrapper.getPropertyValue(field); + } catch (Exception e) { + log.error("获取对象属性值出错,返回null", e); + } + return null; + } +} diff --git a/pom.xml b/pom.xml index decfcb9..d92177a 100644 --- a/pom.xml +++ b/pom.xml @@ -91,5 +91,4 @@ - \ No newline at end of file From 5439d6ae722f64cee907e172d6e0c8a47aecd673 Mon Sep 17 00:00:00 2001 From: mazhicheng Date: Tue, 24 Mar 2020 21:49:18 +0800 Subject: [PATCH 08/11] update doc --- diboot-docs/guide/diboot-iam/开始使用.md | 6 ++---- iam-base-starter/pom.xml | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/diboot-docs/guide/diboot-iam/开始使用.md b/diboot-docs/guide/diboot-iam/开始使用.md index 19d974b..b93e728 100644 --- a/diboot-docs/guide/diboot-iam/开始使用.md +++ b/diboot-docs/guide/diboot-iam/开始使用.md @@ -3,7 +3,7 @@ ## 1、引入依赖 Gradle: ~~~gradle -compile("com.diboot:diboot-iam-base-spring-boot-starter:2.0.5") +compile("com.diboot:diboot-iam-base-spring-boot-starter:2.0.5.1") compile("com.github.whvcse:easy-captcha:1.6.2") ~~~ 或Maven @@ -11,7 +11,7 @@ compile("com.github.whvcse:easy-captcha:1.6.2") com.diboot diboot-iam-base-spring-boot-starter - 2.0.5 + 2.0.5.1 com.github.whvcse @@ -20,8 +20,6 @@ compile("com.github.whvcse:easy-captcha:1.6.2") ~~~ -注: 2.0.5版本需要在Spring配置类中增加事务注解,见下方[参数配置-注解配置](/guide/diboot-iam/开始使用.html#_2、参数配置:) - > 配置了数据库连接,初次启动时iam-base starter组件会自初始化,生成相关的表及初始数据。 > 如果使用diboot-devtools,还需要引入devtools相关依赖,可自动生成iam-base相关的controller。 diff --git a/iam-base-starter/pom.xml b/iam-base-starter/pom.xml index 8e5ba16..93449f6 100644 --- a/iam-base-starter/pom.xml +++ b/iam-base-starter/pom.xml @@ -11,7 +11,7 @@ diboot-iam-base-spring-boot-starter - 2.0.5 + 2.0.5.1 jar diboot IAM base project From 200fb5a5ae4e5d04030416f92180c08224e1e1b1 Mon Sep 17 00:00:00 2001 From: Zhaoyang Date: Wed, 25 Mar 2020 17:00:09 +0800 Subject: [PATCH 09/11] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=A1=88=E4=BE=8B?= =?UTF-8?q?=E4=BD=93=E9=AA=8C=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- diboot-docs/.vuepress/components/HomeLayout.vue | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/diboot-docs/.vuepress/components/HomeLayout.vue b/diboot-docs/.vuepress/components/HomeLayout.vue index 80e017a..052c9a4 100644 --- a/diboot-docs/.vuepress/components/HomeLayout.vue +++ b/diboot-docs/.vuepress/components/HomeLayout.vue @@ -4,8 +4,14 @@

快速上手 - + + Antd项目案例 + + + Element项目案例 + + 了解 diboot 2.0 @@ -279,7 +285,8 @@ a.button.white { } @media screen and (max-width: 750px) { .button.has-icon{ - margin-top: 15px; + display: block; + margin-top: 5px; } .home { padding: 0; @@ -310,6 +317,8 @@ a.button.white { height: 180px; } a.button.white{ + display: block; + margin-bottom: 10px; margin-right: 0; } } From 7a50c775df164c5c4aeaebb5cbc95e8444c440ab Mon Sep 17 00:00:00 2001 From: Zhaoyang Date: Thu, 26 Mar 2020 10:26:08 +0800 Subject: [PATCH 10/11] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E7=89=88=E6=9D=83?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 261eeb9..d44d9a5 100644 --- a/LICENSE +++ b/LICENSE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright [yyyy] [name of copyright owner] + Copyright 2015-2020 www.dibo.ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. From 417dc8a53f5059a28674995146eca9d8ed7b1b4b Mon Sep 17 00:00:00 2001 From: Zhaoyang Date: Thu, 26 Mar 2020 10:38:35 +0800 Subject: [PATCH 11/11] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=B8=8A=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E6=8E=88=E6=9D=83=E5=8D=8F=E8=AE=AE=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../core/starter/CoreAutoConfiguration.java | 15 +++++++++ .../core/starter/CorePluginManager.java | 15 +++++++++ .../diboot/core/starter/CoreProperties.java | 15 +++++++++ .../com/diboot/core/starter/SqlHandler.java | 15 +++++++++ .../com/diboot/core/binding/QueryBuilder.java | 15 +++++++++ .../diboot/core/binding/RelationsBinder.java | 15 +++++++++ .../core/binding/annotation/BindDict.java | 15 +++++++++ .../core/binding/annotation/BindEntity.java | 15 +++++++++ .../binding/annotation/BindEntityList.java | 15 +++++++++ .../core/binding/annotation/BindField.java | 15 +++++++++ .../core/binding/binder/BaseBinder.java | 15 +++++++++ .../core/binding/binder/EntityBinder.java | 15 +++++++++ .../core/binding/binder/EntityListBinder.java | 15 +++++++++ .../core/binding/binder/FieldBinder.java | 15 +++++++++ .../binding/parser/BindAnnotationGroup.java | 15 +++++++++ .../core/binding/parser/ConditionManager.java | 15 +++++++++ .../core/binding/parser/ConditionParser.java | 15 +++++++++ .../core/binding/parser/FieldAnnotation.java | 15 +++++++++ .../core/binding/parser/MiddleTable.java | 15 +++++++++ .../core/binding/parser/ParserCache.java | 15 +++++++++ .../diboot/core/binding/query/BindQuery.java | 15 +++++++++ .../diboot/core/binding/query/Comparison.java | 15 +++++++++ .../com/diboot/core/config/BaseConfig.java | 15 +++++++++ .../java/com/diboot/core/config/Cons.java | 15 +++++++++ .../core/controller/BaseController.java | 15 +++++++++ .../controller/BaseCrudRestController.java | 15 +++++++++ .../com/diboot/core/entity/BaseEntity.java | 15 +++++++++ .../com/diboot/core/entity/BaseExtEntity.java | 15 +++++++++ .../com/diboot/core/entity/Dictionary.java | 15 +++++++++ .../com/diboot/core/entity/ValidList.java | 15 +++++++++ .../core/exception/BusinessException.java | 15 +++++++++ .../core/handler/DefaultExceptionHandler.java | 15 +++++++++ .../diboot/core/mapper/BaseCrudMapper.java | 15 +++++++++ .../diboot/core/mapper/DictionaryMapper.java | 15 +++++++++ .../com/diboot/core/plugin/PluginManager.java | 15 +++++++++ .../com/diboot/core/service/BaseService.java | 15 +++++++++ .../core/service/DictionaryService.java | 15 +++++++++ .../core/service/impl/BaseServiceImpl.java | 15 +++++++++ .../service/impl/DictionaryServiceImpl.java | 15 +++++++++ .../java/com/diboot/core/util/BeanUtils.java | 15 +++++++++ .../com/diboot/core/util/ContextHelper.java | 15 +++++++++ .../src/main/java/com/diboot/core/util/D.java | 15 +++++++++ .../com/diboot/core/util/DateConverter.java | 15 +++++++++ .../java/com/diboot/core/util/Encryptor.java | 15 +++++++++ .../java/com/diboot/core/util/IGetter.java | 15 +++++++++ .../java/com/diboot/core/util/ISetter.java | 15 +++++++++ .../main/java/com/diboot/core/util/JSON.java | 15 +++++++++ .../com/diboot/core/util/PropertiesUtils.java | 15 +++++++++ .../src/main/java/com/diboot/core/util/S.java | 15 +++++++++ .../com/diboot/core/util/SqlExecutor.java | 15 +++++++++ .../src/main/java/com/diboot/core/util/V.java | 15 +++++++++ .../java/com/diboot/core/vo/DictionaryVO.java | 15 +++++++++ .../java/com/diboot/core/vo/JsonResult.java | 15 +++++++++ .../java/com/diboot/core/vo/KeyValue.java | 15 +++++++++ .../java/com/diboot/core/vo/Pagination.java | 15 +++++++++ .../com/diboot/core/vo/PagingJsonResult.java | 15 +++++++++ .../main/java/com/diboot/core/vo/Status.java | 15 +++++++++ .../diboot/core/test/StartupApplication.java | 15 +++++++++ .../core/test/binder/TestEntityBinder.java | 15 +++++++++ .../test/binder/TestEntityListBinder.java | 15 +++++++++ .../core/test/binder/TestFieldBinder.java | 15 +++++++++ .../core/test/binder/entity/Department.java | 15 +++++++++ .../core/test/binder/entity/Organization.java | 15 +++++++++ .../diboot/core/test/binder/entity/Role.java | 15 +++++++++ .../diboot/core/test/binder/entity/User.java | 15 +++++++++ .../test/binder/mapper/DepartmentMapper.java | 15 +++++++++ .../binder/mapper/OrganizationMapper.java | 15 +++++++++ .../core/test/binder/mapper/RoleMapper.java | 15 +++++++++ .../core/test/binder/mapper/UserMapper.java | 15 +++++++++ .../binder/service/DepartmentService.java | 15 +++++++++ .../binder/service/OrganizationService.java | 15 +++++++++ .../core/test/binder/service/RoleService.java | 15 +++++++++ .../core/test/binder/service/UserService.java | 15 +++++++++ .../service/impl/DepartmentServiceImpl.java | 15 +++++++++ .../service/impl/OrganizationServiceImpl.java | 15 +++++++++ .../binder/service/impl/RoleServiceImpl.java | 15 +++++++++ .../binder/service/impl/UserServiceImpl.java | 15 +++++++++ .../core/test/binder/vo/DepartmentVO.java | 15 +++++++++ .../core/test/binder/vo/EntityBinderVO.java | 15 +++++++++ .../binder/vo/EntityListComplexBinderVO.java | 15 +++++++++ .../binder/vo/EntityListSimpleBinderVO.java | 15 +++++++++ .../core/test/binder/vo/FieldBinderVO.java | 15 +++++++++ .../core/test/binder/vo/OrganizationVO.java | 15 +++++++++ .../diboot/core/test/binder/vo/UserVO.java | 15 +++++++++ .../core/test/config/SpringMvcConfig.java | 15 +++++++++ .../core/test/service/BaseServiceTest.java | 15 +++++++++ .../diboot/core/test/util/BeanUtilsTest.java | 15 +++++++++ .../java/diboot/core/test/util/DTest.java | 15 +++++++++ .../diboot/core/test/util/EncryptorTest.java | 15 +++++++++ .../diboot/core/test/util/PropertiesTest.java | 15 +++++++++ .../java/diboot/core/test/util/STest.java | 15 +++++++++ .../java/diboot/core/test/util/VTest.java | 15 +++++++++ .../java/com/diboot/file/config/Cons.java | 15 +++++++++ .../controller/BaseExcelFileController.java | 15 +++++++++ .../file/controller/BaseFileController.java | 15 +++++++++ .../com/diboot/file/entity/UploadFile.java | 15 +++++++++ .../com/diboot/file/excel/BaseExcelModel.java | 15 +++++++++ .../file/excel/cache/DictTempCache.java | 15 +++++++++ .../file/excel/converter/DictConverter.java | 15 +++++++++ .../listener/DynamicHeadExcelListener.java | 15 +++++++++ .../listener/FixedHeadExcelListener.java | 15 +++++++++ .../diboot/file/mapper/UploadFileMapper.java | 15 +++++++++ .../file/service/UploadFileService.java | 15 +++++++++ .../service/impl/UploadFileServiceImpl.java | 15 +++++++++ .../file/starter/FileAutoConfiguration.java | 15 +++++++++ .../file/starter/FilePluginManager.java | 15 +++++++++ .../diboot/file/starter/FileProperties.java | 15 +++++++++ .../com/diboot/file/starter/SqlHandler.java | 15 +++++++++ .../com/diboot/file/util/ExcelHelper.java | 15 +++++++++ .../java/com/diboot/file/util/FileHelper.java | 15 +++++++++ .../java/com/diboot/file/util/HttpHelper.java | 32 ++++++++++++++++++- .../com/diboot/file/util/ImageHelper.java | 15 +++++++++ .../java/com/diboot/file/util/ZipHelper.java | 15 +++++++++ .../diboot/file/example/ApplicationTest.java | 15 +++++++++ .../file/example/ServletInitializer.java | 15 +++++++++ .../file/example/StartupApplication.java | 15 +++++++++ .../file/example/custom/Department.java | 15 +++++++++ .../example/custom/DepartmentExcelModel.java | 15 +++++++++ .../listener/DepartmentImportListener.java | 15 +++++++++ .../custom/mapper/DepartmentMapper.java | 15 +++++++++ .../custom/service/DepartmentService.java | 15 +++++++++ .../custom/service/DepartmentServiceImpl.java | 15 +++++++++ .../test/DynamicHeadExcelReadTest.java | 15 +++++++++ .../file/example/test/ExcelWriteTest.java | 15 +++++++++ .../example/test/FixedHeadExcelReadTest.java | 15 +++++++++ .../example/test/UploadFileServiceTest.java | 15 +++++++++ .../diboot/iam/annotation/BindPermission.java | 15 +++++++++ .../com/diboot/iam/annotation/Operation.java | 15 +++++++++ .../iam/annotation/process/ApiPermission.java | 15 +++++++++ .../process/ApiPermissionCache.java | 15 +++++++++ .../process/ApiPermissionExtractor.java | 15 +++++++++ .../process/ApiPermissionWrapper.java | 15 +++++++++ .../process/BindPermissionAspect.java | 15 +++++++++ .../java/com/diboot/iam/auth/AuthService.java | 15 +++++++++ .../diboot/iam/auth/AuthServiceFactory.java | 15 +++++++++ .../com/diboot/iam/auth/IamExtensible.java | 15 +++++++++ .../iam/auth/impl/PwdAuthServiceImpl.java | 15 +++++++++ .../main/java/com/diboot/iam/config/Cons.java | 15 +++++++++ .../com/diboot/iam/dto/AuthCredential.java | 15 +++++++++ .../java/com/diboot/iam/dto/ChangePwdDTO.java | 15 +++++++++ .../iam/dto/IamFrontendPermissionDTO.java | 15 +++++++++ .../com/diboot/iam/dto/IamRoleFormDTO.java | 15 +++++++++ .../com/diboot/iam/dto/IamUserAccountDTO.java | 15 +++++++++ .../com/diboot/iam/dto/PwdCredential.java | 15 +++++++++ .../com/diboot/iam/entity/IamAccount.java | 15 +++++++++ .../iam/entity/IamFrontendPermission.java | 15 +++++++++ .../com/diboot/iam/entity/IamLoginTrace.java | 15 +++++++++ .../java/com/diboot/iam/entity/IamRole.java | 15 +++++++++ .../diboot/iam/entity/IamRolePermission.java | 15 +++++++++ .../java/com/diboot/iam/entity/IamUser.java | 15 +++++++++ .../com/diboot/iam/entity/IamUserRole.java | 15 +++++++++ .../iam/exception/PermissionException.java | 15 +++++++++ .../com/diboot/iam/jwt/BaseJwtAuthToken.java | 15 +++++++++ .../java/com/diboot/iam/jwt/BaseJwtRealm.java | 15 +++++++++ .../diboot/iam/jwt/DefaultJwtAuthFilter.java | 15 +++++++++ .../diboot/iam/mapper/IamAccountMapper.java | 15 +++++++++ .../mapper/IamFrontendPermissionMapper.java | 15 +++++++++ .../iam/mapper/IamLoginTraceMapper.java | 15 +++++++++ .../com/diboot/iam/mapper/IamRoleMapper.java | 15 +++++++++ .../iam/mapper/IamRolePermissionMapper.java | 15 +++++++++ .../com/diboot/iam/mapper/IamUserMapper.java | 15 +++++++++ .../diboot/iam/mapper/IamUserRoleMapper.java | 15 +++++++++ .../diboot/iam/service/BaseIamService.java | 15 +++++++++ .../diboot/iam/service/IamAccountService.java | 15 +++++++++ .../service/IamFrontendPermissionService.java | 15 +++++++++ .../iam/service/IamLoginTraceService.java | 15 +++++++++ .../iam/service/IamRolePermissionService.java | 15 +++++++++ .../diboot/iam/service/IamRoleService.java | 15 +++++++++ .../iam/service/IamUserRoleService.java | 15 +++++++++ .../diboot/iam/service/IamUserService.java | 15 +++++++++ .../iam/service/impl/BaseIamServiceImpl.java | 15 +++++++++ .../service/impl/IamAccountServiceImpl.java | 15 +++++++++ .../IamFrontendPermissionServiceImpl.java | 15 +++++++++ .../impl/IamLoginTraceServiceImpl.java | 15 +++++++++ .../impl/IamRolePermissionServiceImpl.java | 15 +++++++++ .../iam/service/impl/IamRoleServiceImpl.java | 15 +++++++++ .../service/impl/IamUserRoleServiceImpl.java | 15 +++++++++ .../iam/service/impl/IamUserServiceImpl.java | 15 +++++++++ .../diboot/iam/starter/IamBaseAutoConfig.java | 15 +++++++++ .../iam/starter/IamBaseInitializer.java | 15 +++++++++ .../iam/starter/IamBasePluginManager.java | 15 +++++++++ .../diboot/iam/starter/IamBaseProperties.java | 15 +++++++++ .../diboot/iam/starter/ShiroProxyConfig.java | 15 +++++++++ .../com/diboot/iam/util/AnnotationUtils.java | 15 +++++++++ .../java/com/diboot/iam/util/BeanUtils.java | 15 +++++++++ .../com/diboot/iam/util/IamSecurityUtils.java | 15 +++++++++ .../java/com/diboot/iam/util/JwtUtils.java | 15 +++++++++ .../java/com/diboot/iam/vo/IamAccountVO.java | 15 +++++++++ .../iam/vo/IamFrontendPermissionListVO.java | 15 +++++++++ .../iam/vo/IamFrontendPermissionVO.java | 15 +++++++++ .../com/diboot/iam/vo/IamLoginTraceVO.java | 15 +++++++++ .../diboot/iam/vo/IamRolePermissionVO.java | 15 +++++++++ .../java/com/diboot/iam/vo/IamRoleVO.java | 15 +++++++++ .../java/com/diboot/iam/vo/IamUserRoleVO.java | 15 +++++++++ .../java/com/diboot/iam/vo/IamUserVO.java | 15 +++++++++ license.txt | 13 ++++++++ 196 files changed, 2954 insertions(+), 1 deletion(-) create mode 100644 license.txt diff --git a/diboot-core-starter/src/main/java/com/diboot/core/starter/CoreAutoConfiguration.java b/diboot-core-starter/src/main/java/com/diboot/core/starter/CoreAutoConfiguration.java index b2ed759..fa1f05c 100644 --- a/diboot-core-starter/src/main/java/com/diboot/core/starter/CoreAutoConfiguration.java +++ b/diboot-core-starter/src/main/java/com/diboot/core/starter/CoreAutoConfiguration.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.starter; import com.alibaba.fastjson.serializer.SerializerFeature; diff --git a/diboot-core-starter/src/main/java/com/diboot/core/starter/CorePluginManager.java b/diboot-core-starter/src/main/java/com/diboot/core/starter/CorePluginManager.java index 18d726c..fdb8ad5 100644 --- a/diboot-core-starter/src/main/java/com/diboot/core/starter/CorePluginManager.java +++ b/diboot-core-starter/src/main/java/com/diboot/core/starter/CorePluginManager.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.starter; import com.diboot.core.plugin.PluginManager; diff --git a/diboot-core-starter/src/main/java/com/diboot/core/starter/CoreProperties.java b/diboot-core-starter/src/main/java/com/diboot/core/starter/CoreProperties.java index 981e1e9..9a26243 100644 --- a/diboot-core-starter/src/main/java/com/diboot/core/starter/CoreProperties.java +++ b/diboot-core-starter/src/main/java/com/diboot/core/starter/CoreProperties.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.starter; import org.springframework.boot.context.properties.ConfigurationProperties; diff --git a/diboot-core-starter/src/main/java/com/diboot/core/starter/SqlHandler.java b/diboot-core-starter/src/main/java/com/diboot/core/starter/SqlHandler.java index b825152..606e646 100644 --- a/diboot-core-starter/src/main/java/com/diboot/core/starter/SqlHandler.java +++ b/diboot-core-starter/src/main/java/com/diboot/core/starter/SqlHandler.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.starter; import com.baomidou.mybatisplus.annotation.DbType; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/QueryBuilder.java b/diboot-core/src/main/java/com/diboot/core/binding/QueryBuilder.java index 8e72152..ea4e900 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/QueryBuilder.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/QueryBuilder.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.binding; import com.baomidou.mybatisplus.annotation.TableField; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/RelationsBinder.java b/diboot-core/src/main/java/com/diboot/core/binding/RelationsBinder.java index e141116..0a0fc74 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/RelationsBinder.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/RelationsBinder.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.binding; import com.baomidou.mybatisplus.extension.service.IService; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/annotation/BindDict.java b/diboot-core/src/main/java/com/diboot/core/binding/annotation/BindDict.java index 05b975a..fc24ed8 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/annotation/BindDict.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/annotation/BindDict.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.binding.annotation; import java.lang.annotation.*; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/annotation/BindEntity.java b/diboot-core/src/main/java/com/diboot/core/binding/annotation/BindEntity.java index 45a2255..2bb9617 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/annotation/BindEntity.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/annotation/BindEntity.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.binding.annotation; import java.lang.annotation.*; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/annotation/BindEntityList.java b/diboot-core/src/main/java/com/diboot/core/binding/annotation/BindEntityList.java index 866c3b4..8a42dc2 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/annotation/BindEntityList.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/annotation/BindEntityList.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.binding.annotation; import java.lang.annotation.*; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/annotation/BindField.java b/diboot-core/src/main/java/com/diboot/core/binding/annotation/BindField.java index cf862e4..00b5388 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/annotation/BindField.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/annotation/BindField.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.binding.annotation; import java.lang.annotation.*; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/binder/BaseBinder.java b/diboot-core/src/main/java/com/diboot/core/binding/binder/BaseBinder.java index 48b96e7..3c3dbf7 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/binder/BaseBinder.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/binder/BaseBinder.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.binding.binder; import com.baomidou.mybatisplus.core.conditions.Wrapper; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/binder/EntityBinder.java b/diboot-core/src/main/java/com/diboot/core/binding/binder/EntityBinder.java index 942fc72..484c3b9 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/binder/EntityBinder.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/binder/EntityBinder.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.binding.binder; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/binder/EntityListBinder.java b/diboot-core/src/main/java/com/diboot/core/binding/binder/EntityListBinder.java index c1dfed7..9dcae17 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/binder/EntityListBinder.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/binder/EntityListBinder.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.binding.binder; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/binder/FieldBinder.java b/diboot-core/src/main/java/com/diboot/core/binding/binder/FieldBinder.java index 2c15c86..a8ca963 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/binder/FieldBinder.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/binder/FieldBinder.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.binding.binder; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/parser/BindAnnotationGroup.java b/diboot-core/src/main/java/com/diboot/core/binding/parser/BindAnnotationGroup.java index 9075e69..8eb367b 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/parser/BindAnnotationGroup.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/parser/BindAnnotationGroup.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.binding.parser; import com.diboot.core.binding.annotation.BindDict; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/parser/ConditionManager.java b/diboot-core/src/main/java/com/diboot/core/binding/parser/ConditionManager.java index f4b1cb6..f561b52 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/parser/ConditionManager.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/parser/ConditionManager.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.binding.parser; import com.diboot.core.binding.binder.BaseBinder; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/parser/ConditionParser.java b/diboot-core/src/main/java/com/diboot/core/binding/parser/ConditionParser.java index 9fa35e4..b143132 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/parser/ConditionParser.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/parser/ConditionParser.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.binding.parser; import com.diboot.core.util.S; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/parser/FieldAnnotation.java b/diboot-core/src/main/java/com/diboot/core/binding/parser/FieldAnnotation.java index 5173c85..db617bf 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/parser/FieldAnnotation.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/parser/FieldAnnotation.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.binding.parser; import java.lang.annotation.Annotation; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/parser/MiddleTable.java b/diboot-core/src/main/java/com/diboot/core/binding/parser/MiddleTable.java index 728aa35..f31f751 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/parser/MiddleTable.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/parser/MiddleTable.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.binding.parser; import com.diboot.core.config.BaseConfig; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/parser/ParserCache.java b/diboot-core/src/main/java/com/diboot/core/binding/parser/ParserCache.java index 6aa5eae..6af8bff 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/parser/ParserCache.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/parser/ParserCache.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.binding.parser; import com.diboot.core.util.BeanUtils; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/query/BindQuery.java b/diboot-core/src/main/java/com/diboot/core/binding/query/BindQuery.java index a9ef334..d36ce48 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/query/BindQuery.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/query/BindQuery.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.binding.query; import java.lang.annotation.*; diff --git a/diboot-core/src/main/java/com/diboot/core/binding/query/Comparison.java b/diboot-core/src/main/java/com/diboot/core/binding/query/Comparison.java index 8f359f8..c0b3485 100644 --- a/diboot-core/src/main/java/com/diboot/core/binding/query/Comparison.java +++ b/diboot-core/src/main/java/com/diboot/core/binding/query/Comparison.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.binding.query; /** diff --git a/diboot-core/src/main/java/com/diboot/core/config/BaseConfig.java b/diboot-core/src/main/java/com/diboot/core/config/BaseConfig.java index 0b4f2c0..a642b32 100644 --- a/diboot-core/src/main/java/com/diboot/core/config/BaseConfig.java +++ b/diboot-core/src/main/java/com/diboot/core/config/BaseConfig.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.config; import com.diboot.core.util.PropertiesUtils; diff --git a/diboot-core/src/main/java/com/diboot/core/config/Cons.java b/diboot-core/src/main/java/com/diboot/core/config/Cons.java index 8131ae0..dae1f52 100644 --- a/diboot-core/src/main/java/com/diboot/core/config/Cons.java +++ b/diboot-core/src/main/java/com/diboot/core/config/Cons.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.config; /** diff --git a/diboot-core/src/main/java/com/diboot/core/controller/BaseController.java b/diboot-core/src/main/java/com/diboot/core/controller/BaseController.java index 7860be2..3d604d4 100644 --- a/diboot-core/src/main/java/com/diboot/core/controller/BaseController.java +++ b/diboot-core/src/main/java/com/diboot/core/controller/BaseController.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.controller; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; diff --git a/diboot-core/src/main/java/com/diboot/core/controller/BaseCrudRestController.java b/diboot-core/src/main/java/com/diboot/core/controller/BaseCrudRestController.java index b4360e8..d979345 100644 --- a/diboot-core/src/main/java/com/diboot/core/controller/BaseCrudRestController.java +++ b/diboot-core/src/main/java/com/diboot/core/controller/BaseCrudRestController.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.controller; import com.baomidou.mybatisplus.core.conditions.Wrapper; diff --git a/diboot-core/src/main/java/com/diboot/core/entity/BaseEntity.java b/diboot-core/src/main/java/com/diboot/core/entity/BaseEntity.java index d815a09..fbf1e2e 100644 --- a/diboot-core/src/main/java/com/diboot/core/entity/BaseEntity.java +++ b/diboot-core/src/main/java/com/diboot/core/entity/BaseEntity.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.entity; import com.alibaba.fastjson.annotation.JSONField; diff --git a/diboot-core/src/main/java/com/diboot/core/entity/BaseExtEntity.java b/diboot-core/src/main/java/com/diboot/core/entity/BaseExtEntity.java index cb84b60..1a676b2 100644 --- a/diboot-core/src/main/java/com/diboot/core/entity/BaseExtEntity.java +++ b/diboot-core/src/main/java/com/diboot/core/entity/BaseExtEntity.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.entity; import com.baomidou.mybatisplus.annotation.TableField; diff --git a/diboot-core/src/main/java/com/diboot/core/entity/Dictionary.java b/diboot-core/src/main/java/com/diboot/core/entity/Dictionary.java index de8cae3..c0bde0c 100644 --- a/diboot-core/src/main/java/com/diboot/core/entity/Dictionary.java +++ b/diboot-core/src/main/java/com/diboot/core/entity/Dictionary.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.entity; import com.baomidou.mybatisplus.annotation.TableField; diff --git a/diboot-core/src/main/java/com/diboot/core/entity/ValidList.java b/diboot-core/src/main/java/com/diboot/core/entity/ValidList.java index ac7628b..d21a9d4 100644 --- a/diboot-core/src/main/java/com/diboot/core/entity/ValidList.java +++ b/diboot-core/src/main/java/com/diboot/core/entity/ValidList.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.entity; import javax.validation.Valid; diff --git a/diboot-core/src/main/java/com/diboot/core/exception/BusinessException.java b/diboot-core/src/main/java/com/diboot/core/exception/BusinessException.java index bbec3db..7eba845 100644 --- a/diboot-core/src/main/java/com/diboot/core/exception/BusinessException.java +++ b/diboot-core/src/main/java/com/diboot/core/exception/BusinessException.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.exception; import com.diboot.core.vo.Status; diff --git a/diboot-core/src/main/java/com/diboot/core/handler/DefaultExceptionHandler.java b/diboot-core/src/main/java/com/diboot/core/handler/DefaultExceptionHandler.java index 0ca611e..f1ade7b 100644 --- a/diboot-core/src/main/java/com/diboot/core/handler/DefaultExceptionHandler.java +++ b/diboot-core/src/main/java/com/diboot/core/handler/DefaultExceptionHandler.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.handler; import com.diboot.core.exception.BusinessException; diff --git a/diboot-core/src/main/java/com/diboot/core/mapper/BaseCrudMapper.java b/diboot-core/src/main/java/com/diboot/core/mapper/BaseCrudMapper.java index d16d401..2dd7ab6 100644 --- a/diboot-core/src/main/java/com/diboot/core/mapper/BaseCrudMapper.java +++ b/diboot-core/src/main/java/com/diboot/core/mapper/BaseCrudMapper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; diff --git a/diboot-core/src/main/java/com/diboot/core/mapper/DictionaryMapper.java b/diboot-core/src/main/java/com/diboot/core/mapper/DictionaryMapper.java index 382af11..ec15f35 100644 --- a/diboot-core/src/main/java/com/diboot/core/mapper/DictionaryMapper.java +++ b/diboot-core/src/main/java/com/diboot/core/mapper/DictionaryMapper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.mapper; import com.diboot.core.entity.Dictionary; diff --git a/diboot-core/src/main/java/com/diboot/core/plugin/PluginManager.java b/diboot-core/src/main/java/com/diboot/core/plugin/PluginManager.java index 9c4fbeb..ecf6a5c 100644 --- a/diboot-core/src/main/java/com/diboot/core/plugin/PluginManager.java +++ b/diboot-core/src/main/java/com/diboot/core/plugin/PluginManager.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.plugin; /** diff --git a/diboot-core/src/main/java/com/diboot/core/service/BaseService.java b/diboot-core/src/main/java/com/diboot/core/service/BaseService.java index 8eda6b4..afb4016 100644 --- a/diboot-core/src/main/java/com/diboot/core/service/BaseService.java +++ b/diboot-core/src/main/java/com/diboot/core/service/BaseService.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.service; import com.baomidou.mybatisplus.core.conditions.Wrapper; diff --git a/diboot-core/src/main/java/com/diboot/core/service/DictionaryService.java b/diboot-core/src/main/java/com/diboot/core/service/DictionaryService.java index 47183bf..2a2e2a7 100644 --- a/diboot-core/src/main/java/com/diboot/core/service/DictionaryService.java +++ b/diboot-core/src/main/java/com/diboot/core/service/DictionaryService.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.service; import com.diboot.core.entity.Dictionary; diff --git a/diboot-core/src/main/java/com/diboot/core/service/impl/BaseServiceImpl.java b/diboot-core/src/main/java/com/diboot/core/service/impl/BaseServiceImpl.java index 9d837d5..1ea1221 100644 --- a/diboot-core/src/main/java/com/diboot/core/service/impl/BaseServiceImpl.java +++ b/diboot-core/src/main/java/com/diboot/core/service/impl/BaseServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.service.impl; import com.baomidou.mybatisplus.annotation.DbType; diff --git a/diboot-core/src/main/java/com/diboot/core/service/impl/DictionaryServiceImpl.java b/diboot-core/src/main/java/com/diboot/core/service/impl/DictionaryServiceImpl.java index e98d19a..f256917 100644 --- a/diboot-core/src/main/java/com/diboot/core/service/impl/DictionaryServiceImpl.java +++ b/diboot-core/src/main/java/com/diboot/core/service/impl/DictionaryServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.service.impl; import com.baomidou.mybatisplus.core.conditions.Wrapper; diff --git a/diboot-core/src/main/java/com/diboot/core/util/BeanUtils.java b/diboot-core/src/main/java/com/diboot/core/util/BeanUtils.java index cfeb29f..c77e687 100644 --- a/diboot-core/src/main/java/com/diboot/core/util/BeanUtils.java +++ b/diboot-core/src/main/java/com/diboot/core/util/BeanUtils.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.util; diff --git a/diboot-core/src/main/java/com/diboot/core/util/ContextHelper.java b/diboot-core/src/main/java/com/diboot/core/util/ContextHelper.java index e531f03..9f67eec 100644 --- a/diboot-core/src/main/java/com/diboot/core/util/ContextHelper.java +++ b/diboot-core/src/main/java/com/diboot/core/util/ContextHelper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.util; import com.baomidou.mybatisplus.annotation.DbType; diff --git a/diboot-core/src/main/java/com/diboot/core/util/D.java b/diboot-core/src/main/java/com/diboot/core/util/D.java index 7f0dd67..0806702 100644 --- a/diboot-core/src/main/java/com/diboot/core/util/D.java +++ b/diboot-core/src/main/java/com/diboot/core/util/D.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.util; diff --git a/diboot-core/src/main/java/com/diboot/core/util/DateConverter.java b/diboot-core/src/main/java/com/diboot/core/util/DateConverter.java index 43fbfb3..6225eb4 100644 --- a/diboot-core/src/main/java/com/diboot/core/util/DateConverter.java +++ b/diboot-core/src/main/java/com/diboot/core/util/DateConverter.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.util; import org.slf4j.Logger; diff --git a/diboot-core/src/main/java/com/diboot/core/util/Encryptor.java b/diboot-core/src/main/java/com/diboot/core/util/Encryptor.java index 3011c57..4b8c190 100644 --- a/diboot-core/src/main/java/com/diboot/core/util/Encryptor.java +++ b/diboot-core/src/main/java/com/diboot/core/util/Encryptor.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.util; import com.diboot.core.config.BaseConfig; diff --git a/diboot-core/src/main/java/com/diboot/core/util/IGetter.java b/diboot-core/src/main/java/com/diboot/core/util/IGetter.java index 6025c9b..a878adc 100644 --- a/diboot-core/src/main/java/com/diboot/core/util/IGetter.java +++ b/diboot-core/src/main/java/com/diboot/core/util/IGetter.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.util; import java.io.Serializable; diff --git a/diboot-core/src/main/java/com/diboot/core/util/ISetter.java b/diboot-core/src/main/java/com/diboot/core/util/ISetter.java index 4d0ad82..ee4d335 100644 --- a/diboot-core/src/main/java/com/diboot/core/util/ISetter.java +++ b/diboot-core/src/main/java/com/diboot/core/util/ISetter.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.util; import java.io.Serializable; diff --git a/diboot-core/src/main/java/com/diboot/core/util/JSON.java b/diboot-core/src/main/java/com/diboot/core/util/JSON.java index 8cecf37..68916a4 100644 --- a/diboot-core/src/main/java/com/diboot/core/util/JSON.java +++ b/diboot-core/src/main/java/com/diboot/core/util/JSON.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.util; import com.alibaba.fastjson.JSONObject; diff --git a/diboot-core/src/main/java/com/diboot/core/util/PropertiesUtils.java b/diboot-core/src/main/java/com/diboot/core/util/PropertiesUtils.java index 9072789..d7c1768 100644 --- a/diboot-core/src/main/java/com/diboot/core/util/PropertiesUtils.java +++ b/diboot-core/src/main/java/com/diboot/core/util/PropertiesUtils.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.util; import lombok.extern.slf4j.Slf4j; diff --git a/diboot-core/src/main/java/com/diboot/core/util/S.java b/diboot-core/src/main/java/com/diboot/core/util/S.java index 309614d..fced0c8 100644 --- a/diboot-core/src/main/java/com/diboot/core/util/S.java +++ b/diboot-core/src/main/java/com/diboot/core/util/S.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.util; import com.diboot.core.config.BaseConfig; diff --git a/diboot-core/src/main/java/com/diboot/core/util/SqlExecutor.java b/diboot-core/src/main/java/com/diboot/core/util/SqlExecutor.java index a600aaa..c6d3265 100644 --- a/diboot-core/src/main/java/com/diboot/core/util/SqlExecutor.java +++ b/diboot-core/src/main/java/com/diboot/core/util/SqlExecutor.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.util; import org.apache.ibatis.session.SqlSession; diff --git a/diboot-core/src/main/java/com/diboot/core/util/V.java b/diboot-core/src/main/java/com/diboot/core/util/V.java index 0edc933..186a2a0 100644 --- a/diboot-core/src/main/java/com/diboot/core/util/V.java +++ b/diboot-core/src/main/java/com/diboot/core/util/V.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.util; import org.hibernate.validator.HibernateValidator; diff --git a/diboot-core/src/main/java/com/diboot/core/vo/DictionaryVO.java b/diboot-core/src/main/java/com/diboot/core/vo/DictionaryVO.java index baaac85..f00514b 100644 --- a/diboot-core/src/main/java/com/diboot/core/vo/DictionaryVO.java +++ b/diboot-core/src/main/java/com/diboot/core/vo/DictionaryVO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.vo; import com.diboot.core.binding.annotation.BindEntityList; diff --git a/diboot-core/src/main/java/com/diboot/core/vo/JsonResult.java b/diboot-core/src/main/java/com/diboot/core/vo/JsonResult.java index af461b0..4b03145 100644 --- a/diboot-core/src/main/java/com/diboot/core/vo/JsonResult.java +++ b/diboot-core/src/main/java/com/diboot/core/vo/JsonResult.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.vo; import com.diboot.core.util.S; diff --git a/diboot-core/src/main/java/com/diboot/core/vo/KeyValue.java b/diboot-core/src/main/java/com/diboot/core/vo/KeyValue.java index 623cf35..cb51df7 100644 --- a/diboot-core/src/main/java/com/diboot/core/vo/KeyValue.java +++ b/diboot-core/src/main/java/com/diboot/core/vo/KeyValue.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.vo; import lombok.Getter; diff --git a/diboot-core/src/main/java/com/diboot/core/vo/Pagination.java b/diboot-core/src/main/java/com/diboot/core/vo/Pagination.java index aae9e57..a4cfc51 100644 --- a/diboot-core/src/main/java/com/diboot/core/vo/Pagination.java +++ b/diboot-core/src/main/java/com/diboot/core/vo/Pagination.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.vo; import com.alibaba.fastjson.annotation.JSONField; diff --git a/diboot-core/src/main/java/com/diboot/core/vo/PagingJsonResult.java b/diboot-core/src/main/java/com/diboot/core/vo/PagingJsonResult.java index 84cc813..3c963fe 100644 --- a/diboot-core/src/main/java/com/diboot/core/vo/PagingJsonResult.java +++ b/diboot-core/src/main/java/com/diboot/core/vo/PagingJsonResult.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.vo; import com.baomidou.mybatisplus.core.metadata.IPage; diff --git a/diboot-core/src/main/java/com/diboot/core/vo/Status.java b/diboot-core/src/main/java/com/diboot/core/vo/Status.java index 101600c..f440cd4 100644 --- a/diboot-core/src/main/java/com/diboot/core/vo/Status.java +++ b/diboot-core/src/main/java/com/diboot/core/vo/Status.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.core.vo; /** diff --git a/diboot-core/src/test/java/diboot/core/test/StartupApplication.java b/diboot-core/src/test/java/diboot/core/test/StartupApplication.java index 1945235..0f46313 100644 --- a/diboot-core/src/test/java/diboot/core/test/StartupApplication.java +++ b/diboot-core/src/test/java/diboot/core/test/StartupApplication.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package diboot.core.test; import org.springframework.boot.SpringApplication; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/TestEntityBinder.java b/diboot-core/src/test/java/diboot/core/test/binder/TestEntityBinder.java index 57f139a..54a969b 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/TestEntityBinder.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/TestEntityBinder.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package diboot.core.test.binder; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/TestEntityListBinder.java b/diboot-core/src/test/java/diboot/core/test/binder/TestEntityListBinder.java index 7a43e56..daf1d3f 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/TestEntityListBinder.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/TestEntityListBinder.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package diboot.core.test.binder; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/TestFieldBinder.java b/diboot-core/src/test/java/diboot/core/test/binder/TestFieldBinder.java index e7bdd22..1d0b71f 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/TestFieldBinder.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/TestFieldBinder.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package diboot.core.test.binder; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/entity/Department.java b/diboot-core/src/test/java/diboot/core/test/binder/entity/Department.java index 67cf894..a404aa1 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/entity/Department.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/entity/Department.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package diboot.core.test.binder.entity; import com.baomidou.mybatisplus.annotation.TableField; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/entity/Organization.java b/diboot-core/src/test/java/diboot/core/test/binder/entity/Organization.java index 0d4cac1..0d231e6 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/entity/Organization.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/entity/Organization.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package diboot.core.test.binder.entity; import com.baomidou.mybatisplus.annotation.TableField; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/entity/Role.java b/diboot-core/src/test/java/diboot/core/test/binder/entity/Role.java index 62752a5..9696436 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/entity/Role.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/entity/Role.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package diboot.core.test.binder.entity; import com.alibaba.fastjson.annotation.JSONField; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/entity/User.java b/diboot-core/src/test/java/diboot/core/test/binder/entity/User.java index 9a0199a..6e618b1 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/entity/User.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/entity/User.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package diboot.core.test.binder.entity; import com.baomidou.mybatisplus.annotation.TableField; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/mapper/DepartmentMapper.java b/diboot-core/src/test/java/diboot/core/test/binder/mapper/DepartmentMapper.java index c32c40d..515c7c8 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/mapper/DepartmentMapper.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/mapper/DepartmentMapper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package diboot.core.test.binder.mapper; import com.diboot.core.mapper.BaseCrudMapper; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/mapper/OrganizationMapper.java b/diboot-core/src/test/java/diboot/core/test/binder/mapper/OrganizationMapper.java index dc118f0..d2ec959 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/mapper/OrganizationMapper.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/mapper/OrganizationMapper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package diboot.core.test.binder.mapper; import com.diboot.core.mapper.BaseCrudMapper; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/mapper/RoleMapper.java b/diboot-core/src/test/java/diboot/core/test/binder/mapper/RoleMapper.java index 4964fda..a46b9cf 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/mapper/RoleMapper.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/mapper/RoleMapper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package diboot.core.test.binder.mapper; import com.diboot.core.mapper.BaseCrudMapper; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/mapper/UserMapper.java b/diboot-core/src/test/java/diboot/core/test/binder/mapper/UserMapper.java index 98fe3a8..fbec022 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/mapper/UserMapper.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/mapper/UserMapper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package diboot.core.test.binder.mapper; import com.diboot.core.mapper.BaseCrudMapper; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/service/DepartmentService.java b/diboot-core/src/test/java/diboot/core/test/binder/service/DepartmentService.java index a459172..1f62784 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/service/DepartmentService.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/service/DepartmentService.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package diboot.core.test.binder.service; import com.diboot.core.service.BaseService; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/service/OrganizationService.java b/diboot-core/src/test/java/diboot/core/test/binder/service/OrganizationService.java index 418a0a6..58594d6 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/service/OrganizationService.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/service/OrganizationService.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package diboot.core.test.binder.service; import com.diboot.core.service.BaseService; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/service/RoleService.java b/diboot-core/src/test/java/diboot/core/test/binder/service/RoleService.java index ce17ea6..0e4290f 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/service/RoleService.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/service/RoleService.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package diboot.core.test.binder.service; import com.baomidou.mybatisplus.extension.service.IService; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/service/UserService.java b/diboot-core/src/test/java/diboot/core/test/binder/service/UserService.java index 9f9cb7a..5a011be 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/service/UserService.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/service/UserService.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package diboot.core.test.binder.service; import com.baomidou.mybatisplus.extension.service.IService; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/service/impl/DepartmentServiceImpl.java b/diboot-core/src/test/java/diboot/core/test/binder/service/impl/DepartmentServiceImpl.java index aa02988..2716d8b 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/service/impl/DepartmentServiceImpl.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/service/impl/DepartmentServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package diboot.core.test.binder.service.impl; import com.diboot.core.service.impl.BaseServiceImpl; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/service/impl/OrganizationServiceImpl.java b/diboot-core/src/test/java/diboot/core/test/binder/service/impl/OrganizationServiceImpl.java index f3ad57b..935ac79 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/service/impl/OrganizationServiceImpl.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/service/impl/OrganizationServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package diboot.core.test.binder.service.impl; import com.diboot.core.service.impl.BaseServiceImpl; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/service/impl/RoleServiceImpl.java b/diboot-core/src/test/java/diboot/core/test/binder/service/impl/RoleServiceImpl.java index 096e3a5..dab1619 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/service/impl/RoleServiceImpl.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/service/impl/RoleServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package diboot.core.test.binder.service.impl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/service/impl/UserServiceImpl.java b/diboot-core/src/test/java/diboot/core/test/binder/service/impl/UserServiceImpl.java index e541428..97e2706 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/service/impl/UserServiceImpl.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/service/impl/UserServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package diboot.core.test.binder.service.impl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/vo/DepartmentVO.java b/diboot-core/src/test/java/diboot/core/test/binder/vo/DepartmentVO.java index ce5bed0..a6cbf8f 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/vo/DepartmentVO.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/vo/DepartmentVO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package diboot.core.test.binder.vo; import com.baomidou.mybatisplus.annotation.TableField; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/vo/EntityBinderVO.java b/diboot-core/src/test/java/diboot/core/test/binder/vo/EntityBinderVO.java index f721daf..65a34c2 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/vo/EntityBinderVO.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/vo/EntityBinderVO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package diboot.core.test.binder.vo; import com.diboot.core.binding.annotation.BindEntity; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/vo/EntityListComplexBinderVO.java b/diboot-core/src/test/java/diboot/core/test/binder/vo/EntityListComplexBinderVO.java index 891a3f3..50cd84e 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/vo/EntityListComplexBinderVO.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/vo/EntityListComplexBinderVO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package diboot.core.test.binder.vo; import com.diboot.core.binding.annotation.BindEntityList; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/vo/EntityListSimpleBinderVO.java b/diboot-core/src/test/java/diboot/core/test/binder/vo/EntityListSimpleBinderVO.java index 4fd287c..4644173 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/vo/EntityListSimpleBinderVO.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/vo/EntityListSimpleBinderVO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package diboot.core.test.binder.vo; import com.diboot.core.binding.annotation.BindEntityList; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/vo/FieldBinderVO.java b/diboot-core/src/test/java/diboot/core/test/binder/vo/FieldBinderVO.java index 1f35d82..49e3025 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/vo/FieldBinderVO.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/vo/FieldBinderVO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package diboot.core.test.binder.vo; import com.diboot.core.binding.annotation.BindDict; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/vo/OrganizationVO.java b/diboot-core/src/test/java/diboot/core/test/binder/vo/OrganizationVO.java index 190aadf..31196c0 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/vo/OrganizationVO.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/vo/OrganizationVO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package diboot.core.test.binder.vo; import lombok.Getter; diff --git a/diboot-core/src/test/java/diboot/core/test/binder/vo/UserVO.java b/diboot-core/src/test/java/diboot/core/test/binder/vo/UserVO.java index e28b9b7..d1f1966 100644 --- a/diboot-core/src/test/java/diboot/core/test/binder/vo/UserVO.java +++ b/diboot-core/src/test/java/diboot/core/test/binder/vo/UserVO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package diboot.core.test.binder.vo; import com.diboot.core.binding.annotation.BindField; diff --git a/diboot-core/src/test/java/diboot/core/test/config/SpringMvcConfig.java b/diboot-core/src/test/java/diboot/core/test/config/SpringMvcConfig.java index 9bcd518..da49d60 100644 --- a/diboot-core/src/test/java/diboot/core/test/config/SpringMvcConfig.java +++ b/diboot-core/src/test/java/diboot/core/test/config/SpringMvcConfig.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package diboot.core.test.config; import com.alibaba.fastjson.serializer.SerializerFeature; diff --git a/diboot-core/src/test/java/diboot/core/test/service/BaseServiceTest.java b/diboot-core/src/test/java/diboot/core/test/service/BaseServiceTest.java index f6b7ff5..dd6517b 100644 --- a/diboot-core/src/test/java/diboot/core/test/service/BaseServiceTest.java +++ b/diboot-core/src/test/java/diboot/core/test/service/BaseServiceTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package diboot.core.test.service; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; diff --git a/diboot-core/src/test/java/diboot/core/test/util/BeanUtilsTest.java b/diboot-core/src/test/java/diboot/core/test/util/BeanUtilsTest.java index ca53bb1..07be134 100644 --- a/diboot-core/src/test/java/diboot/core/test/util/BeanUtilsTest.java +++ b/diboot-core/src/test/java/diboot/core/test/util/BeanUtilsTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package diboot.core.test.util; import com.baomidou.mybatisplus.annotation.TableId; diff --git a/diboot-core/src/test/java/diboot/core/test/util/DTest.java b/diboot-core/src/test/java/diboot/core/test/util/DTest.java index fcfceb8..5045128 100644 --- a/diboot-core/src/test/java/diboot/core/test/util/DTest.java +++ b/diboot-core/src/test/java/diboot/core/test/util/DTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package diboot.core.test.util; import com.diboot.core.util.D; diff --git a/diboot-core/src/test/java/diboot/core/test/util/EncryptorTest.java b/diboot-core/src/test/java/diboot/core/test/util/EncryptorTest.java index b6227ec..4d34e20 100644 --- a/diboot-core/src/test/java/diboot/core/test/util/EncryptorTest.java +++ b/diboot-core/src/test/java/diboot/core/test/util/EncryptorTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package diboot.core.test.util; import com.diboot.core.util.Encryptor; diff --git a/diboot-core/src/test/java/diboot/core/test/util/PropertiesTest.java b/diboot-core/src/test/java/diboot/core/test/util/PropertiesTest.java index 492c9a6..5f70de0 100644 --- a/diboot-core/src/test/java/diboot/core/test/util/PropertiesTest.java +++ b/diboot-core/src/test/java/diboot/core/test/util/PropertiesTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package diboot.core.test.util; import com.diboot.core.util.PropertiesUtils; diff --git a/diboot-core/src/test/java/diboot/core/test/util/STest.java b/diboot-core/src/test/java/diboot/core/test/util/STest.java index d5e2d5e..1fd37db 100644 --- a/diboot-core/src/test/java/diboot/core/test/util/STest.java +++ b/diboot-core/src/test/java/diboot/core/test/util/STest.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package diboot.core.test.util; import com.diboot.core.util.S; diff --git a/diboot-core/src/test/java/diboot/core/test/util/VTest.java b/diboot-core/src/test/java/diboot/core/test/util/VTest.java index df9bd52..765d085 100644 --- a/diboot-core/src/test/java/diboot/core/test/util/VTest.java +++ b/diboot-core/src/test/java/diboot/core/test/util/VTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package diboot.core.test.util; import com.diboot.core.util.S; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/config/Cons.java b/diboot-file-starter/src/main/java/com/diboot/file/config/Cons.java index c2ab619..5b43ce3 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/config/Cons.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/config/Cons.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.file.config; /** diff --git a/diboot-file-starter/src/main/java/com/diboot/file/controller/BaseExcelFileController.java b/diboot-file-starter/src/main/java/com/diboot/file/controller/BaseExcelFileController.java index 251c815..de1d126 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/controller/BaseExcelFileController.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/controller/BaseExcelFileController.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.file.controller; import com.diboot.core.config.BaseConfig; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/controller/BaseFileController.java b/diboot-file-starter/src/main/java/com/diboot/file/controller/BaseFileController.java index 03d4b79..8ed345b 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/controller/BaseFileController.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/controller/BaseFileController.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.file.controller; import com.baomidou.mybatisplus.core.conditions.Wrapper; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/entity/UploadFile.java b/diboot-file-starter/src/main/java/com/diboot/file/entity/UploadFile.java index 194b9a9..2b123d3 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/entity/UploadFile.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/entity/UploadFile.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.file.entity; import com.alibaba.fastjson.annotation.JSONField; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/excel/BaseExcelModel.java b/diboot-file-starter/src/main/java/com/diboot/file/excel/BaseExcelModel.java index 2b9348a..6aeea29 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/excel/BaseExcelModel.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/excel/BaseExcelModel.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.file.excel; import com.alibaba.excel.annotation.ExcelIgnore; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/excel/cache/DictTempCache.java b/diboot-file-starter/src/main/java/com/diboot/file/excel/cache/DictTempCache.java index 5b04d1b..e997363 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/excel/cache/DictTempCache.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/excel/cache/DictTempCache.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.file.excel.cache; import com.diboot.core.binding.annotation.BindDict; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/excel/converter/DictConverter.java b/diboot-file-starter/src/main/java/com/diboot/file/excel/converter/DictConverter.java index 4f7f0fe..116afb2 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/excel/converter/DictConverter.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/excel/converter/DictConverter.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.file.excel.converter; import com.alibaba.excel.converters.Converter; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/excel/listener/DynamicHeadExcelListener.java b/diboot-file-starter/src/main/java/com/diboot/file/excel/listener/DynamicHeadExcelListener.java index d3392d0..e8baff0 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/excel/listener/DynamicHeadExcelListener.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/excel/listener/DynamicHeadExcelListener.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.file.excel.listener; import com.alibaba.excel.context.AnalysisContext; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/excel/listener/FixedHeadExcelListener.java b/diboot-file-starter/src/main/java/com/diboot/file/excel/listener/FixedHeadExcelListener.java index e26f3f9..d68aad1 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/excel/listener/FixedHeadExcelListener.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/excel/listener/FixedHeadExcelListener.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.file.excel.listener; import com.alibaba.excel.context.AnalysisContext; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/mapper/UploadFileMapper.java b/diboot-file-starter/src/main/java/com/diboot/file/mapper/UploadFileMapper.java index 63baec0..1f331f5 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/mapper/UploadFileMapper.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/mapper/UploadFileMapper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.file.mapper; import com.diboot.core.mapper.BaseCrudMapper; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/service/UploadFileService.java b/diboot-file-starter/src/main/java/com/diboot/file/service/UploadFileService.java index 35fb235..27ee405 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/service/UploadFileService.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/service/UploadFileService.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.file.service; import com.diboot.core.service.BaseService; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/service/impl/UploadFileServiceImpl.java b/diboot-file-starter/src/main/java/com/diboot/file/service/impl/UploadFileServiceImpl.java index 3a4be40..da8cac0 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/service/impl/UploadFileServiceImpl.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/service/impl/UploadFileServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.file.service.impl; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/starter/FileAutoConfiguration.java b/diboot-file-starter/src/main/java/com/diboot/file/starter/FileAutoConfiguration.java index 6c12b1f..935858f 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/starter/FileAutoConfiguration.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/starter/FileAutoConfiguration.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.file.starter; import lombok.extern.slf4j.Slf4j; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/starter/FilePluginManager.java b/diboot-file-starter/src/main/java/com/diboot/file/starter/FilePluginManager.java index 2327172..9e7ac0d 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/starter/FilePluginManager.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/starter/FilePluginManager.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.file.starter; import com.diboot.core.plugin.PluginManager; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/starter/FileProperties.java b/diboot-file-starter/src/main/java/com/diboot/file/starter/FileProperties.java index 3f37c27..f348039 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/starter/FileProperties.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/starter/FileProperties.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.file.starter; import lombok.Data; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/starter/SqlHandler.java b/diboot-file-starter/src/main/java/com/diboot/file/starter/SqlHandler.java index f378dd3..49e35f1 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/starter/SqlHandler.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/starter/SqlHandler.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.file.starter; import lombok.extern.slf4j.Slf4j; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/util/ExcelHelper.java b/diboot-file-starter/src/main/java/com/diboot/file/util/ExcelHelper.java index bd61d01..5d97e87 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/util/ExcelHelper.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/util/ExcelHelper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.file.util; import com.alibaba.excel.EasyExcel; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/util/FileHelper.java b/diboot-file-starter/src/main/java/com/diboot/file/util/FileHelper.java index 0dd57f6..be1231d 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/util/FileHelper.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/util/FileHelper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.file.util; import com.diboot.core.exception.BusinessException; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/util/HttpHelper.java b/diboot-file-starter/src/main/java/com/diboot/file/util/HttpHelper.java index 02a3eff..8165aea 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/util/HttpHelper.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/util/HttpHelper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.file.util; import com.diboot.core.exception.BusinessException; @@ -78,7 +93,22 @@ public class HttpHelper { put("xsd", "text/xml"); put("xsl", "text/xml"); put("xslt", "text/xml"); - put("apk", "application/vnd.android.package-archive"); + put("apk", "application/vnd.android./* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package-archive"); }}; /** diff --git a/diboot-file-starter/src/main/java/com/diboot/file/util/ImageHelper.java b/diboot-file-starter/src/main/java/com/diboot/file/util/ImageHelper.java index 0ae5978..5271cc4 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/util/ImageHelper.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/util/ImageHelper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.file.util; import com.diboot.core.util.D; diff --git a/diboot-file-starter/src/main/java/com/diboot/file/util/ZipHelper.java b/diboot-file-starter/src/main/java/com/diboot/file/util/ZipHelper.java index 9b58110..70c9862 100644 --- a/diboot-file-starter/src/main/java/com/diboot/file/util/ZipHelper.java +++ b/diboot-file-starter/src/main/java/com/diboot/file/util/ZipHelper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.file.util; import lombok.extern.slf4j.Slf4j; diff --git a/diboot-file-starter/src/test/java/com/diboot/file/example/ApplicationTest.java b/diboot-file-starter/src/test/java/com/diboot/file/example/ApplicationTest.java index 2a59b62..a58f05b 100644 --- a/diboot-file-starter/src/test/java/com/diboot/file/example/ApplicationTest.java +++ b/diboot-file-starter/src/test/java/com/diboot/file/example/ApplicationTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.file.example; import lombok.extern.slf4j.Slf4j; diff --git a/diboot-file-starter/src/test/java/com/diboot/file/example/ServletInitializer.java b/diboot-file-starter/src/test/java/com/diboot/file/example/ServletInitializer.java index 1debaa1..fa06847 100644 --- a/diboot-file-starter/src/test/java/com/diboot/file/example/ServletInitializer.java +++ b/diboot-file-starter/src/test/java/com/diboot/file/example/ServletInitializer.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.file.example; import com.diboot.file.starter.FileProperties; diff --git a/diboot-file-starter/src/test/java/com/diboot/file/example/StartupApplication.java b/diboot-file-starter/src/test/java/com/diboot/file/example/StartupApplication.java index a86da65..a2cf53a 100644 --- a/diboot-file-starter/src/test/java/com/diboot/file/example/StartupApplication.java +++ b/diboot-file-starter/src/test/java/com/diboot/file/example/StartupApplication.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.file.example; import org.springframework.boot.SpringApplication; diff --git a/diboot-file-starter/src/test/java/com/diboot/file/example/custom/Department.java b/diboot-file-starter/src/test/java/com/diboot/file/example/custom/Department.java index 6f88a15..dd66441 100644 --- a/diboot-file-starter/src/test/java/com/diboot/file/example/custom/Department.java +++ b/diboot-file-starter/src/test/java/com/diboot/file/example/custom/Department.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.file.example.custom; import com.diboot.core.entity.BaseEntity; diff --git a/diboot-file-starter/src/test/java/com/diboot/file/example/custom/DepartmentExcelModel.java b/diboot-file-starter/src/test/java/com/diboot/file/example/custom/DepartmentExcelModel.java index 4af324a..ec4a401 100644 --- a/diboot-file-starter/src/test/java/com/diboot/file/example/custom/DepartmentExcelModel.java +++ b/diboot-file-starter/src/test/java/com/diboot/file/example/custom/DepartmentExcelModel.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.file.example.custom; import com.alibaba.excel.annotation.ExcelProperty; diff --git a/diboot-file-starter/src/test/java/com/diboot/file/example/custom/listener/DepartmentImportListener.java b/diboot-file-starter/src/test/java/com/diboot/file/example/custom/listener/DepartmentImportListener.java index f62eaeb..ce47ffe 100644 --- a/diboot-file-starter/src/test/java/com/diboot/file/example/custom/listener/DepartmentImportListener.java +++ b/diboot-file-starter/src/test/java/com/diboot/file/example/custom/listener/DepartmentImportListener.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.file.example.custom.listener; import com.diboot.core.util.BeanUtils; diff --git a/diboot-file-starter/src/test/java/com/diboot/file/example/custom/mapper/DepartmentMapper.java b/diboot-file-starter/src/test/java/com/diboot/file/example/custom/mapper/DepartmentMapper.java index b72076b..3c6feb1 100644 --- a/diboot-file-starter/src/test/java/com/diboot/file/example/custom/mapper/DepartmentMapper.java +++ b/diboot-file-starter/src/test/java/com/diboot/file/example/custom/mapper/DepartmentMapper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.file.example.custom.mapper; import com.diboot.core.mapper.BaseCrudMapper; diff --git a/diboot-file-starter/src/test/java/com/diboot/file/example/custom/service/DepartmentService.java b/diboot-file-starter/src/test/java/com/diboot/file/example/custom/service/DepartmentService.java index ff63d15..7f5e171 100644 --- a/diboot-file-starter/src/test/java/com/diboot/file/example/custom/service/DepartmentService.java +++ b/diboot-file-starter/src/test/java/com/diboot/file/example/custom/service/DepartmentService.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.file.example.custom.service; import com.diboot.core.service.BaseService; diff --git a/diboot-file-starter/src/test/java/com/diboot/file/example/custom/service/DepartmentServiceImpl.java b/diboot-file-starter/src/test/java/com/diboot/file/example/custom/service/DepartmentServiceImpl.java index 9652c18..3861d3b 100644 --- a/diboot-file-starter/src/test/java/com/diboot/file/example/custom/service/DepartmentServiceImpl.java +++ b/diboot-file-starter/src/test/java/com/diboot/file/example/custom/service/DepartmentServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.file.example.custom.service; import com.diboot.core.service.impl.BaseServiceImpl; diff --git a/diboot-file-starter/src/test/java/com/diboot/file/example/test/DynamicHeadExcelReadTest.java b/diboot-file-starter/src/test/java/com/diboot/file/example/test/DynamicHeadExcelReadTest.java index 7528118..5a0e475 100644 --- a/diboot-file-starter/src/test/java/com/diboot/file/example/test/DynamicHeadExcelReadTest.java +++ b/diboot-file-starter/src/test/java/com/diboot/file/example/test/DynamicHeadExcelReadTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.file.example.test; import com.diboot.core.util.JSON; diff --git a/diboot-file-starter/src/test/java/com/diboot/file/example/test/ExcelWriteTest.java b/diboot-file-starter/src/test/java/com/diboot/file/example/test/ExcelWriteTest.java index d43034d..f87bd3c 100644 --- a/diboot-file-starter/src/test/java/com/diboot/file/example/test/ExcelWriteTest.java +++ b/diboot-file-starter/src/test/java/com/diboot/file/example/test/ExcelWriteTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.file.example.test; diff --git a/diboot-file-starter/src/test/java/com/diboot/file/example/test/FixedHeadExcelReadTest.java b/diboot-file-starter/src/test/java/com/diboot/file/example/test/FixedHeadExcelReadTest.java index c462878..202eb45 100644 --- a/diboot-file-starter/src/test/java/com/diboot/file/example/test/FixedHeadExcelReadTest.java +++ b/diboot-file-starter/src/test/java/com/diboot/file/example/test/FixedHeadExcelReadTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.file.example.test; import com.diboot.core.util.JSON; diff --git a/diboot-file-starter/src/test/java/com/diboot/file/example/test/UploadFileServiceTest.java b/diboot-file-starter/src/test/java/com/diboot/file/example/test/UploadFileServiceTest.java index 0201565..4943b36 100644 --- a/diboot-file-starter/src/test/java/com/diboot/file/example/test/UploadFileServiceTest.java +++ b/diboot-file-starter/src/test/java/com/diboot/file/example/test/UploadFileServiceTest.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.file.example.test; import com.diboot.file.entity.UploadFile; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/annotation/BindPermission.java b/iam-base-starter/src/main/java/com/diboot/iam/annotation/BindPermission.java index 96e1572..47b9cf7 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/annotation/BindPermission.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/annotation/BindPermission.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.annotation; import java.lang.annotation.*; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/annotation/Operation.java b/iam-base-starter/src/main/java/com/diboot/iam/annotation/Operation.java index 25d10c8..acfe451 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/annotation/Operation.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/annotation/Operation.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.annotation; /** diff --git a/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermission.java b/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermission.java index 89bbd69..8b0e3c9 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermission.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermission.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.annotation.process; import com.alibaba.fastjson.annotation.JSONField; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermissionCache.java b/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermissionCache.java index 43830b4..9fdc059 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermissionCache.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermissionCache.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.annotation.process; import com.diboot.core.util.V; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermissionExtractor.java b/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermissionExtractor.java index c454104..9f85d63 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermissionExtractor.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermissionExtractor.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.annotation.process; import com.diboot.core.util.ContextHelper; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermissionWrapper.java b/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermissionWrapper.java index f32c13d..d642916 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermissionWrapper.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/ApiPermissionWrapper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.annotation.process; import lombok.Getter; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/BindPermissionAspect.java b/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/BindPermissionAspect.java index 4e20917..cf5ed09 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/BindPermissionAspect.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/annotation/process/BindPermissionAspect.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.annotation.process; import com.diboot.core.util.S; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/auth/AuthService.java b/iam-base-starter/src/main/java/com/diboot/iam/auth/AuthService.java index 9f9ce9c..b27892c 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/auth/AuthService.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/auth/AuthService.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.auth; import com.diboot.iam.dto.AuthCredential; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/auth/AuthServiceFactory.java b/iam-base-starter/src/main/java/com/diboot/iam/auth/AuthServiceFactory.java index 5747814..d7a73c1 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/auth/AuthServiceFactory.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/auth/AuthServiceFactory.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.auth; import com.diboot.core.util.ContextHelper; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/auth/IamExtensible.java b/iam-base-starter/src/main/java/com/diboot/iam/auth/IamExtensible.java index 3074329..de44204 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/auth/IamExtensible.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/auth/IamExtensible.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.auth; import com.diboot.iam.entity.IamRole; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/auth/impl/PwdAuthServiceImpl.java b/iam-base-starter/src/main/java/com/diboot/iam/auth/impl/PwdAuthServiceImpl.java index 902502c..e5d0760 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/auth/impl/PwdAuthServiceImpl.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/auth/impl/PwdAuthServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.auth.impl; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/config/Cons.java b/iam-base-starter/src/main/java/com/diboot/iam/config/Cons.java index f15d392..57b213d 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/config/Cons.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/config/Cons.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.config; import com.diboot.core.config.BaseConfig; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/dto/AuthCredential.java b/iam-base-starter/src/main/java/com/diboot/iam/dto/AuthCredential.java index d8fb376..6914acf 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/dto/AuthCredential.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/dto/AuthCredential.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.dto; import com.diboot.iam.entity.IamUser; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/dto/ChangePwdDTO.java b/iam-base-starter/src/main/java/com/diboot/iam/dto/ChangePwdDTO.java index cf9d60b..0102429 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/dto/ChangePwdDTO.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/dto/ChangePwdDTO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.dto; import lombok.Getter; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/dto/IamFrontendPermissionDTO.java b/iam-base-starter/src/main/java/com/diboot/iam/dto/IamFrontendPermissionDTO.java index 48f7b41..ea7cbde 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/dto/IamFrontendPermissionDTO.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/dto/IamFrontendPermissionDTO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.dto; import com.diboot.iam.entity.IamFrontendPermission; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/dto/IamRoleFormDTO.java b/iam-base-starter/src/main/java/com/diboot/iam/dto/IamRoleFormDTO.java index 3d0b618..5986b69 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/dto/IamRoleFormDTO.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/dto/IamRoleFormDTO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.dto; import com.diboot.iam.entity.IamRole; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/dto/IamUserAccountDTO.java b/iam-base-starter/src/main/java/com/diboot/iam/dto/IamUserAccountDTO.java index 768d93b..195baa2 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/dto/IamUserAccountDTO.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/dto/IamUserAccountDTO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.dto; import com.diboot.iam.entity.IamUser; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/dto/PwdCredential.java b/iam-base-starter/src/main/java/com/diboot/iam/dto/PwdCredential.java index c336448..5c1a372 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/dto/PwdCredential.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/dto/PwdCredential.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.dto; import com.diboot.iam.config.Cons; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/entity/IamAccount.java b/iam-base-starter/src/main/java/com/diboot/iam/entity/IamAccount.java index 4ad3cb4..7b88fee 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/entity/IamAccount.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/entity/IamAccount.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.entity; import com.alibaba.fastjson.annotation.JSONField; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/entity/IamFrontendPermission.java b/iam-base-starter/src/main/java/com/diboot/iam/entity/IamFrontendPermission.java index a53baea..07ea7b4 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/entity/IamFrontendPermission.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/entity/IamFrontendPermission.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.entity; import com.baomidou.mybatisplus.annotation.FieldStrategy; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/entity/IamLoginTrace.java b/iam-base-starter/src/main/java/com/diboot/iam/entity/IamLoginTrace.java index 2a73c56..c0d507a 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/entity/IamLoginTrace.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/entity/IamLoginTrace.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.entity; import com.baomidou.mybatisplus.annotation.TableField; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/entity/IamRole.java b/iam-base-starter/src/main/java/com/diboot/iam/entity/IamRole.java index 745565b..5d5a766 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/entity/IamRole.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/entity/IamRole.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.entity; import com.baomidou.mybatisplus.annotation.TableField; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/entity/IamRolePermission.java b/iam-base-starter/src/main/java/com/diboot/iam/entity/IamRolePermission.java index db0abb0..64e772e 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/entity/IamRolePermission.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/entity/IamRolePermission.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.entity; import com.baomidou.mybatisplus.annotation.TableField; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/entity/IamUser.java b/iam-base-starter/src/main/java/com/diboot/iam/entity/IamUser.java index 3486141..34261f3 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/entity/IamUser.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/entity/IamUser.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.entity; import com.baomidou.mybatisplus.annotation.TableField; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/entity/IamUserRole.java b/iam-base-starter/src/main/java/com/diboot/iam/entity/IamUserRole.java index 184785a..99793de 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/entity/IamUserRole.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/entity/IamUserRole.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.entity; import com.baomidou.mybatisplus.annotation.TableField; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/exception/PermissionException.java b/iam-base-starter/src/main/java/com/diboot/iam/exception/PermissionException.java index b93db19..a5d3e83 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/exception/PermissionException.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/exception/PermissionException.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.exception; import com.diboot.core.exception.BusinessException; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/jwt/BaseJwtAuthToken.java b/iam-base-starter/src/main/java/com/diboot/iam/jwt/BaseJwtAuthToken.java index 5862274..9475a0f 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/jwt/BaseJwtAuthToken.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/jwt/BaseJwtAuthToken.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.jwt; import com.diboot.iam.config.Cons; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/jwt/BaseJwtRealm.java b/iam-base-starter/src/main/java/com/diboot/iam/jwt/BaseJwtRealm.java index ced9b22..ee9b988 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/jwt/BaseJwtRealm.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/jwt/BaseJwtRealm.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.jwt; import com.diboot.core.service.BaseService; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/jwt/DefaultJwtAuthFilter.java b/iam-base-starter/src/main/java/com/diboot/iam/jwt/DefaultJwtAuthFilter.java index 255e12e..67a3145 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/jwt/DefaultJwtAuthFilter.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/jwt/DefaultJwtAuthFilter.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.jwt; import com.diboot.core.util.JSON; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamAccountMapper.java b/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamAccountMapper.java index 0e189b4..8724a7c 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamAccountMapper.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamAccountMapper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.mapper; import com.diboot.core.mapper.BaseCrudMapper; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamFrontendPermissionMapper.java b/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamFrontendPermissionMapper.java index 1d49807..4ddaa3a 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamFrontendPermissionMapper.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamFrontendPermissionMapper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.mapper; import com.diboot.core.mapper.BaseCrudMapper; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamLoginTraceMapper.java b/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamLoginTraceMapper.java index fa27b1f..90518bb 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamLoginTraceMapper.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamLoginTraceMapper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.mapper; import com.diboot.core.mapper.BaseCrudMapper; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamRoleMapper.java b/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamRoleMapper.java index 9880892..513f03a 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamRoleMapper.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamRoleMapper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.mapper; import com.diboot.core.mapper.BaseCrudMapper; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamRolePermissionMapper.java b/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamRolePermissionMapper.java index d417dae..442417c 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamRolePermissionMapper.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamRolePermissionMapper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.mapper; import com.diboot.core.mapper.BaseCrudMapper; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamUserMapper.java b/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamUserMapper.java index b9f51ba..b7dddb1 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamUserMapper.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamUserMapper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.mapper; import com.diboot.core.mapper.BaseCrudMapper; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamUserRoleMapper.java b/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamUserRoleMapper.java index 9d071e7..447333f 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamUserRoleMapper.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/mapper/IamUserRoleMapper.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.mapper; import com.diboot.core.mapper.BaseCrudMapper; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/BaseIamService.java b/iam-base-starter/src/main/java/com/diboot/iam/service/BaseIamService.java index d5642f4..181e6a6 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/BaseIamService.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/BaseIamService.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.service; import com.diboot.core.service.BaseService; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/IamAccountService.java b/iam-base-starter/src/main/java/com/diboot/iam/service/IamAccountService.java index 7571ad0..228031c 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/IamAccountService.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/IamAccountService.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.service; import com.diboot.iam.dto.ChangePwdDTO; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/IamFrontendPermissionService.java b/iam-base-starter/src/main/java/com/diboot/iam/service/IamFrontendPermissionService.java index e1241ea..672c608 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/IamFrontendPermissionService.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/IamFrontendPermissionService.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.service; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/IamLoginTraceService.java b/iam-base-starter/src/main/java/com/diboot/iam/service/IamLoginTraceService.java index c796a09..cfc008f 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/IamLoginTraceService.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/IamLoginTraceService.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.service; import com.diboot.iam.entity.IamLoginTrace; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/IamRolePermissionService.java b/iam-base-starter/src/main/java/com/diboot/iam/service/IamRolePermissionService.java index e05a031..57b4e10 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/IamRolePermissionService.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/IamRolePermissionService.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.service; import com.diboot.iam.entity.IamFrontendPermission; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/IamRoleService.java b/iam-base-starter/src/main/java/com/diboot/iam/service/IamRoleService.java index 606dfb2..7a0195d 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/IamRoleService.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/IamRoleService.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.service; import com.diboot.iam.entity.IamRole; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/IamUserRoleService.java b/iam-base-starter/src/main/java/com/diboot/iam/service/IamUserRoleService.java index c4fe8c1..d5360b0 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/IamUserRoleService.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/IamUserRoleService.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.service; import com.diboot.iam.entity.IamRole; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/IamUserService.java b/iam-base-starter/src/main/java/com/diboot/iam/service/IamUserService.java index dc210f2..dad6362 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/IamUserService.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/IamUserService.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.service; import com.diboot.iam.dto.IamUserAccountDTO; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/BaseIamServiceImpl.java b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/BaseIamServiceImpl.java index f2e9abb..2e153e5 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/BaseIamServiceImpl.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/BaseIamServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.service.impl; import com.diboot.core.mapper.BaseCrudMapper; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamAccountServiceImpl.java b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamAccountServiceImpl.java index 8d2937d..27d1e4b 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamAccountServiceImpl.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamAccountServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.service.impl; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamFrontendPermissionServiceImpl.java b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamFrontendPermissionServiceImpl.java index 31862c9..a5b622f 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamFrontendPermissionServiceImpl.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamFrontendPermissionServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.service.impl; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamLoginTraceServiceImpl.java b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamLoginTraceServiceImpl.java index fcb882a..453922b 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamLoginTraceServiceImpl.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamLoginTraceServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.service.impl; import com.diboot.iam.entity.IamLoginTrace; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamRolePermissionServiceImpl.java b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamRolePermissionServiceImpl.java index efe79f7..ffe1a57 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamRolePermissionServiceImpl.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamRolePermissionServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.service.impl; import com.baomidou.mybatisplus.core.toolkit.Wrappers; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamRoleServiceImpl.java b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamRoleServiceImpl.java index 7d1fdc7..0766797 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamRoleServiceImpl.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamRoleServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.service.impl; import com.diboot.iam.entity.IamRole; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamUserRoleServiceImpl.java b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamUserRoleServiceImpl.java index e435154..fa1ed8f 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamUserRoleServiceImpl.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamUserRoleServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.service.impl; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamUserServiceImpl.java b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamUserServiceImpl.java index 1f41d77..7e6d703 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamUserServiceImpl.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/service/impl/IamUserServiceImpl.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.service.impl; import com.baomidou.mybatisplus.core.toolkit.Wrappers; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBaseAutoConfig.java b/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBaseAutoConfig.java index 1ae0297..bb9a0e3 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBaseAutoConfig.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBaseAutoConfig.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.starter; import com.diboot.core.service.impl.DictionaryServiceImpl; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBaseInitializer.java b/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBaseInitializer.java index ce732bd..403c71f 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBaseInitializer.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBaseInitializer.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.starter; import com.diboot.core.exception.BusinessException; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBasePluginManager.java b/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBasePluginManager.java index cbf0caf..a6b515f 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBasePluginManager.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBasePluginManager.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.starter; import com.diboot.core.plugin.PluginManager; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBaseProperties.java b/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBaseProperties.java index 9c4fd24..a96c1e8 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBaseProperties.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/starter/IamBaseProperties.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.starter; import lombok.Getter; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/starter/ShiroProxyConfig.java b/iam-base-starter/src/main/java/com/diboot/iam/starter/ShiroProxyConfig.java index 8bec11c..65c6b85 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/starter/ShiroProxyConfig.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/starter/ShiroProxyConfig.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.starter; import lombok.extern.slf4j.Slf4j; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/util/AnnotationUtils.java b/iam-base-starter/src/main/java/com/diboot/iam/util/AnnotationUtils.java index 1f4316f..08cd8e4 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/util/AnnotationUtils.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/util/AnnotationUtils.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.util; import com.diboot.core.util.S; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/util/BeanUtils.java b/iam-base-starter/src/main/java/com/diboot/iam/util/BeanUtils.java index e9d4d79..c010a0d 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/util/BeanUtils.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/util/BeanUtils.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.util; import com.diboot.core.util.IGetter; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/util/IamSecurityUtils.java b/iam-base-starter/src/main/java/com/diboot/iam/util/IamSecurityUtils.java index a1bfff1..c87c29c 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/util/IamSecurityUtils.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/util/IamSecurityUtils.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.util; import com.diboot.core.util.S; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/util/JwtUtils.java b/iam-base-starter/src/main/java/com/diboot/iam/util/JwtUtils.java index 26793be..7edbaa1 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/util/JwtUtils.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/util/JwtUtils.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.util; import com.diboot.core.config.BaseConfig; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/vo/IamAccountVO.java b/iam-base-starter/src/main/java/com/diboot/iam/vo/IamAccountVO.java index 20b4869..fbe35c1 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/vo/IamAccountVO.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/vo/IamAccountVO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.vo; import com.diboot.iam.entity.IamAccount; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/vo/IamFrontendPermissionListVO.java b/iam-base-starter/src/main/java/com/diboot/iam/vo/IamFrontendPermissionListVO.java index c03ecbd..7a34df7 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/vo/IamFrontendPermissionListVO.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/vo/IamFrontendPermissionListVO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.vo; import com.diboot.core.binding.annotation.BindDict; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/vo/IamFrontendPermissionVO.java b/iam-base-starter/src/main/java/com/diboot/iam/vo/IamFrontendPermissionVO.java index 328090f..f70694f 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/vo/IamFrontendPermissionVO.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/vo/IamFrontendPermissionVO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.vo; import com.alibaba.fastjson.annotation.JSONField; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/vo/IamLoginTraceVO.java b/iam-base-starter/src/main/java/com/diboot/iam/vo/IamLoginTraceVO.java index 8323b20..b2398e4 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/vo/IamLoginTraceVO.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/vo/IamLoginTraceVO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.vo; import com.diboot.core.binding.annotation.BindDict; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/vo/IamRolePermissionVO.java b/iam-base-starter/src/main/java/com/diboot/iam/vo/IamRolePermissionVO.java index ae0674e..51342ea 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/vo/IamRolePermissionVO.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/vo/IamRolePermissionVO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.vo; import com.diboot.iam.entity.IamRolePermission; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/vo/IamRoleVO.java b/iam-base-starter/src/main/java/com/diboot/iam/vo/IamRoleVO.java index 946197e..e269947 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/vo/IamRoleVO.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/vo/IamRoleVO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.vo; import com.diboot.core.binding.annotation.BindEntityList; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/vo/IamUserRoleVO.java b/iam-base-starter/src/main/java/com/diboot/iam/vo/IamUserRoleVO.java index 91b0531..08e85a3 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/vo/IamUserRoleVO.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/vo/IamUserRoleVO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.vo; import com.diboot.iam.entity.IamUserRole; diff --git a/iam-base-starter/src/main/java/com/diboot/iam/vo/IamUserVO.java b/iam-base-starter/src/main/java/com/diboot/iam/vo/IamUserVO.java index 4096764..115cd58 100644 --- a/iam-base-starter/src/main/java/com/diboot/iam/vo/IamUserVO.java +++ b/iam-base-starter/src/main/java/com/diboot/iam/vo/IamUserVO.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * https://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ package com.diboot.iam.vo; import com.diboot.core.binding.annotation.BindDict; diff --git a/license.txt b/license.txt new file mode 100644 index 0000000..7ac0026 --- /dev/null +++ b/license.txt @@ -0,0 +1,13 @@ +Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd). +

+Licensed under the Apache License, Version 2.0 (the "License"); you may not +use this file except in compliance with the License. You may obtain a copy of +the License at +

+https://www.apache.org/licenses/LICENSE-2.0 +

+Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +License for the specific language governing permissions and limitations under +the License. \ No newline at end of file