mm_os 2.9.2 → 2.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cache/route/main/config.json +1 -0
- package/cache/sys/app_admin/config.json +1 -0
- package/cache/sys/main/config.json +1 -0
- package/cache/sys/mqtt_engine/config.json +1 -0
- package/cache/sys/user/config.json +1 -0
- package/cache/user/main/config.json +1 -0
- package/core/com/mqtt/index.js +4 -4
- package/core/com/task/drive.js +7 -2
- package/core/com/task/index.js +2 -0
- package/demo/app/dev/LICENSE +201 -0
- package/demo/app/dev/README.md +1 -0
- package/demo/app/dev/app.js +147 -0
- package/demo/app/dev/app.json +12 -0
- package/demo/app/dev/event_api/client/event.json +10 -0
- package/demo/app/dev/event_api/client/main.js +17 -0
- package/demo/app/dev/event_api/manage/event.json +19 -0
- package/demo/app/dev/event_api/manage/main.js +26 -0
- package/demo/app/dev/plugin/doc/static/api_list.html +144 -0
- package/demo/app/dev/plugin/doc/static/api_view.html +692 -0
- package/demo/app/dev/plugin/doc/static/index.html +138 -0
- package/demo/app/dev/plugin/doc/static/request_test.html +311 -0
- package/demo/app/dev/plugin/doc/static/static.js +28 -0
- package/demo/app/dev/plugin/doc/static/static.json +20 -0
- package/demo/app/dev/plugin/main/api_dev_client/api/api.json +10 -0
- package/demo/app/dev/plugin/main/api_dev_client/api/index.js +54 -0
- package/demo/app/dev/plugin/main/api_dev_client/api/param.json +31 -0
- package/demo/app/dev/plugin/main/api_dev_client/app/api.json +13 -0
- package/demo/app/dev/plugin/main/api_dev_client/app/index.js +13 -0
- package/demo/app/dev/plugin/main/api_dev_client/app/param.json +147 -0
- package/demo/app/dev/plugin/main/api_dev_client/app/sql.json +28 -0
- package/demo/app/dev/plugin/main/api_dev_client/auto/api.json +37 -0
- package/demo/app/dev/plugin/main/api_dev_client/auto/auto_db.js +70 -0
- package/demo/app/dev/plugin/main/api_dev_client/auto/auto_file.js +32 -0
- package/demo/app/dev/plugin/main/api_dev_client/auto/index.js +51 -0
- package/demo/app/dev/plugin/main/api_dev_client/auto/param.json +51 -0
- package/demo/app/dev/plugin/main/api_dev_client/com.js +348 -0
- package/demo/app/dev/plugin/main/api_dev_client/db/api.json +10 -0
- package/demo/app/dev/plugin/main/api_dev_client/db/index.js +69 -0
- package/demo/app/dev/plugin/main/api_dev_client/db/param.json +31 -0
- package/demo/app/dev/plugin/main/api_dev_client/dict/api.json +10 -0
- package/demo/app/dev/plugin/main/api_dev_client/dict/index.js +49 -0
- package/demo/app/dev/plugin/main/api_dev_client/dict/param.json +29 -0
- package/demo/app/dev/plugin/main/api_dev_client/event/api.json +10 -0
- package/demo/app/dev/plugin/main/api_dev_client/event/index.js +31 -0
- package/demo/app/dev/plugin/main/api_dev_client/event/param.json +31 -0
- package/demo/app/dev/plugin/main/api_dev_client/help/api.json +10 -0
- package/demo/app/dev/plugin/main/api_dev_client/help/index.js +14 -0
- package/demo/app/dev/plugin/main/api_dev_client/help/param.json +31 -0
- package/demo/app/dev/plugin/main/api_dev_client/nav/api.json +10 -0
- package/demo/app/dev/plugin/main/api_dev_client/nav/index.js +36 -0
- package/demo/app/dev/plugin/main/api_dev_client/nav/param.json +36 -0
- package/demo/app/dev/plugin/main/api_dev_client/plugin/api.json +10 -0
- package/demo/app/dev/plugin/main/api_dev_client/plugin/index.js +13 -0
- package/demo/app/dev/plugin/main/api_dev_client/plugin/param.json +31 -0
- package/demo/app/dev/plugin/main/api_dev_client/source/api.json +10 -0
- package/demo/app/dev/plugin/main/api_dev_client/source/index.js +14 -0
- package/demo/app/dev/plugin/main/api_dev_client/source/param.json +31 -0
- package/demo/app/dev/plugin/main/api_dev_client/sql/api.json +10 -0
- package/demo/app/dev/plugin/main/api_dev_client/sql/index.js +13 -0
- package/demo/app/dev/plugin/main/api_dev_client/sql/param.json +31 -0
- package/demo/app/dev/plugin/main/api_dev_client/task/api.json +16 -0
- package/demo/app/dev/plugin/main/api_dev_client/task/index.js +13 -0
- package/demo/app/dev/plugin/main/api_dev_client/task/param.json +31 -0
- package/demo/app/dev/plugin/main/api_dev_client/translate/api.json +39 -0
- package/demo/app/dev/plugin/main/api_dev_client/translate/index.js +43 -0
- package/demo/app/dev/plugin/main/api_dev_client/translate/param.json +130 -0
- package/demo/app/dev/plugin/main/api_dev_client/translate/sql.json +62 -0
- package/demo/app/dev/plugin/main/api_dev_client/ui/api.json +10 -0
- package/demo/app/dev/plugin/main/api_dev_client/ui/index.js +146 -0
- package/demo/app/dev/plugin/main/api_dev_client/ui/param.json +31 -0
- package/demo/app/dev/plugin/main/api_dev_client/view/api.json +10 -0
- package/demo/app/dev/plugin/main/api_dev_client/view/index.js +100 -0
- package/demo/app/dev/plugin/main/api_dev_client/view/param.json +29 -0
- package/demo/app/dev/plugin/main/api_dev_client/view/tpl/block/nav.vue +12 -0
- package/demo/app/dev/plugin/main/api_dev_client/view/tpl/block/obj.vue +12 -0
- package/demo/app/dev/plugin/main/api_dev_client/view/tpl/block/post.vue +12 -0
- package/demo/app/dev/plugin/main/api_dev_client/view/tpl/block/query.vue +12 -0
- package/demo/app/dev/plugin/main/api_dev_client/view/tpl/page/edit.vue +39 -0
- package/demo/app/dev/plugin/main/api_dev_client/view/tpl/page/list.vue +12 -0
- package/demo/app/dev/plugin/main/api_dev_client/view/tpl/page/search.vue +12 -0
- package/demo/app/dev/plugin/main/api_dev_client/view/tpl/page/table.vue +12 -0
- package/demo/app/dev/plugin/main/api_dev_client/view/tpl/page/type.vue +12 -0
- package/demo/app/dev/plugin/main/api_dev_client/view/tpl/page/view.vue +56 -0
- package/demo/app/dev/plugin/main/api_dev_client/view/tpl/view.json +48 -0
- package/demo/app/dev/plugin/main/api_dev_manage/auto_subject/api.json +37 -0
- package/demo/app/dev/plugin/main/api_dev_manage/auto_subject/auto_db.js +120 -0
- package/demo/app/dev/plugin/main/api_dev_manage/auto_subject/copy/copy.js +101 -0
- package/demo/app/dev/plugin/main/api_dev_manage/auto_subject/copy/copy_framework.js +118 -0
- package/demo/app/dev/plugin/main/api_dev_manage/auto_subject/copy/copy_template.js +78 -0
- package/demo/app/dev/plugin/main/api_dev_manage/auto_subject/copy_file.js +97 -0
- package/demo/app/dev/plugin/main/api_dev_manage/auto_subject/create/common.js +198 -0
- package/demo/app/dev/plugin/main/api_dev_manage/auto_subject/create/django_server.js +104 -0
- package/demo/app/dev/plugin/main/api_dev_manage/auto_subject/create/helper.js +161 -0
- package/demo/app/dev/plugin/main/api_dev_manage/auto_subject/create/koa_art_server.js +102 -0
- package/demo/app/dev/plugin/main/api_dev_manage/auto_subject/create/mini_app_home.js +415 -0
- package/demo/app/dev/plugin/main/api_dev_manage/auto_subject/create/razor.js +0 -0
- package/demo/app/dev/plugin/main/api_dev_manage/auto_subject/create/springboot.js +0 -0
- package/demo/app/dev/plugin/main/api_dev_manage/auto_subject/create/thinkphp.js +0 -0
- package/demo/app/dev/plugin/main/api_dev_manage/auto_subject/create/uni_app_home.js +418 -0
- package/demo/app/dev/plugin/main/api_dev_manage/auto_subject/create/vue_cli_admin.js +78 -0
- package/demo/app/dev/plugin/main/api_dev_manage/auto_subject/create/vue_cli_home.js +112 -0
- package/demo/app/dev/plugin/main/api_dev_manage/auto_subject/create_file.js +97 -0
- package/demo/app/dev/plugin/main/api_dev_manage/auto_subject/db/add_data.js +221 -0
- package/demo/app/dev/plugin/main/api_dev_manage/auto_subject/db/create_table.js +162 -0
- package/demo/app/dev/plugin/main/api_dev_manage/auto_subject/db/set_auth_table.js +86 -0
- package/demo/app/dev/plugin/main/api_dev_manage/auto_subject/index.js +524 -0
- package/demo/app/dev/plugin/main/api_dev_manage/auto_subject/param.json +37 -0
- package/demo/app/route/app.js +131 -0
- package/demo/app/route/app.json +11 -0
- package/demo/app/route/event_api/client/event.json +10 -0
- package/demo/app/route/event_api/client/main.js +19 -0
- package/demo/app/route/event_api/manage/event.json +18 -0
- package/demo/app/route/event_api/manage/main.js +70 -0
- package/demo/app/route/plugin/main/api_route_client/pass/api.json +37 -0
- package/demo/app/route/plugin/main/api_route_client/pass/index.js +33 -0
- package/demo/app/route/plugin/main/api_route_client/pass/param.json +50 -0
- package/demo/app/route/plugin/main/index.js +144 -0
- package/demo/app/route/plugin/main/plugin.json +20 -0
- package/demo/app/sys/.gitmodules +3 -0
- package/demo/app/sys/LICENSE +201 -0
- package/demo/app/sys/README.md +1 -0
- package/demo/app/sys/app.js +148 -0
- package/demo/app/sys/app.json +10 -0
- package/demo/app/sys/event_api/api/after.js +12 -0
- package/demo/app/sys/event_api/api/before.js +78 -0
- package/demo/app/sys/event_api/api/check.js +56 -0
- package/demo/app/sys/event_api/api/event.json +41 -0
- package/demo/app/sys/event_api/api/main.js +17 -0
- package/demo/app/sys/event_api/apis/before.js +76 -0
- package/demo/app/sys/event_api/apis/event.json +21 -0
- package/demo/app/sys/event_api/apis/main.js +17 -0
- package/demo/app/sys/event_api/client/event.json +10 -0
- package/demo/app/sys/event_api/client/main.js +15 -0
- package/demo/app/sys/event_api/doc/event.json +18 -0
- package/demo/app/sys/event_api/doc/main.js +67 -0
- package/demo/app/sys/event_api/img/event.json +11 -0
- package/demo/app/sys/event_api/img/main.js +90 -0
- package/demo/app/sys/event_api/manage/event.json +10 -0
- package/demo/app/sys/event_api/manage/main.js +15 -0
- package/demo/app/sys/event_api/upload/event.json +10 -0
- package/demo/app/sys/event_api/upload/main.js +15 -0
- package/demo/app/sys/event_api/web/check.js +34 -0
- package/demo/app/sys/event_api/web/event.json +39 -0
- package/demo/app/sys/event_api/web/main.js +36 -0
- package/demo/app/sys/event_api/ws/event.json +10 -0
- package/demo/app/sys/event_api/ws/main.js +15 -0
- package/demo/app/sys/plugin/app_admin/index.js +127 -0
- package/demo/app/sys/plugin/app_admin/plugin.json +20 -0
- package/demo/app/sys/plugin/main/api_client/activation/api.json +29 -0
- package/demo/app/sys/plugin/main/api_client/activation/index.js +185 -0
- package/demo/app/sys/plugin/main/api_client/activation/param.json +56 -0
- package/demo/app/sys/plugin/main/api_client/app_balance/api.json +18 -0
- package/demo/app/sys/plugin/main/api_client/app_balance/index.js +61 -0
- package/demo/app/sys/plugin/main/api_client/app_balance/param.json +36 -0
- package/demo/app/sys/plugin/main/api_client/app_pay/api.json +23 -0
- package/demo/app/sys/plugin/main/api_client/app_pay/index.js +65 -0
- package/demo/app/sys/plugin/main/api_client/app_pay/param.json +61 -0
- package/demo/app/sys/plugin/main/api_client/app_state/api.json +27 -0
- package/demo/app/sys/plugin/main/api_client/app_state/index.js +46 -0
- package/demo/app/sys/plugin/main/api_client/app_state/param.json +36 -0
- package/demo/app/sys/plugin/main/api_client/component/api.json +27 -0
- package/demo/app/sys/plugin/main/api_client/component/index.js +331 -0
- package/demo/app/sys/plugin/main/api_client/config/api.json +37 -0
- package/demo/app/sys/plugin/main/api_client/config/index.js +36 -0
- package/demo/app/sys/plugin/main/api_client/config/param.json +27 -0
- package/demo/app/sys/plugin/main/api_client/config/sql.json +70 -0
- package/demo/app/sys/plugin/main/api_client/download/api.json +37 -0
- package/demo/app/sys/plugin/main/api_client/download/index.js +60 -0
- package/demo/app/sys/plugin/main/api_client/download/param.json +34 -0
- package/demo/app/sys/plugin/main/api_client/install/api.json +24 -0
- package/demo/app/sys/plugin/main/api_client/install/index.js +216 -0
- package/demo/app/sys/plugin/main/api_client/install/param.json +64 -0
- package/demo/app/sys/plugin/main/api_client/lang/api.json +37 -0
- package/demo/app/sys/plugin/main/api_client/lang/index.js +27 -0
- package/demo/app/sys/plugin/main/api_client/lang/param.json +22 -0
- package/demo/app/sys/plugin/main/api_client/nav/api.json +15 -0
- package/demo/app/sys/plugin/main/api_client/nav/index.js +37 -0
- package/demo/app/sys/plugin/main/api_client/nav/param.json +87 -0
- package/demo/app/sys/plugin/main/api_client/overview/api.json +24 -0
- package/demo/app/sys/plugin/main/api_client/overview/index.js +29 -0
- package/demo/app/sys/plugin/main/api_client/overview/param.json +130 -0
- package/demo/app/sys/plugin/main/api_client/overview/sql.json +70 -0
- package/demo/app/sys/plugin/main/api_client/query/api.json +35 -0
- package/demo/app/sys/plugin/main/api_client/query/index.js +48 -0
- package/demo/app/sys/plugin/main/api_client/theme/api.json +37 -0
- package/demo/app/sys/plugin/main/api_client/theme/index.js +30 -0
- package/demo/app/sys/plugin/main/api_client/theme/param.json +31 -0
- package/demo/app/sys/plugin/main/api_client/translate/api.json +39 -0
- package/demo/app/sys/plugin/main/api_client/translate/index.js +21 -0
- package/demo/app/sys/plugin/main/api_client/translate/param.json +130 -0
- package/demo/app/sys/plugin/main/api_client/translate/sql.json +62 -0
- package/demo/app/sys/plugin/main/api_client/version/api.json +29 -0
- package/demo/app/sys/plugin/main/api_client/version/index.js +132 -0
- package/demo/app/sys/plugin/main/api_client/version/param.json +130 -0
- package/demo/app/sys/plugin/main/api_client/zip/api.json +31 -0
- package/demo/app/sys/plugin/main/api_client/zip/index.js +29 -0
- package/demo/app/sys/plugin/main/api_client/zip/param.json +48 -0
- package/demo/app/sys/plugin/main/api_sys_client/count/api.json +27 -0
- package/demo/app/sys/plugin/main/api_sys_client/count/index.js +73 -0
- package/demo/app/sys/plugin/main/api_sys_client/lang/api.json +37 -0
- package/demo/app/sys/plugin/main/api_sys_client/lang/index.js +28 -0
- package/demo/app/sys/plugin/main/api_sys_client/lang/param.json +22 -0
- package/demo/app/sys/plugin/main/api_sys_client/log/api.json +29 -0
- package/demo/app/sys/plugin/main/api_sys_client/log/index.js +42 -0
- package/demo/app/sys/plugin/main/api_sys_client/log/param.json +130 -0
- package/demo/app/sys/plugin/main/api_sys_client/options/api.json +30 -0
- package/demo/app/sys/plugin/main/api_sys_client/options/index.js +28 -0
- package/demo/app/sys/plugin/main/api_sys_client/options/param.json +130 -0
- package/demo/app/sys/plugin/main/api_sys_client/query/api.json +35 -0
- package/demo/app/sys/plugin/main/api_sys_client/query/index.js +48 -0
- package/demo/app/sys/plugin/main/api_sys_client/theme/api.json +37 -0
- package/demo/app/sys/plugin/main/api_sys_client/theme/index.js +30 -0
- package/demo/app/sys/plugin/main/api_sys_client/theme/param.json +31 -0
- package/demo/app/sys/plugin/main/api_sys_web/index/api.json +37 -0
- package/demo/app/sys/plugin/main/api_sys_web/index/index.js +26 -0
- package/demo/app/sys/plugin/main/api_upload/chunk/api.json +29 -0
- package/demo/app/sys/plugin/main/api_upload/chunk/index.js +38 -0
- package/demo/app/sys/plugin/main/api_upload/chunk/param.json +27 -0
- package/demo/app/sys/plugin/main/api_upload/delete/api.json +29 -0
- package/demo/app/sys/plugin/main/api_upload/delete/index.js +38 -0
- package/demo/app/sys/plugin/main/api_upload/delete/param.json +27 -0
- package/demo/app/sys/plugin/main/api_upload/file/api.json +15 -0
- package/demo/app/sys/plugin/main/api_upload/file/index.js +114 -0
- package/demo/app/sys/plugin/main/api_upload/file/param.json +9 -0
- package/demo/app/sys/plugin/main/api_upload/image/api.json +16 -0
- package/demo/app/sys/plugin/main/api_upload/image/index.js +45 -0
- package/demo/app/sys/plugin/main/api_upload/image/param.json +9 -0
- package/demo/app/sys/plugin/main/api_upload/merge/api.json +29 -0
- package/demo/app/sys/plugin/main/api_upload/merge/index.js +38 -0
- package/demo/app/sys/plugin/main/api_upload/merge/param.json +27 -0
- package/demo/app/sys/plugin/main/api_upload/video/api.json +29 -0
- package/demo/app/sys/plugin/main/api_upload/video/index.js +48 -0
- package/demo/app/sys/plugin/main/api_upload/video/param.json +25 -0
- package/demo/app/sys/plugin/main/index.js +127 -0
- package/demo/app/sys/plugin/main/plugin.json +19 -0
- package/demo/app/sys/plugin/main/static/article_list.vue +488 -0
- package/demo/app/sys/plugin/main/static/img/logo.png +0 -0
- package/demo/app/sys/plugin/main/static/static.json +18 -0
- package/demo/app/sys/plugin/main/task/task_demo/index.js +37 -0
- package/demo/app/sys/plugin/main/task/task_demo/task.json +24 -0
- package/demo/app/sys/plugin/mqtt_engine/LICENSE +201 -0
- package/demo/app/sys/plugin/mqtt_engine/api_sys_client/scheme/api.json +33 -0
- package/demo/app/sys/plugin/mqtt_engine/api_sys_client/scheme/index.js +31 -0
- package/demo/app/sys/plugin/mqtt_engine/api_sys_client/scheme/param.json +130 -0
- package/demo/app/sys/plugin/mqtt_engine/index.js +51 -0
- package/demo/app/sys/plugin/mqtt_engine/mqtt/df/index.js +509 -0
- package/demo/app/sys/plugin/mqtt_engine/mqtt/df/mqtt.json +24 -0
- package/demo/app/sys/plugin/mqtt_engine/mqtt/zs/index.js +622 -0
- package/demo/app/sys/plugin/mqtt_engine/mqtt/zs/mqtt.json +36 -0
- package/demo/app/sys/plugin/mqtt_engine/plugin.json +21 -0
- package/demo/app/sys/plugin/mqtt_engine/static/img/logo.png +0 -0
- package/demo/app/sys/plugin/mqtt_engine/static/img/logo1.png +0 -0
- package/demo/app/sys/plugin/mqtt_engine/static/static.json +18 -0
- package/demo/app/sys/plugin/server/api_sys_client/ad/api.json +12 -0
- package/demo/app/sys/plugin/server/api_sys_client/ad/param.json +685 -0
- package/demo/app/sys/plugin/server/api_sys_client/ad/sql.json +114 -0
- package/demo/app/sys/plugin/server/api_sys_client/address_province/api.json +12 -0
- package/demo/app/sys/plugin/server/api_sys_client/address_province/param.json +156 -0
- package/demo/app/sys/plugin/server/api_sys_client/address_province/sql.json +25 -0
- package/demo/app/sys/plugin/server/api_sys_client/app/api.json +12 -0
- package/demo/app/sys/plugin/server/api_sys_client/app/param.json +437 -0
- package/demo/app/sys/plugin/server/api_sys_client/app/sql.json +71 -0
- package/demo/app/sys/plugin/server/api_sys_client/app_refresh/api.json +12 -0
- package/demo/app/sys/plugin/server/api_sys_client/app_refresh/param.json +158 -0
- package/demo/app/sys/plugin/server/api_sys_client/app_refresh/sql.json +28 -0
- package/demo/app/sys/plugin/server/api_sys_client/block/api.json +12 -0
- package/demo/app/sys/plugin/server/api_sys_client/block/param.json +318 -0
- package/demo/app/sys/plugin/server/api_sys_client/block/sql.json +48 -0
- package/demo/app/sys/plugin/server/api_sys_client/config/api.json +12 -0
- package/demo/app/sys/plugin/server/api_sys_client/config/param.json +259 -0
- package/demo/app/sys/plugin/server/api_sys_client/config/sql.json +93 -0
- package/demo/app/sys/plugin/server/api_sys_client/file/api.json +12 -0
- package/demo/app/sys/plugin/server/api_sys_client/file/param.json +268 -0
- package/demo/app/sys/plugin/server/api_sys_client/file/sql.json +30 -0
- package/demo/app/sys/plugin/server/api_sys_client/lang/api.json +12 -0
- package/demo/app/sys/plugin/server/api_sys_client/lang/param.json +175 -0
- package/demo/app/sys/plugin/server/api_sys_client/lang/sql.json +40 -0
- package/demo/app/sys/plugin/server/api_sys_client/message/api.json +13 -0
- package/demo/app/sys/plugin/server/api_sys_client/message/index.js +31 -0
- package/demo/app/sys/plugin/server/api_sys_client/message/param.json +147 -0
- package/demo/app/sys/plugin/server/api_sys_client/message/sql.json +24 -0
- package/demo/app/sys/plugin/server/api_sys_client/nav/api.json +13 -0
- package/demo/app/sys/plugin/server/api_sys_client/nav/index.js +52 -0
- package/demo/app/sys/plugin/server/api_sys_client/nav/param.json +295 -0
- package/demo/app/sys/plugin/server/api_sys_client/nav/sql.json +63 -0
- package/demo/app/sys/plugin/server/api_sys_client/pay/api.json +12 -0
- package/demo/app/sys/plugin/server/api_sys_client/pay/param.json +391 -0
- package/demo/app/sys/plugin/server/api_sys_client/pay/sql.json +76 -0
- package/demo/app/sys/plugin/server/api_sys_client/pay_type/api.json +12 -0
- package/demo/app/sys/plugin/server/api_sys_client/pay_type/param.json +242 -0
- package/demo/app/sys/plugin/server/api_sys_client/pay_type/sql.json +74 -0
- package/demo/app/sys/plugin/server/api_sys_client/project/api.json +12 -0
- package/demo/app/sys/plugin/server/api_sys_client/project/param.json +796 -0
- package/demo/app/sys/plugin/server/api_sys_client/project/sql.json +163 -0
- package/demo/app/sys/plugin/server/api_sys_client/recharge/api.json +12 -0
- package/demo/app/sys/plugin/server/api_sys_client/recharge/param.json +311 -0
- package/demo/app/sys/plugin/server/api_sys_client/recharge/sql.json +102 -0
- package/demo/app/sys/plugin/server/api_sys_client/scene/api.json +12 -0
- package/demo/app/sys/plugin/server/api_sys_client/scene/param.json +226 -0
- package/demo/app/sys/plugin/server/api_sys_client/scene/sql.json +49 -0
- package/demo/app/sys/plugin/server/api_sys_client/seo/api.json +12 -0
- package/demo/app/sys/plugin/server/api_sys_client/seo/param.json +145 -0
- package/demo/app/sys/plugin/server/api_sys_client/seo/sql.json +49 -0
- package/demo/app/sys/plugin/server/api_sys_client/withdrawal/api.json +12 -0
- package/demo/app/sys/plugin/server/api_sys_client/withdrawal/param.json +378 -0
- package/demo/app/sys/plugin/server/api_sys_client/withdrawal/sql.json +92 -0
- package/demo/app/sys/plugin/server/api_sys_manage/ad/api.json +19 -0
- package/demo/app/sys/plugin/server/api_sys_manage/ad/index.js +27 -0
- package/demo/app/sys/plugin/server/api_sys_manage/ad/param.json +685 -0
- package/demo/app/sys/plugin/server/api_sys_manage/ad/sql.json +111 -0
- package/demo/app/sys/plugin/server/api_sys_manage/address_province/api.json +18 -0
- package/demo/app/sys/plugin/server/api_sys_manage/address_province/param.json +156 -0
- package/demo/app/sys/plugin/server/api_sys_manage/address_province/sql.json +23 -0
- package/demo/app/sys/plugin/server/api_sys_manage/app/api.json +18 -0
- package/demo/app/sys/plugin/server/api_sys_manage/app/param.json +437 -0
- package/demo/app/sys/plugin/server/api_sys_manage/app/sql.json +69 -0
- package/demo/app/sys/plugin/server/api_sys_manage/app_refresh/api.json +18 -0
- package/demo/app/sys/plugin/server/api_sys_manage/app_refresh/param.json +158 -0
- package/demo/app/sys/plugin/server/api_sys_manage/app_refresh/sql.json +27 -0
- package/demo/app/sys/plugin/server/api_sys_manage/block/api.json +18 -0
- package/demo/app/sys/plugin/server/api_sys_manage/block/param.json +318 -0
- package/demo/app/sys/plugin/server/api_sys_manage/block/sql.json +47 -0
- package/demo/app/sys/plugin/server/api_sys_manage/config/api.json +19 -0
- package/demo/app/sys/plugin/server/api_sys_manage/config/index.js +35 -0
- package/demo/app/sys/plugin/server/api_sys_manage/config/param.json +261 -0
- package/demo/app/sys/plugin/server/api_sys_manage/config/sql.json +92 -0
- package/demo/app/sys/plugin/server/api_sys_manage/file/api.json +18 -0
- package/demo/app/sys/plugin/server/api_sys_manage/file/param.json +268 -0
- package/demo/app/sys/plugin/server/api_sys_manage/file/sql.json +29 -0
- package/demo/app/sys/plugin/server/api_sys_manage/lang/api.json +19 -0
- package/demo/app/sys/plugin/server/api_sys_manage/lang/index.js +27 -0
- package/demo/app/sys/plugin/server/api_sys_manage/lang/param.json +175 -0
- package/demo/app/sys/plugin/server/api_sys_manage/lang/sql.json +40 -0
- package/demo/app/sys/plugin/server/api_sys_manage/message/api.json +18 -0
- package/demo/app/sys/plugin/server/api_sys_manage/message/param.json +152 -0
- package/demo/app/sys/plugin/server/api_sys_manage/message/sql.json +21 -0
- package/demo/app/sys/plugin/server/api_sys_manage/nav/api.json +19 -0
- package/demo/app/sys/plugin/server/api_sys_manage/nav/index.js +27 -0
- package/demo/app/sys/plugin/server/api_sys_manage/nav/param.json +295 -0
- package/demo/app/sys/plugin/server/api_sys_manage/nav/sql.json +61 -0
- package/demo/app/sys/plugin/server/api_sys_manage/pay/api.json +18 -0
- package/demo/app/sys/plugin/server/api_sys_manage/pay/param.json +391 -0
- package/demo/app/sys/plugin/server/api_sys_manage/pay/sql.json +75 -0
- package/demo/app/sys/plugin/server/api_sys_manage/pay_type/api.json +18 -0
- package/demo/app/sys/plugin/server/api_sys_manage/pay_type/param.json +242 -0
- package/demo/app/sys/plugin/server/api_sys_manage/pay_type/sql.json +73 -0
- package/demo/app/sys/plugin/server/api_sys_manage/project/api.json +18 -0
- package/demo/app/sys/plugin/server/api_sys_manage/project/param.json +796 -0
- package/demo/app/sys/plugin/server/api_sys_manage/project/sql.json +162 -0
- package/demo/app/sys/plugin/server/api_sys_manage/recharge/api.json +18 -0
- package/demo/app/sys/plugin/server/api_sys_manage/recharge/param.json +311 -0
- package/demo/app/sys/plugin/server/api_sys_manage/recharge/sql.json +101 -0
- package/demo/app/sys/plugin/server/api_sys_manage/scene/api.json +18 -0
- package/demo/app/sys/plugin/server/api_sys_manage/scene/param.json +226 -0
- package/demo/app/sys/plugin/server/api_sys_manage/scene/sql.json +48 -0
- package/demo/app/sys/plugin/server/api_sys_manage/seo/api.json +19 -0
- package/demo/app/sys/plugin/server/api_sys_manage/seo/index.js +26 -0
- package/demo/app/sys/plugin/server/api_sys_manage/seo/param.json +145 -0
- package/demo/app/sys/plugin/server/api_sys_manage/seo/sql.json +48 -0
- package/demo/app/sys/plugin/server/api_sys_manage/withdrawal/api.json +18 -0
- package/demo/app/sys/plugin/server/api_sys_manage/withdrawal/param.json +378 -0
- package/demo/app/sys/plugin/server/api_sys_manage/withdrawal/sql.json +91 -0
- package/demo/app/sys/plugin/server/db/ad.db.json +622 -0
- package/demo/app/sys/plugin/server/db/address_province.db.json +82 -0
- package/demo/app/sys/plugin/server/db/app.db.json +369 -0
- package/demo/app/sys/plugin/server/db/app_refresh.db.json +117 -0
- package/demo/app/sys/plugin/server/db/block.db.json +352 -0
- package/demo/app/sys/plugin/server/db/config.db.json +226 -0
- package/demo/app/sys/plugin/server/db/file.db.json +172 -0
- package/demo/app/sys/plugin/server/db/lang.db.json +208 -0
- package/demo/app/sys/plugin/server/db/message.db.json +99 -0
- package/demo/app/sys/plugin/server/db/nav.db.json +298 -0
- package/demo/app/sys/plugin/server/db/pay.db.json +316 -0
- package/demo/app/sys/plugin/server/db/pay_type.db.json +226 -0
- package/demo/app/sys/plugin/server/db/project.db.json +622 -0
- package/demo/app/sys/plugin/server/db/recharge.db.json +226 -0
- package/demo/app/sys/plugin/server/db/scene.db.json +208 -0
- package/demo/app/sys/plugin/server/db/seo.db.json +136 -0
- package/demo/app/sys/plugin/server/db/withdrawal.db.json +298 -0
- package/demo/app/sys/plugin/user/index.js +127 -0
- package/demo/app/sys/plugin/user/plugin.json +20 -0
- package/demo/app/sys/plugin/user/static/img/logo.png +0 -0
- package/demo/app/sys/plugin/user/static/static.js +28 -0
- package/demo/app/sys/plugin/user/static/static.json +20 -0
- package/demo/app/sys/static/img/avatar_1674484608066.png +0 -0
- package/demo/app/sys/static/img/avatar_1674633778171.jpeg +0 -0
- package/demo/app/sys/static/img/avatar_1674962702334.jpeg +0 -0
- package/demo/app/sys/static/img/avatar_1675075431736.jpeg +0 -0
- package/demo/app/sys/static/img/avatar_1675497065533.jpeg +0 -0
- package/demo/app/sys/static/img/avatar_1685352550990.jpeg +0 -0
- package/demo/app/sys/static/img/avatar_1685353685992.jpeg +0 -0
- package/demo/app/sys/static/img/avatar_1685353956587.jpeg +0 -0
- package/demo/app/sys/static/img/avatar_1685353971148.jpeg +0 -0
- package/demo/app/sys/static/img/avatar_1685353983723.jpeg +0 -0
- package/demo/app/sys/static/img/avatar_1685354014745.jpeg +0 -0
- package/demo/app/sys/static/img/avatar_1685354122355.jpeg +0 -0
- package/demo/app/sys/static/img/avatar_1685357983520.jpeg +0 -0
- package/demo/app/sys/static/img/avatar_1685358453383.jpeg +0 -0
- package/demo/app/sys/static/img/avatar_1685416570438.jpeg +0 -0
- package/demo/app/sys/static/img/avatar_1685512675830.png +0 -0
- package/demo/app/sys/static/img/avatar_1685939425608.jpeg +0 -0
- package/demo/app/sys/static/img/avatar_1685939886560.jpeg +0 -0
- package/demo/app/sys/static/img/avatar_1686106313194.png +0 -0
- package/demo/app/sys/static/img/avatar_1686371876175.png +0 -0
- package/demo/app/sys/static/img/avatar_1686372033596.png +0 -0
- package/demo/app/sys/static/img/avatar_1688215220669.png +0 -0
- package/demo/app/sys/static/img/avatar_1688531184690.png +0 -0
- package/demo/app/sys/static/img/avatar_1688531233080.png +0 -0
- package/demo/app/sys/static/img/avatar_1688548526909.png +0 -0
- package/demo/app/sys/static/img/avatar_1688549213411.png +0 -0
- package/demo/app/sys/static/img/avatar_1688549511977.png +0 -0
- package/demo/app/sys/static/img/avatar_1688549685464.png +0 -0
- package/demo/app/sys/static/img/avatar_1688608623049.png +0 -0
- package/demo/app/sys/static/img/avatar_1688638500476.png +0 -0
- package/demo/app/sys/static/img/avatar_1688638515195.png +0 -0
- package/demo/app/sys/static/img/avatar_1688638539928.png +0 -0
- package/demo/app/sys/static/img/avatar_1688638557960.png +0 -0
- package/demo/app/sys/static/img/avatar_1688638761798.png +0 -0
- package/demo/app/sys/static/img/avatar_1688638943140.png +0 -0
- package/demo/app/sys/static/img/avatar_1688639068330.png +0 -0
- package/demo/app/sys/static/img/image_1685357101273.jpeg +0 -0
- package/demo/app/sys/static/img/logo.png +0 -0
- package/demo/app/sys/static/static.js +28 -0
- package/demo/app/sys/static/static.json +20 -0
- package/demo/app/user/LICENSE +201 -0
- package/demo/app/user/app.js +144 -0
- package/demo/app/user/app.json +10 -0
- package/demo/app/user/event_api/client/event.json +10 -0
- package/demo/app/user/event_api/client/main.js +17 -0
- package/demo/app/user/event_api/manage/event.json +10 -0
- package/demo/app/user/event_api/manage/main.js +17 -0
- package/demo/app/user/event_api/web/event.json +20 -0
- package/demo/app/user/event_api/web/main.js +39 -0
- package/demo/app/user/plugin/main/api_user_client/account/api.json +41 -0
- package/demo/app/user/plugin/main/api_user_client/account/index.js +54 -0
- package/demo/app/user/plugin/main/api_user_client/account/param.json +130 -0
- package/demo/app/user/plugin/main/api_user_client/account/sql.json +70 -0
- package/demo/app/user/plugin/main/api_user_client/address_login/api.json +27 -0
- package/demo/app/user/plugin/main/api_user_client/address_login/index.js +35 -0
- package/demo/app/user/plugin/main/api_user_client/address_login/param.json +130 -0
- package/demo/app/user/plugin/main/api_user_client/base/api.json +27 -0
- package/demo/app/user/plugin/main/api_user_client/base/index.js +92 -0
- package/demo/app/user/plugin/main/api_user_client/base/param.json +130 -0
- package/demo/app/user/plugin/main/api_user_client/core/api.json +20 -0
- package/demo/app/user/plugin/main/api_user_client/core/forgot.js +14 -0
- package/demo/app/user/plugin/main/api_user_client/core/password.js +14 -0
- package/demo/app/user/plugin/main/api_user_client/core/sign_out.js +26 -0
- package/demo/app/user/plugin/main/api_user_client/core/state.js +21 -0
- package/demo/app/user/plugin/main/api_user_client/count/api.json +27 -0
- package/demo/app/user/plugin/main/api_user_client/count/chongzhi.js +103 -0
- package/demo/app/user/plugin/main/api_user_client/count/index.js +24 -0
- package/demo/app/user/plugin/main/api_user_client/count/param.json +40 -0
- package/demo/app/user/plugin/main/api_user_client/count/sql.json +70 -0
- package/demo/app/user/plugin/main/api_user_client/data_count/api.json +37 -0
- package/demo/app/user/plugin/main/api_user_client/data_count/index.js +61 -0
- package/demo/app/user/plugin/main/api_user_client/email_code/api.json +37 -0
- package/demo/app/user/plugin/main/api_user_client/email_code/email_code.js +300 -0
- package/demo/app/user/plugin/main/api_user_client/email_code/index.js +18 -0
- package/demo/app/user/plugin/main/api_user_client/email_code/param.json +56 -0
- package/demo/app/user/plugin/main/api_user_client/forgot/api.json +37 -0
- package/demo/app/user/plugin/main/api_user_client/forgot/index - /345/211/257/346/234/254.jsbat" +41 -0
- package/demo/app/user/plugin/main/api_user_client/forgot/index.js +36 -0
- package/demo/app/user/plugin/main/api_user_client/forgot/param.json +57 -0
- package/demo/app/user/plugin/main/api_user_client/ip/api.json +39 -0
- package/demo/app/user/plugin/main/api_user_client/ip/index.js +43 -0
- package/demo/app/user/plugin/main/api_user_client/ip/param.json +130 -0
- package/demo/app/user/plugin/main/api_user_client/ip/sql.json +70 -0
- package/demo/app/user/plugin/main/api_user_client/message/api.json +29 -0
- package/demo/app/user/plugin/main/api_user_client/message/index.js +19 -0
- package/demo/app/user/plugin/main/api_user_client/message/param.json +36 -0
- package/demo/app/user/plugin/main/api_user_client/message/sql.json +21 -0
- package/demo/app/user/plugin/main/api_user_client/oauth/WXBizDataCrypt.js +33 -0
- package/demo/app/user/plugin/main/api_user_client/oauth/api.json +31 -0
- package/demo/app/user/plugin/main/api_user_client/oauth/index.js +16 -0
- package/demo/app/user/plugin/main/api_user_client/oauth/oauth.js +315 -0
- package/demo/app/user/plugin/main/api_user_client/oauth/oauth.json +88 -0
- package/demo/app/user/plugin/main/api_user_client/oauth/param.json +111 -0
- package/demo/app/user/plugin/main/api_user_client/password/api.json +21 -0
- package/demo/app/user/plugin/main/api_user_client/password/index.js +64 -0
- package/demo/app/user/plugin/main/api_user_client/password/param.json +45 -0
- package/demo/app/user/plugin/main/api_user_client/phone_code/aliyun.js +230 -0
- package/demo/app/user/plugin/main/api_user_client/phone_code/api.json +37 -0
- package/demo/app/user/plugin/main/api_user_client/phone_code/index.js +18 -0
- package/demo/app/user/plugin/main/api_user_client/phone_code/index.js_ +230 -0
- package/demo/app/user/plugin/main/api_user_client/phone_code/param.json +58 -0
- package/demo/app/user/plugin/main/api_user_client/phone_code/phone_code.js +297 -0
- package/demo/app/user/plugin/main/api_user_client/realname/api.json +21 -0
- package/demo/app/user/plugin/main/api_user_client/realname/index.js +45 -0
- package/demo/app/user/plugin/main/api_user_client/realname/param.json +74 -0
- package/demo/app/user/plugin/main/api_user_client/servicer/api.json +29 -0
- package/demo/app/user/plugin/main/api_user_client/servicer/index.js +19 -0
- package/demo/app/user/plugin/main/api_user_client/servicer/param.json +41 -0
- package/demo/app/user/plugin/main/api_user_client/servicer/sql.json +113 -0
- package/demo/app/user/plugin/main/api_user_client/set_address/api.json +37 -0
- package/demo/app/user/plugin/main/api_user_client/set_address/index.js +98 -0
- package/demo/app/user/plugin/main/api_user_client/set_address/param.json +165 -0
- package/demo/app/user/plugin/main/api_user_client/set_avatar/api.json +35 -0
- package/demo/app/user/plugin/main/api_user_client/set_avatar/index.js +77 -0
- package/demo/app/user/plugin/main/api_user_client/set_info/api.json +35 -0
- package/demo/app/user/plugin/main/api_user_client/set_info/index.js +44 -0
- package/demo/app/user/plugin/main/api_user_client/set_nickname/api.json +35 -0
- package/demo/app/user/plugin/main/api_user_client/set_nickname/index.js +46 -0
- package/demo/app/user/plugin/main/api_user_client/set_pay_password/api.json +21 -0
- package/demo/app/user/plugin/main/api_user_client/set_pay_password/index.js +64 -0
- package/demo/app/user/plugin/main/api_user_client/sign_address/api.json +39 -0
- package/demo/app/user/plugin/main/api_user_client/sign_address/index.js +114 -0
- package/demo/app/user/plugin/main/api_user_client/sign_address/param.json +130 -0
- package/demo/app/user/plugin/main/api_user_client/sign_address/sql.json +70 -0
- package/demo/app/user/plugin/main/api_user_client/sign_auto/api.json +29 -0
- package/demo/app/user/plugin/main/api_user_client/sign_auto/index.js +141 -0
- package/demo/app/user/plugin/main/api_user_client/sign_auto/param.json +42 -0
- package/demo/app/user/plugin/main/api_user_client/sign_in/api.json +11 -0
- package/demo/app/user/plugin/main/api_user_client/sign_in/index.js +274 -0
- package/demo/app/user/plugin/main/api_user_client/sign_in/param.json +125 -0
- package/demo/app/user/plugin/main/api_user_client/sign_in/state.js +37 -0
- package/demo/app/user/plugin/main/api_user_client/sign_out/api.json +9 -0
- package/demo/app/user/plugin/main/api_user_client/sign_out/index.js +28 -0
- package/demo/app/user/plugin/main/api_user_client/sign_up/api.json +12 -0
- package/demo/app/user/plugin/main/api_user_client/sign_up/index.js +189 -0
- package/demo/app/user/plugin/main/api_user_client/sign_up/param.json +83 -0
- package/demo/app/user/plugin/main/api_user_client/sign_up_in/api.json +37 -0
- package/demo/app/user/plugin/main/api_user_client/sign_up_in/index.js +137 -0
- package/demo/app/user/plugin/main/api_user_client/sign_up_in/param.json +33 -0
- package/demo/app/user/plugin/main/api_user_client/state/api.json +9 -0
- package/demo/app/user/plugin/main/api_user_client/state/index.js +19 -0
- package/demo/app/user/plugin/main/api_user_client/token/api.json +25 -0
- package/demo/app/user/plugin/main/api_user_client/token/index.js +20 -0
- package/demo/app/user/plugin/main/api_user_client/token/param.json +16 -0
- package/demo/app/user/plugin/main/api_user_client/unsubscribe/api.json +29 -0
- package/demo/app/user/plugin/main/api_user_client/unsubscribe/index.js +91 -0
- package/demo/app/user/plugin/main/api_user_client/unsubscribe/param.json +71 -0
- package/demo/app/user/plugin/main/api_user_client/yun_avatar/api.json +31 -0
- package/demo/app/user/plugin/main/api_user_client/yun_avatar/index.js +56 -0
- package/demo/app/user/plugin/main/api_user_client/yun_avatar/param.json +50 -0
- package/demo/app/user/plugin/main/api_user_manage/account_base/api.json +37 -0
- package/demo/app/user/plugin/main/api_user_manage/account_base/index.js +40 -0
- package/demo/app/user/plugin/main/api_user_manage/account_base/param.json +130 -0
- package/demo/app/user/plugin/main/api_user_manage/invitation_code/api.json +37 -0
- package/demo/app/user/plugin/main/api_user_manage/invitation_code/index.js +106 -0
- package/demo/app/user/plugin/main/api_user_manage/invitation_code/param.json +130 -0
- package/demo/app/user/plugin/main/api_user_manage/update_team/api.json +35 -0
- package/demo/app/user/plugin/main/api_user_manage/update_team/index.js +218 -0
- package/demo/app/user/plugin/main/api_user_manage/update_team/param.json +130 -0
- package/demo/app/user/plugin/main/api_user_web/avatar/api.json +28 -0
- package/demo/app/user/plugin/main/api_user_web/avatar/index.js +51 -0
- package/demo/app/user/plugin/main/api_user_web/login/api.json +37 -0
- package/demo/app/user/plugin/main/api_user_web/login/index.js +12 -0
- package/demo/app/user/plugin/main/api_user_web/root/api.json +38 -0
- package/demo/app/user/plugin/main/api_user_web/root/index.js +67 -0
- package/demo/app/user/plugin/main/index.js +144 -0
- package/demo/app/user/plugin/main/plugin.json +20 -0
- package/demo/app/user/plugin/server/api_user_client/address/api.json +16 -0
- package/demo/app/user/plugin/server/api_user_client/address/index.js +79 -0
- package/demo/app/user/plugin/server/api_user_client/address/param.json +288 -0
- package/demo/app/user/plugin/server/api_user_client/address/sql.json +56 -0
- package/demo/app/user/plugin/server/api_user_client/count/api.json +12 -0
- package/demo/app/user/plugin/server/api_user_client/count/param.json +646 -0
- package/demo/app/user/plugin/server/api_user_client/count/sql.json +82 -0
- package/demo/app/user/plugin/server/api_user_client/info/api.json +16 -0
- package/demo/app/user/plugin/server/api_user_client/info/index.js +42 -0
- package/demo/app/user/plugin/server/api_user_client/info/param.json +531 -0
- package/demo/app/user/plugin/server/api_user_client/info/sql.json +84 -0
- package/demo/app/user/plugin/server/api_user_client/message/api.json +12 -0
- package/demo/app/user/plugin/server/api_user_client/message/param.json +366 -0
- package/demo/app/user/plugin/server/api_user_client/message/sql.json +88 -0
- package/demo/app/user/plugin/server/api_user_client/nation/api.json +12 -0
- package/demo/app/user/plugin/server/api_user_client/nation/param.json +74 -0
- package/demo/app/user/plugin/server/api_user_client/nation/sql.json +18 -0
- package/demo/app/user/plugin/server/api_user_manage/account/api.json +18 -0
- package/demo/app/user/plugin/server/api_user_manage/account/param.json +620 -0
- package/demo/app/user/plugin/server/api_user_manage/account/sql.json +105 -0
- package/demo/app/user/plugin/server/api_user_manage/address/api.json +19 -0
- package/demo/app/user/plugin/server/api_user_manage/address/index.js +57 -0
- package/demo/app/user/plugin/server/api_user_manage/address/param.json +288 -0
- package/demo/app/user/plugin/server/api_user_manage/address/sql.json +44 -0
- package/demo/app/user/plugin/server/api_user_manage/admin/api.json +18 -0
- package/demo/app/user/plugin/server/api_user_manage/admin/param.json +147 -0
- package/demo/app/user/plugin/server/api_user_manage/admin/sql.json +24 -0
- package/demo/app/user/plugin/server/api_user_manage/admin_log/api.json +18 -0
- package/demo/app/user/plugin/server/api_user_manage/admin_log/param.json +226 -0
- package/demo/app/user/plugin/server/api_user_manage/admin_log/sql.json +32 -0
- package/demo/app/user/plugin/server/api_user_manage/count/api.json +18 -0
- package/demo/app/user/plugin/server/api_user_manage/count/param.json +646 -0
- package/demo/app/user/plugin/server/api_user_manage/count/sql.json +72 -0
- package/demo/app/user/plugin/server/api_user_manage/group/api.json +18 -0
- package/demo/app/user/plugin/server/api_user_manage/group/param.json +187 -0
- package/demo/app/user/plugin/server/api_user_manage/group/sql.json +39 -0
- package/demo/app/user/plugin/server/api_user_manage/group_log/api.json +18 -0
- package/demo/app/user/plugin/server/api_user_manage/group_log/param.json +235 -0
- package/demo/app/user/plugin/server/api_user_manage/group_log/sql.json +32 -0
- package/demo/app/user/plugin/server/api_user_manage/info/api.json +18 -0
- package/demo/app/user/plugin/server/api_user_manage/info/param.json +531 -0
- package/demo/app/user/plugin/server/api_user_manage/info/sql.json +71 -0
- package/demo/app/user/plugin/server/api_user_manage/message/api.json +18 -0
- package/demo/app/user/plugin/server/api_user_manage/message/param.json +366 -0
- package/demo/app/user/plugin/server/api_user_manage/message/sql.json +75 -0
- package/demo/app/user/plugin/server/api_user_manage/nation/api.json +18 -0
- package/demo/app/user/plugin/server/api_user_manage/nation/param.json +74 -0
- package/demo/app/user/plugin/server/api_user_manage/nation/sql.json +16 -0
- package/demo/app/user/plugin/server/api_user_manage/state/api.json +18 -0
- package/demo/app/user/plugin/server/api_user_manage/state/param.json +98 -0
- package/demo/app/user/plugin/server/api_user_manage/state/sql.json +29 -0
- package/demo/app/user/plugin/server/db/account.db.json +460 -0
- package/demo/app/user/plugin/server/db/address.db.json +262 -0
- package/demo/app/user/plugin/server/db/admin.db.json +117 -0
- package/demo/app/user/plugin/server/db/admin_log.db.json +189 -0
- package/demo/app/user/plugin/server/db/count.db.json +298 -0
- package/demo/app/user/plugin/server/db/group.db.json +117 -0
- package/demo/app/user/plugin/server/db/group_log.db.json +190 -0
- package/demo/app/user/plugin/server/db/info.db.json +496 -0
- package/demo/app/user/plugin/server/db/message.db.json +262 -0
- package/demo/app/user/plugin/server/db/nation.db.json +46 -0
- package/demo/app/user/plugin/server/db/state.db.json +64 -0
- package/demo/app/user/static/img/logo.png +0 -0
- package/demo/app/user/static/static.js +28 -0
- package/demo/app/user/static/static.json +20 -0
- package/demo/app/ws/app.js +122 -0
- package/demo/app/ws/app.json +11 -0
- package/demo/app/ws/event_api/client/event.json +10 -0
- package/demo/app/ws/event_api/client/main.js +17 -0
- package/demo/app/ws/socket/ws/index.js +43 -0
- package/demo/app/ws/socket/ws/socket.json +14 -0
- package/demo/config/development.json +109 -0
- package/demo/config/face.sql +3824 -0
- package/demo/config/local.json +111 -0
- package/demo/config/lock.cache +5 -0
- package/demo/config/test.json +109 -0
- package/demo/config/tpl.json +107 -0
- package/demo/index.js +30 -0
- package/demo/static/file/image/1.png +0 -0
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
var api = $.api_admin('route_client', '路由客户端');
|
|
2
|
+
// 首次启动更新api接口;
|
|
3
|
+
api.update('route/');
|
|
4
|
+
|
|
5
|
+
var sql = $.mysql_admin('sys', __dirname);
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* @description 接口主函数
|
|
9
|
+
* @param {Object} ctx HTTP上下文
|
|
10
|
+
* @param {Object} db 数据管理器,如: { next: async function{}, ret: {} }
|
|
11
|
+
* @return {Object} 执行结果
|
|
12
|
+
*/
|
|
13
|
+
async function main(ctx, db) {
|
|
14
|
+
// 在这定义要访问的数据库 (分布式开发时设置不同的数据库名)
|
|
15
|
+
$.push(db, sql.db(), true);
|
|
16
|
+
return api.run(ctx, db);
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
exports.main = main;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
[{
|
|
2
|
+
// 目标对象
|
|
3
|
+
"target": "/apis/route*",
|
|
4
|
+
// 事件名称, 用于动态增删改
|
|
5
|
+
"name": "route_manage",
|
|
6
|
+
// 标题, 用于开发者查看事件
|
|
7
|
+
"title": "示例事件",
|
|
8
|
+
// 描述, 用于介绍该事件是做什么用的
|
|
9
|
+
"description": "描述事件使用方法",
|
|
10
|
+
// 阶段, 分执行前before、验证check、主要main、渲染render、执行后after阶段
|
|
11
|
+
"stage": "main",
|
|
12
|
+
// 响应方法 GET请求、POST请求、ALL所有请求,如果非API事件可自定义
|
|
13
|
+
"method": "ALL",
|
|
14
|
+
// 函数文件, 当事件触发时执行指定的脚本
|
|
15
|
+
"func_file": "./main.js",
|
|
16
|
+
// 执行顺序, 数值越小越优先执行
|
|
17
|
+
"sort": 100
|
|
18
|
+
}]
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
if ($.routes) {
|
|
2
|
+
$.routes = {};
|
|
3
|
+
$.clients = {};
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* 订阅路由
|
|
8
|
+
* @param {String} clientId 客户端ID
|
|
9
|
+
* @param {Object} param 参数
|
|
10
|
+
*/
|
|
11
|
+
function subscribe(clientId, param) {
|
|
12
|
+
return $.ret.bl(true, "订阅成功!");
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* 退订路由
|
|
17
|
+
* @param {String} clientId 客户端ID
|
|
18
|
+
* @param {Object} param 参数
|
|
19
|
+
*/
|
|
20
|
+
function unsubscribe(clientId, param) {
|
|
21
|
+
return $.ret.bl(true, "退订成功!");
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
function help() {
|
|
25
|
+
var list = [{
|
|
26
|
+
name: "订阅路由",
|
|
27
|
+
path: "/apis/route/subscribe?clientId=客户端ID",
|
|
28
|
+
param: {
|
|
29
|
+
"path": "路由路径",
|
|
30
|
+
"method": "请求方式",
|
|
31
|
+
"query": "查询参数",
|
|
32
|
+
"body": "提交参数"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
name: "退订路由",
|
|
37
|
+
path: "/apis/route/subsubscribe?clientId=客户端ID",
|
|
38
|
+
param: {
|
|
39
|
+
"path": "路由路径"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
];
|
|
43
|
+
return $.ret.list(list);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* @description 接口主函数
|
|
48
|
+
* @param {Object} ctx HTTP上下文
|
|
49
|
+
* @param {Object} db 数据管理器,如: { next: async function{}, ret: {} }
|
|
50
|
+
* @return {Object} 执行结果
|
|
51
|
+
*/
|
|
52
|
+
async function main(ctx, db) {
|
|
53
|
+
var req = ctx.request;
|
|
54
|
+
var method = ctx.path.replace("/apis/route/", "");
|
|
55
|
+
var ret;
|
|
56
|
+
switch (method) {
|
|
57
|
+
case "subscribe":
|
|
58
|
+
ret = subscribe(req.query.clientId, req.body);
|
|
59
|
+
break;
|
|
60
|
+
case "unsubscribe":
|
|
61
|
+
ret = unsubscribe(req.query.clientId, req.body);
|
|
62
|
+
break;
|
|
63
|
+
default:
|
|
64
|
+
ret = help();
|
|
65
|
+
break;
|
|
66
|
+
}
|
|
67
|
+
return ret;
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
exports.main = main;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
// 路由路径
|
|
3
|
+
"path": "/api/route/pass",
|
|
4
|
+
// 名称, 用于动态增删改API配置
|
|
5
|
+
"name": "route_pass",
|
|
6
|
+
// 标题, 用于开发文档显示
|
|
7
|
+
"title": "路由访问密码",
|
|
8
|
+
// 描述, 用于介绍该路由的作用
|
|
9
|
+
"description": "用于判断用户是否有权访问",
|
|
10
|
+
// 函数文件, 用于驱动脚本, 实现业务
|
|
11
|
+
"func_file": "./index.js",
|
|
12
|
+
// 请求方法, 选填 GET, POST, ALL。 ALL指同时支持GET/POST
|
|
13
|
+
"method": "ALL",
|
|
14
|
+
// 开放域, 如果域未开放, 则只有特定的协议头才能访问该API, 同时API文档不接见
|
|
15
|
+
"scope": true,
|
|
16
|
+
// 缓存时长, 单位: 分钟。使用缓存后, 二次访问API直接从缓存读取, 不重复执行业务脚本
|
|
17
|
+
"cache": 0,
|
|
18
|
+
// 是否客户端缓存, 使用客户端则不再访问服务器, 直接从浏览器中拿; 使用服务端缓存则会访问服务器
|
|
19
|
+
"client_cache": false,
|
|
20
|
+
// 参数配置路径, 用于校验API请求参数是否正确, 同时显示在API文档中
|
|
21
|
+
"param_path": "./param.json",
|
|
22
|
+
/* 授权协议 */
|
|
23
|
+
"oauth": {
|
|
24
|
+
// 是否需要登录, true表示需要登录才能访问该接口
|
|
25
|
+
"signIn": false,
|
|
26
|
+
// 会员权限级别, 如果小于该值, 则无法访问, 0为不限制
|
|
27
|
+
"vip": 0,
|
|
28
|
+
// 管理员权限级别, 如果小于该值, 则无法访问, 0为不限制
|
|
29
|
+
"gm": 0,
|
|
30
|
+
// 商户/第三方权限级别, 如果小于该值, 则无法访问, 0为不限制
|
|
31
|
+
"mc": 0,
|
|
32
|
+
// 用户组, 允许访问该接口的普通用户群体, 传ID数组,例如: [1,5]
|
|
33
|
+
"user_group": [],
|
|
34
|
+
// 管理组, 允许访问该接口的管理员群体, 传ID数组,例如: [1,5]
|
|
35
|
+
"user_admin": []
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
|
|
2
|
+
/**
|
|
3
|
+
* 接口主函数
|
|
4
|
+
* @param {Object} ctx HTTP上下文
|
|
5
|
+
* @param {Object} db 数据管理器,如: { next: async function{}, ret: {} }
|
|
6
|
+
* @return {Object} 执行结果
|
|
7
|
+
*/
|
|
8
|
+
async function main(ctx, db) {
|
|
9
|
+
// 获取请求参数
|
|
10
|
+
var req = ctx.request;
|
|
11
|
+
var {
|
|
12
|
+
query,
|
|
13
|
+
body
|
|
14
|
+
} = req;
|
|
15
|
+
|
|
16
|
+
var { route, password } = body;
|
|
17
|
+
|
|
18
|
+
db.table = "sys_config";
|
|
19
|
+
var obj = await db.getObj({name: "route_pass_" + route}, "", "name, value");
|
|
20
|
+
if(!obj){
|
|
21
|
+
// 路由错误的情况下返回该地址
|
|
22
|
+
var err = await db.getObj({name: "route_error"}, "", "name, value");
|
|
23
|
+
return $.ret.body({ path: err.value });
|
|
24
|
+
}
|
|
25
|
+
else if(obj.value && password === obj.value.md5()){
|
|
26
|
+
// 路由密码正确的情况下返回该地址
|
|
27
|
+
var su = await db.getObj({name: "route_" + route}, "", "name, value");
|
|
28
|
+
return $.ret.body({ path: su.value });
|
|
29
|
+
}
|
|
30
|
+
return $.ret.error(10000, '频道错误');
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
exports.main = main;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
// 是否启用过滤, 启用过滤后, 不符合的参数会被过滤掉
|
|
3
|
+
"filter": true,
|
|
4
|
+
// 校验脚本文件, 可以使用脚本的方式加一步进行校验, 让传参更加安全
|
|
5
|
+
"func_file": "",
|
|
6
|
+
// get请求
|
|
7
|
+
"get": {
|
|
8
|
+
// 查询参数校验项
|
|
9
|
+
"query": [],
|
|
10
|
+
// 查询必填参数
|
|
11
|
+
"query_required": []
|
|
12
|
+
},
|
|
13
|
+
// post请求
|
|
14
|
+
"post": {
|
|
15
|
+
// 查询参数校验项
|
|
16
|
+
"query": [],
|
|
17
|
+
// 查询必填参数
|
|
18
|
+
"query_required": [],
|
|
19
|
+
// 正文参数校验项
|
|
20
|
+
"body": ["route", "password"],
|
|
21
|
+
// 正文必填参数
|
|
22
|
+
"body_required": []
|
|
23
|
+
},
|
|
24
|
+
// 校验列表
|
|
25
|
+
"list": [{
|
|
26
|
+
// 参数key名
|
|
27
|
+
"name": "route",
|
|
28
|
+
// 参数中文名
|
|
29
|
+
"title": "路由线路",
|
|
30
|
+
// 数据类型
|
|
31
|
+
"type": "number",
|
|
32
|
+
// 数字类型时设置
|
|
33
|
+
"number": {
|
|
34
|
+
// 最小数值
|
|
35
|
+
"min": 1,
|
|
36
|
+
"max": 4
|
|
37
|
+
},
|
|
38
|
+
// 分隔参数,允许传多个值,为空则限制1个值
|
|
39
|
+
"splitter": "|"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "password",
|
|
43
|
+
"title": "密码",
|
|
44
|
+
"type": "string",
|
|
45
|
+
"string": {
|
|
46
|
+
"format": "password"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileOverview main
|
|
3
|
+
* @author <a href="作者主页地址">插件作者</a>
|
|
4
|
+
* @version 1.0
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* 插件对象
|
|
9
|
+
*/
|
|
10
|
+
module.exports = {
|
|
11
|
+
/**
|
|
12
|
+
* 初始化
|
|
13
|
+
* @param {Object} option 配置参数
|
|
14
|
+
* @return {String} 成功返回null, 否则返回错误提示
|
|
15
|
+
*/
|
|
16
|
+
init(option) {
|
|
17
|
+
var msg = null;
|
|
18
|
+
return msg;
|
|
19
|
+
},
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* 安装
|
|
23
|
+
* @param {Object} option 配置参数
|
|
24
|
+
* @return {String} 成功返回null,否则返回错误提示
|
|
25
|
+
*/
|
|
26
|
+
install(option) {
|
|
27
|
+
var msg = null;
|
|
28
|
+
return msg;
|
|
29
|
+
},
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* 卸载
|
|
33
|
+
* @param {Object} option 配置参数
|
|
34
|
+
* @return {String} 成功返回null,否则返回错误提示
|
|
35
|
+
*/
|
|
36
|
+
uninstall(option) {
|
|
37
|
+
var msg = null;
|
|
38
|
+
return msg;
|
|
39
|
+
},
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* 更新
|
|
43
|
+
* @param {Object} option 配置参数
|
|
44
|
+
* @return {String} 成功返回null, 否则返回错误提示
|
|
45
|
+
*/
|
|
46
|
+
update(option) {
|
|
47
|
+
var msg = null;
|
|
48
|
+
return msg;
|
|
49
|
+
},
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* 启动
|
|
53
|
+
* @param {Object} opiton 配置参数
|
|
54
|
+
* @return {String} 成功返回null,否则返回错误提示
|
|
55
|
+
*/
|
|
56
|
+
start(option) {
|
|
57
|
+
var msg = null;
|
|
58
|
+
return msg;
|
|
59
|
+
},
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* 暂停
|
|
63
|
+
* @param {Object} opiton 配置参数
|
|
64
|
+
* @return {String} 成功返回null,否则返回错误提示
|
|
65
|
+
*/
|
|
66
|
+
stop(option) {
|
|
67
|
+
var msg = null;
|
|
68
|
+
return msg;
|
|
69
|
+
},
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* 结束
|
|
73
|
+
* @param {Object} opiton 配置参数
|
|
74
|
+
* @return {String} 成功返回null,否则返回错误提示
|
|
75
|
+
*/
|
|
76
|
+
end(option) {
|
|
77
|
+
var msg = null;
|
|
78
|
+
return msg;
|
|
79
|
+
},
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* 插件
|
|
83
|
+
* @param {String} item 插件项
|
|
84
|
+
* @return {Object} 旗下插件和信息
|
|
85
|
+
*/
|
|
86
|
+
help(item) {
|
|
87
|
+
var tip = "";
|
|
88
|
+
switch (item) {
|
|
89
|
+
case "run":
|
|
90
|
+
break;
|
|
91
|
+
default:
|
|
92
|
+
break;
|
|
93
|
+
}
|
|
94
|
+
return tip;
|
|
95
|
+
},
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* 主程序
|
|
99
|
+
* @param {Object} param1 参数1
|
|
100
|
+
* @param {Object} param2 参数2
|
|
101
|
+
* @return {Object} 返回执行结果
|
|
102
|
+
*/
|
|
103
|
+
main(param1, param2) {
|
|
104
|
+
var ret = null;
|
|
105
|
+
return ret;
|
|
106
|
+
},
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* 指令(类似命令提示符)
|
|
110
|
+
* @param {String} content 指令内容
|
|
111
|
+
* @return {String} 执行结果
|
|
112
|
+
*/
|
|
113
|
+
cmd(content) {
|
|
114
|
+
var ret = "";
|
|
115
|
+
return ret;
|
|
116
|
+
},
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* API接口(用于其他插件调用该插件时)
|
|
120
|
+
* @param {Object} ctx HTTP上下文
|
|
121
|
+
* @param {Object} db 数据库管理器
|
|
122
|
+
* @return {Object} 执行结果
|
|
123
|
+
*/
|
|
124
|
+
api(ctx, db) {
|
|
125
|
+
var ret = "";
|
|
126
|
+
return ret;
|
|
127
|
+
},
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* 聊天(通过聊天的方式驱动插件, 用于机器人开发)
|
|
131
|
+
* @param {String} from_user 发送消息人
|
|
132
|
+
* @param {String} to_user 接收消息人
|
|
133
|
+
* @param {String} content 内容
|
|
134
|
+
* @param {String} group 群组 如果是个人,群组为空
|
|
135
|
+
* @param {Number} type 群类型, 1永久会话/群、2临时会话/群
|
|
136
|
+
* @param {String} msg_type 消息类型, event事件型、message消息型。默认消息型
|
|
137
|
+
* @param {Object} 数据管理器
|
|
138
|
+
* @return {String} 回复内容
|
|
139
|
+
*/
|
|
140
|
+
async chat(from_user, to_user, group, content, type, msg_type, db) {
|
|
141
|
+
var ret = "";
|
|
142
|
+
return ret;
|
|
143
|
+
}
|
|
144
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
// 应用名称,表示该插件用在什么应用里的
|
|
3
|
+
"app": "route",
|
|
4
|
+
// 插件名称,插件的唯一标识
|
|
5
|
+
"name": "main",
|
|
6
|
+
// 插件标题,用于检索和识别
|
|
7
|
+
"title": "示例插件",
|
|
8
|
+
// 插件描述,介绍改插件是做什么用的
|
|
9
|
+
"description": "描述该插件是做什么用的",
|
|
10
|
+
// 插件版本号,用于升级迭代
|
|
11
|
+
"version": "1.0",
|
|
12
|
+
// 插件语言包文件路径
|
|
13
|
+
"lang_path": "./lang/",
|
|
14
|
+
// 插件图标
|
|
15
|
+
"icon": "/route/main/img/logo.png",
|
|
16
|
+
// 插件指令,通过指令方式调用插件
|
|
17
|
+
"cmd": "route.main",
|
|
18
|
+
// 排序,表示多个插件时在应用下执行的先后顺序
|
|
19
|
+
"sort": 10
|
|
20
|
+
}
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
## 系统
|