From 5d36e1f987ef21e44ded2e8a1d06c28094ec1e76 Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期六, 19 四月 2025 12:39:47 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- LICENSE | 238 +++++++++++++++++------------------------------------------ 1 files changed, 69 insertions(+), 169 deletions(-) diff --git a/LICENSE b/LICENSE index 261eeb9..23dddde 100644 --- a/LICENSE +++ b/LICENSE @@ -1,201 +1,101 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION +ZT PUBLIC LICENSE鎺堟潈鍗忚1.0 +ZT PUBLIC LICENSE 1.0 - 1. Definitions. +璁稿彲 - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. +ZT PUBLIC LICENSE 鐢遍潚宀涙櫤纰虫湭鏉ョ鎶�鏈夐檺鍏徃锛坵ww.zhitancloud.com锛夎捣鑽夛紝绠�绉癦TPL鍗忚銆� +浠讳綍浜哄潎鍙娇鐢ㄨ鍗忚鏉ュ彂甯冨紑婧愯蒋浠讹紝骞跺彲瀵逛笅闈㈠崗璁鏂囦腑浠ヤ笅鍒掔嚎鏍囨敞鐨勭┖鐧介儴鍒嗗仛鐩稿簲淇敼锛� +闄ゆ涔嬪鐨勪换浣曞唴瀹逛笉寰楀仛浠讳綍淇敼銆傞潚宀涙櫤纰虫湭鏉ョ鎶�鏈夐檺鍏徃鎷ユ湁瀵硅鍗忚鏉℃鐨勬渶缁堣В閲婃潈銆� - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. +鍓嶈█锛� - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. +___________锛堜互涓嬬畝绉拌杞欢锛夌敱_____________寮�鍙戯紙浠ヤ笅绠�绉版垜锛夈�傛垜渚濇硶鎷ユ湁璇ヨ蒋浠剁殑鎵�鏈夌増鏉冦�� +鏈潃鍏变韩寮�鏀剧殑瑙掑害锛屾垜浠ュ紑鏀炬簮浠g爜鐨勫舰寮忓彂甯冭杞欢銆傛偍鍙互鍦ㄩ伒瀹堣鍗忚鐨勫墠鎻愪笅浣跨敤璇ヨ蒋浠躲�� +鑷偍瀹夎璇ヨ蒋浠跺紑濮嬶紝鎮ㄥ拰鎴戜箣闂寸殑鍚堝悓鍏崇郴鑷姩鎴愮珛銆傞櫎闈炴偍鍋滄浣跨敤璇ヨ蒋浠舵垨涓庢垜鏈夌缃查澶栧悎鍚岋紝 +鎮ㄩ』璁ょ湡閬靛惊璇ユ巿鏉冨崗璁害瀹氱殑姣忎竴鏉℃銆� - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. +鎴戠殑鑱旂郴鏂瑰紡锛歘__________________________________________________________________銆� - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. +绾﹀畾: - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. +涓嬭堪鏉℃涓墍鎸囪杞欢鐨勬爣蹇楀寘鎷涓嬫柟闈細 - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). +璇ヨ蒋浠舵簮浠g爜鍙婃枃妗d腑鍏充簬璇ヨ蒋浠剁殑鐗堟潈鎻愮ず銆佹枃瀛椼�佸浘鐗囧拰閾炬帴銆� +璇ヨ蒋浠惰繍琛屾椂鐣岄潰涓婂憟鐜板嚭鏉ョ殑鏈夊叧璇ヨ蒋浠剁殑鏂囧瓧銆佸浘鐗囧拰閾炬帴銆� +_________________________________________________銆� - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. +涓嶅寘鎷涓嬫柟闈細 - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." +璇ヨ蒋浠舵彁渚涚殑婕旂ず鏁版嵁涓叧浜庤杞欢鐨勬枃瀛椼�佸浘鐗囧拰閾炬帴銆� +_________________________________________________銆� - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. +涓�銆佸厤璐� - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. +璇ヨ蒋浠舵槸浠ュ紑鏀炬簮浠g爜鐨勬柟寮忓彂琛岋紝鎮ㄤ娇鐢ㄨ杞欢鏃犻渶浠讳綍璐圭敤锛屽洜姝ゅ湪浣跨敤璇ヨ蒋浠跺墠锛屾偍椤荤煡鏅擄細 - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. +1.1 鎴戞病鏈夊璇ヨ蒋浠舵彁渚涗换浣曟妧鏈敮鎸佺殑涔夊姟锛屾偍鍙仈绯绘垜璐拱鍟嗕笟鐨勬妧鏈敮鎸併�� +1.2 鎴戝鍥犱娇鐢ㄨ杞欢鑰屼骇鐢熺洿鎺ユ垨闂存帴鐨勪换浣曢棶棰樹笉璐熶换浣曡矗浠汇�� +1.3 寮�婧愪笉绛変簬鍏嶈垂锛屽紑婧愪笉绛変簬鏃犵増鏉冿紝寮�婧愯蒋浠剁殑鍙戝睍闇�瑕佹偍鎴戝叡鍚岀殑鍔姏銆� - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: +浜屻�佽嚜鐢ㄨ杞欢 - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and +2.1 鎮ㄤ釜浜烘垨鎮ㄥ氨鑱岀殑鍏徃锛堢粍缁囷級鍙嚜鐢变娇鐢ㄨ杞欢锛屾垜涓嶅鎮ㄦ垨鎮ㄥ氨鑱屽叕鍙革紙缁勭粐锛夌殑鎬ц川鍋氫换浣曢檺鍒躲�� +2.2 鎮ㄥ彲浠ュ湪鎮ㄤ釜浜烘垨鎮ㄥ氨鑱屽叕鍙革紙缁勭粐锛変换鎰忔暟閲忕殑鐢佃剳涓婅繍琛岃杞欢锛屾垜涓嶅鐢佃剳鐨勬暟閲忓仛浠讳綍闄愬埗銆� +2.3 鎮ㄥ彲浠ュ璇ヨ蒋浠舵簮浠g爜杩涜淇敼浠ラ�傚簲鎮ㄤ釜浜烘垨鎮ㄦ墍鍦ㄥ叕鍙革紙缁勭粐锛変娇鐢ㄧ殑瑕佹眰锛屾偍鍋氱殑鏀瑰姩鏃犻渶瀵瑰鍙戝竷銆� +2.4 鎮ㄤ釜浜烘垨鎮ㄥ氨鑱屽叕鍙革紙缁勭粐锛変娇鐢ㄨ杞欢鏃讹紝蹇呴』淇濈暀璇ヨ蒋浠剁殑鎵�鏈夋爣蹇楋紝涓嶅緱浠ヤ换浣曟柟寮忛殣钘忔垨閬帺浠讳竴鏍囧織銆� - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and +涓夈�佷负鐢ㄦ埛瀹氬埗 - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and +3.1 鎮ㄥ彲浠ヤ娇鐢ㄨ杞欢涓烘偍鐨勭敤鎴烽儴缃插悇绉嶅舰寮忕殑搴旂敤锛屾垜涓嶅搴旂敤鐨勬�ц川鍋氫换浣曢檺鍒躲�� +3.2 鎮ㄥ彲浠ヤ娇鐢ㄨ杞欢涓烘偍鐨勭敤鎴烽儴缃蹭换鎰忔暟閲忕殑搴旂敤锛屾垜涓嶅搴旂敤鐨勬暟閲忓仛浠讳綍闄愬埗銆� +3.3 鎮ㄥ彲浠ュ璇ヨ蒋浠舵簮浠g爜杩涜淇敼浠ラ�傚簲鎮ㄧ殑鐢ㄦ埛鐨勮姹傦紝鎮ㄥ仛鐨勬敼鍔ㄦ棤闇�瀵瑰鍙戝竷銆� +3.4 鎮ㄥ璇ヨ蒋浠舵簮浠g爜鎵�鍋氱殑淇敼鍙互婧愪唬鐮佹垨浜岃繘鍒剁殑鏂瑰紡鎻愪緵缁欐偍鐨勭敤鎴枫�� +3.5 鎮ㄤ娇鐢ㄨ杞欢涓烘偍鐨勪换涓�鐢ㄦ埛閮ㄧ讲鐨勪换涓�搴旂敤閮藉繀椤讳繚鐣欒杞欢鎵�鏈夌殑鏍囧織銆� +3.6 鎮ㄤ娇鐢ㄨ杞欢涓烘偍鐨勪换涓�鐢ㄦ埛閮ㄧ讲鐨勪换涓�搴旂敤閮戒笉寰椾互浠讳綍鏂瑰紡闅愯棌鎴栭伄鎺╄杞欢浠讳竴鏍囧織銆� - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. +鍥涖�佹彁渚涘湪绾挎湇鍔� - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. +4.1 鎮ㄥ彲浠ヤ娇鐢ㄨ杞欢鎼缓鍦ㄧ嚎鏈嶅姟锛屼负鎮ㄧ殑鐢ㄦ埛鎻愪緵鏈嶅姟锛屾垜涓嶅璇ユ湇鍔″強璇ユ湇鍔$敤鎴风殑鎬ц川鍋氫换浣曢檺鍒躲�� +4.2 鎮ㄥ彲浠ヤ娇鐢ㄨ杞欢鎼缓鍦ㄧ嚎鏈嶅姟锛屼负鎮ㄧ殑鐢ㄦ埛鎻愪緵鏈嶅姟锛屾垜涓嶅璇ユ湇鍔$殑鐢ㄦ埛鏁伴噺鍋氫换浣曢檺鍒躲�� +4.3 鎮ㄥ彲浠ュ璇ヨ蒋浠舵簮浠g爜杩涜淇敼浠ラ�傚簲鍦ㄧ嚎鏈嶅姟鐨勮姹傦紝鎮ㄥ仛鐨勬敼鍔ㄦ棤闇�瀵瑰鍙戝竷銆� +4.4 鎮ㄤ娇鐢ㄨ杞欢鎼缓鍦ㄧ嚎鏈嶅姟鏃讹紝蹇呴』浠ユ槑纭殑鏂瑰紡鍛婄煡鎮ㄧ殑鐢ㄦ埛璇ユ湇鍔℃槸鍩轰簬璇ヨ蒋浠舵惌寤虹殑銆� +4.5 鎮ㄤ娇鐢ㄨ杞欢鎼缓鍦ㄧ嚎鏈嶅姟涓烘偍鐨勪换涓�鐢ㄦ埛閮ㄧ讲鐨勪换涓�搴旂敤蹇呴』淇濈暀璇ヨ蒋浠舵墍鏈夌殑鏍囧織銆� +4.6 鎮ㄤ娇鐢ㄨ杞欢鎼缓鍦ㄧ嚎鏈嶅姟涓烘偍鐨勪换涓�鐢ㄦ埛閮ㄧ讲鐨勪换涓�搴旂敤涓嶅緱浠ヤ换浣曟柟寮忛殣钘忔垨閬帺璇ヨ蒋浠朵换涓�鏍囧織銆� +4.7 鎮ㄤ娇鐢ㄨ杞欢鎼缓鍦ㄧ嚎鏈嶅姟鏃讹紝涓嶅緱涓烘偍鐨勭敤鎴锋彁渚涘幓闄ゃ�侀殣钘忔垨閬帺璇ヨ蒋浠朵换涓�鏍囧織鐨勫姛鑳姐�� - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. +浜斻�佹棤鏀瑰姩鍙戝竷鎴栭泦鎴愯杞欢 - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. +5.1 鎴戞杩庡苟鎰熻阿鎮ㄥ皢璇ヨ蒋浠跺彂甯冨湪鎮ㄧ殑涓汉缃戠珯銆佷紒涓氬畼缃戞垨鑰呭叾浠栫殑绗笁鏂圭綉绔欍�� +5.2 鎴戞杩庡苟鎰熻阿鎮ㄥ皢璇ヨ蒋浠堕泦鎴愬湪鍏朵粬绯荤粺涓竴璧峰彂甯冿紝姣斿浜戞湇鍔¢暅鍍忋�佹搷浣滅郴缁熷彂琛岀増绛夈�� +5.3 鎮ㄥ湪鍙戝竷鎴栬�呴泦鎴愯杞欢鐨勬椂鍊欙紝涓嶅緱瀵硅杞欢婧愮爜鍋氫换浣曟敼鍔ㄣ�� +5.4 鎮ㄥ湪鍙戝竷鎴栬�呴泦鎴愯杞欢鐨勬椂鍊欙紝椤讳繚鐣欒杞欢鐨勬墍鏈夋爣蹇椼�� - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. +鍏�佸彂甯冨熀浜庤杞欢鐨勮鐢熶綔鍝� - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. +6.1 鎴戞杩庡苟鎰熻阿鎮ㄤ负璇ヨ蒋浠跺紑鍙戣鐢熶綔鍝併�� +6.2 鎮ㄥ紑鍙戠殑琛嶇敓浣滃搧涓秹鍙婂埌瀵硅杞欢婧愪唬鐮佹敼鍔ㄧ殑鍦版柟锛岄』閬靛惊濡備笅鏉℃锛� - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. +6.2.1 濡備慨鏀逛簡璇ヨ蒋浠剁殑婧愪唬鐮侊紝椤讳緷鎹湰鍗忚鍙戝竷淇敼鍚庣殑婧愪唬鐮併�� +6.2.2 濡備慨鏀逛簡璇ヨ蒋浠剁殑婧愪唬鐮侊紝椤讳繚鐣欎唬鐮侀噷闈㈣杞欢鍘熸湁鐨勬墍鏈夋爣蹇椼�� +6.2.3 鎮ㄥ彲浠ュ湪浠g爜涓拷鍔犳偍鑷繁鐨勬爣蹇椼�� +6.2.4 鎮ㄥ彲浠ュ鎮ㄥ紑鍙戠殑琛嶇敓浣滃搧杩涜鏀惰垂銆� +6.2.5 绗笁鏂圭殑鐢ㄦ埛鍙湪閬靛惊6.2鎵�鏈夋潯娆句笅鍙户缁湪鎮ㄥ紑鍙戠殑琛嶇敓浣滃搧鍩虹涓婅繘琛屼慨鏀瑰苟鍙戝竷銆� - END OF TERMS AND CONDITIONS +6.3 鎮ㄥ紑鍙戠殑琛嶇敓浣滃搧涓嫭绔嬩簬鏈蒋浠跺紑鍙戠殑浠g爜锛屽彲浠ユ簮浠g爜鎴栦簩杩涘埗鐨勬柟寮忚繘琛屽彂甯冿紝鍙厤璐规垨鏀惰垂鍙戝竷銆� +6.4 鎮ㄥ紑鍙戠殑琛嶇敓浣滃搧涓嶅緱浠ヤ换浣曟柟寮忓幓闄ゃ�侀殣钘忔垨閬帺璇ヨ蒋浠剁殑浠讳竴鏍囧織銆� - APPENDIX: How to apply the Apache License to your work. +涓冦�佸彂甯冨熀浜庤杞欢API鐨勫簲鐢� - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. +7.1 鎴戞杩庡苟鎰熻阿鎮ㄤ负璇ヨ蒋浠跺紑鍙戝熀浜嶢PI鐨勫悇绉嶅簲鐢紝姣斿瀹㈡埛绔蒋浠剁瓑銆� +7.2 鎮ㄥ熀浜庤杞欢API鏈哄埗寮�鍙戠殑搴旂敤锛屽彲浠ユ簮浠g爜鎴栬�呬簩杩涘埗鐨勬柟寮忚繘琛屽彂甯冿紝鎴戝姝ゆ病鏈変换浣曢檺鍒躲�� +7.3 鎮ㄥ熀浜庤杞欢API鏈哄埗寮�鍙戠殑搴旂敤锛屾巿鏉冨崗璁彲浠ヨ嚜琛岀害瀹氾紝鎴戝姝ゆ病鏈変换浣曢檺鍒躲�� +7.4 鎮ㄥ熀浜庤杞欢API鏈哄埗寮�鍙戠殑搴旂敤锛屽彲浠ュ厤璐规垨鑰呮敹璐瑰彂甯冿紝鎴戝姝ゆ病鏈変换浣曢檺鍒躲�� - Copyright [yyyy] [name of copyright owner] +鍏�佹巿鏉冧緥澶� - 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 +濡傛灉涓婅堪鏉℃鏃犳硶婊¤冻鎮ㄤ娇鐢ㄨ杞欢鐨勮姹傦紝鍙仈绯绘垜绛剧讲棰濆鐨勫悎鍚屼互鑾峰緱鏇寸伒娲荤殑鎺堟潈璁稿彲銆� - http://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. +9.1 濡傛灉鎮ㄨ繚鍙嶄簡璇ュ崗璁殑浠讳竴鏉℃锛岃鎺堟潈鍗忚灏嗚嚜鍔ㄧ粓姝紝鎴戜繚鐣欓�氳繃娉曞緥鎵嬫杩界┒璐d换鐨勬潈鍒┿�� \ No newline at end of file -- Gitblit v1.9.3