mm_os 2.9.1 → 2.9.2
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/core/com/api/drive.js +9 -89
- package/core/com/api/index.js +3 -31
- package/core/com/cmd/drive.js +10 -1
- package/core/com/cmd/index.js +15 -1
- package/core/com/component/drive.js +1 -1
- package/core/com/component/index.js +16 -12
- package/core/com/db/drive.js +1 -1
- package/core/com/db/index.js +15 -17
- package/core/com/event/drive.js +3 -1
- package/core/com/event/index.js +74 -61
- package/core/com/eventer/com.js +2 -2
- package/core/com/middleware/com.js +41 -16
- package/core/com/mqtt/drive.js +4 -3
- package/core/com/mqtt/index.js +8 -6
- package/core/com/nav/drive.js +1 -19
- package/core/com/nav/index.js +1 -1
- package/core/com/param/drive.js +1 -1
- package/core/com/param/index.js +1 -27
- package/core/com/plugin/drive.js +18 -19
- package/core/com/plugin/index.js +16 -21
- package/core/com/plugin/script.js +109 -58
- package/core/com/rpc/com.json +4 -0
- package/core/com/rpc/drive.js +160 -0
- package/core/com/rpc/index.js +87 -0
- package/core/com/socket/drive.js +0 -1
- package/core/com/socket/index.js +5 -15
- package/core/com/sql/drive.js +1 -1
- package/core/com/sql/index.js +4 -31
- package/core/com/static/drive.js +13 -54
- package/core/com/static/index.js +14 -6
- package/core/com/task/index.js +14 -36
- package/core/com/tpl/com.js +2 -2
- package/index.js +2 -2
- package/package.json +2 -2
- package/cache/sys/main/config.json +0 -1
- package/cache/user/main/config.json +0 -1
- package/demo/app/dev/LICENSE +0 -201
- package/demo/app/dev/README.md +0 -1
- package/demo/app/dev/app.js +0 -147
- package/demo/app/dev/app.json +0 -12
- package/demo/app/dev/event_api/client/event.json +0 -10
- package/demo/app/dev/event_api/client/main.js +0 -17
- package/demo/app/dev/plugin/main/api_dev_client/api/api.json +0 -10
- package/demo/app/dev/plugin/main/api_dev_client/api/index.js +0 -54
- package/demo/app/dev/plugin/main/api_dev_client/api/param.json +0 -31
- package/demo/app/dev/plugin/main/api_dev_client/com.js +0 -348
- package/demo/app/dev/plugin/main/api_dev_client/event/api.json +0 -10
- package/demo/app/dev/plugin/main/api_dev_client/event/index.js +0 -31
- package/demo/app/dev/plugin/main/api_dev_client/event/param.json +0 -31
- package/demo/app/sys/.gitmodules +0 -3
- package/demo/app/sys/LICENSE +0 -201
- package/demo/app/sys/README.md +0 -1
- package/demo/app/sys/app.js +0 -148
- package/demo/app/sys/app.json +0 -10
- package/demo/app/sys/event_api/api/after.js +0 -12
- package/demo/app/sys/event_api/api/before.js +0 -78
- package/demo/app/sys/event_api/api/check.js +0 -56
- package/demo/app/sys/event_api/api/event.json +0 -41
- package/demo/app/sys/event_api/api/main.js +0 -17
- package/demo/app/sys/event_api/apis/before.js +0 -76
- package/demo/app/sys/event_api/apis/event.json +0 -21
- package/demo/app/sys/event_api/apis/main.js +0 -17
- package/demo/app/sys/event_api/client/event.json +0 -10
- package/demo/app/sys/event_api/client/main.js +0 -15
- package/demo/app/sys/event_api/manage/event.json +0 -10
- package/demo/app/sys/event_api/manage/main.js +0 -15
- package/demo/app/sys/event_api/upload/event.json +0 -10
- package/demo/app/sys/event_api/upload/main.js +0 -15
- package/demo/app/sys/event_api/web/check.js +0 -34
- package/demo/app/sys/event_api/web/event.json +0 -39
- package/demo/app/sys/event_api/web/main.js +0 -36
- package/demo/app/sys/event_api/ws/event.json +0 -10
- package/demo/app/sys/event_api/ws/main.js +0 -15
- package/demo/app/sys/plugin/main/api_client/activation/api.json +0 -29
- package/demo/app/sys/plugin/main/api_client/activation/index.js +0 -185
- package/demo/app/sys/plugin/main/api_client/activation/param.json +0 -56
- package/demo/app/sys/plugin/main/api_client/app_balance/api.json +0 -18
- package/demo/app/sys/plugin/main/api_client/app_balance/index.js +0 -61
- package/demo/app/sys/plugin/main/api_client/app_balance/param.json +0 -36
- package/demo/app/sys/plugin/main/api_client/app_pay/api.json +0 -23
- package/demo/app/sys/plugin/main/api_client/app_pay/index.js +0 -65
- package/demo/app/sys/plugin/main/api_client/app_pay/param.json +0 -61
- package/demo/app/sys/plugin/main/api_client/app_state/api.json +0 -27
- package/demo/app/sys/plugin/main/api_client/app_state/index.js +0 -46
- package/demo/app/sys/plugin/main/api_client/app_state/param.json +0 -36
- package/demo/app/sys/plugin/main/api_client/component/api.json +0 -27
- package/demo/app/sys/plugin/main/api_client/component/index.js +0 -331
- package/demo/app/sys/plugin/main/api_client/config/api.json +0 -37
- package/demo/app/sys/plugin/main/api_client/config/index.js +0 -36
- package/demo/app/sys/plugin/main/api_client/config/param.json +0 -27
- package/demo/app/sys/plugin/main/api_client/download/api.json +0 -37
- package/demo/app/sys/plugin/main/api_client/download/index.js +0 -60
- package/demo/app/sys/plugin/main/api_client/download/param.json +0 -34
- package/demo/app/sys/plugin/main/api_client/install/api.json +0 -24
- package/demo/app/sys/plugin/main/api_client/install/index.js +0 -216
- package/demo/app/sys/plugin/main/api_client/install/param.json +0 -64
- package/demo/app/sys/plugin/main/api_client/nav/api.json +0 -15
- package/demo/app/sys/plugin/main/api_client/nav/index.js +0 -37
- package/demo/app/sys/plugin/main/api_client/nav/param.json +0 -87
- package/demo/app/sys/plugin/main/api_client/overview/api.json +0 -24
- package/demo/app/sys/plugin/main/api_client/overview/index.js +0 -29
- package/demo/app/sys/plugin/main/api_client/overview/param.json +0 -130
- package/demo/app/sys/plugin/main/api_client/overview/sql.json +0 -70
- package/demo/app/sys/plugin/main/api_client/query/api.json +0 -35
- package/demo/app/sys/plugin/main/api_client/query/index.js +0 -48
- package/demo/app/sys/plugin/main/api_client/theme/api.json +0 -37
- package/demo/app/sys/plugin/main/api_client/theme/index.js +0 -30
- package/demo/app/sys/plugin/main/api_client/theme/param.json +0 -31
- package/demo/app/sys/plugin/main/api_client/version/api.json +0 -29
- package/demo/app/sys/plugin/main/api_client/version/index.js +0 -132
- package/demo/app/sys/plugin/main/api_client/version/param.json +0 -130
- package/demo/app/sys/plugin/main/api_client/zip/api.json +0 -31
- package/demo/app/sys/plugin/main/api_client/zip/index.js +0 -29
- package/demo/app/sys/plugin/main/api_client/zip/param.json +0 -48
- package/demo/app/sys/plugin/main/api_sys_client/count/api.json +0 -27
- package/demo/app/sys/plugin/main/api_sys_client/count/index.js +0 -73
- package/demo/app/sys/plugin/main/api_sys_client/lang/api.json +0 -37
- package/demo/app/sys/plugin/main/api_sys_client/lang/index.js +0 -28
- package/demo/app/sys/plugin/main/api_sys_client/lang/param.json +0 -22
- package/demo/app/sys/plugin/main/api_sys_client/log/api.json +0 -29
- package/demo/app/sys/plugin/main/api_sys_client/log/index.js +0 -42
- package/demo/app/sys/plugin/main/api_sys_client/log/param.json +0 -130
- package/demo/app/sys/plugin/main/api_sys_client/options/api.json +0 -30
- package/demo/app/sys/plugin/main/api_sys_client/options/index.js +0 -28
- package/demo/app/sys/plugin/main/api_sys_client/options/param.json +0 -130
- package/demo/app/sys/plugin/main/api_sys_client/query/api.json +0 -35
- package/demo/app/sys/plugin/main/api_sys_client/query/index.js +0 -48
- package/demo/app/sys/plugin/main/api_sys_client/theme/api.json +0 -37
- package/demo/app/sys/plugin/main/api_sys_client/theme/index.js +0 -30
- package/demo/app/sys/plugin/main/api_sys_client/theme/param.json +0 -31
- package/demo/app/sys/plugin/main/api_sys_web/index/api.json +0 -37
- package/demo/app/sys/plugin/main/api_sys_web/index/index.js +0 -26
- package/demo/app/sys/plugin/main/api_upload/chunk/api.json +0 -29
- package/demo/app/sys/plugin/main/api_upload/chunk/index.js +0 -38
- package/demo/app/sys/plugin/main/api_upload/chunk/param.json +0 -27
- package/demo/app/sys/plugin/main/api_upload/delete/api.json +0 -29
- package/demo/app/sys/plugin/main/api_upload/delete/index.js +0 -38
- package/demo/app/sys/plugin/main/api_upload/delete/param.json +0 -27
- package/demo/app/sys/plugin/main/api_upload/file/api.json +0 -15
- package/demo/app/sys/plugin/main/api_upload/file/index.js +0 -114
- package/demo/app/sys/plugin/main/api_upload/file/param.json +0 -9
- package/demo/app/sys/plugin/main/api_upload/image/api.json +0 -16
- package/demo/app/sys/plugin/main/api_upload/image/index.js +0 -45
- package/demo/app/sys/plugin/main/api_upload/image/param.json +0 -9
- package/demo/app/sys/plugin/main/api_upload/merge/api.json +0 -29
- package/demo/app/sys/plugin/main/api_upload/merge/index.js +0 -38
- package/demo/app/sys/plugin/main/api_upload/merge/param.json +0 -27
- package/demo/app/sys/plugin/main/api_upload/video/api.json +0 -29
- package/demo/app/sys/plugin/main/api_upload/video/index.js +0 -48
- package/demo/app/sys/plugin/main/api_upload/video/param.json +0 -25
- package/demo/app/sys/plugin/main/index.js +0 -127
- package/demo/app/sys/plugin/main/plugin.json +0 -19
- package/demo/app/sys/plugin/main/static/article_list.vue +0 -488
- package/demo/app/sys/plugin/main/static/img/logo.png +0 -0
- package/demo/app/sys/plugin/main/static/static.json +0 -18
- package/demo/app/sys/plugin/server/api_sys_client/ad/api.json +0 -12
- package/demo/app/sys/plugin/server/api_sys_client/ad/param.json +0 -685
- package/demo/app/sys/plugin/server/api_sys_client/ad/sql.json +0 -114
- package/demo/app/sys/plugin/server/api_sys_client/address_province/api.json +0 -12
- package/demo/app/sys/plugin/server/api_sys_client/address_province/param.json +0 -156
- package/demo/app/sys/plugin/server/api_sys_client/address_province/sql.json +0 -25
- package/demo/app/sys/plugin/server/api_sys_client/app/api.json +0 -12
- package/demo/app/sys/plugin/server/api_sys_client/app/param.json +0 -437
- package/demo/app/sys/plugin/server/api_sys_client/app/sql.json +0 -71
- package/demo/app/sys/plugin/server/api_sys_client/app_refresh/api.json +0 -12
- package/demo/app/sys/plugin/server/api_sys_client/app_refresh/param.json +0 -158
- package/demo/app/sys/plugin/server/api_sys_client/app_refresh/sql.json +0 -28
- package/demo/app/sys/plugin/server/api_sys_client/block/api.json +0 -12
- package/demo/app/sys/plugin/server/api_sys_client/block/param.json +0 -318
- package/demo/app/sys/plugin/server/api_sys_client/block/sql.json +0 -48
- package/demo/app/sys/plugin/server/api_sys_client/config/api.json +0 -12
- package/demo/app/sys/plugin/server/api_sys_client/config/param.json +0 -259
- package/demo/app/sys/plugin/server/api_sys_client/config/sql.json +0 -93
- package/demo/app/sys/plugin/server/api_sys_client/file/api.json +0 -12
- package/demo/app/sys/plugin/server/api_sys_client/file/param.json +0 -268
- package/demo/app/sys/plugin/server/api_sys_client/file/sql.json +0 -30
- package/demo/app/sys/plugin/server/api_sys_client/lang/api.json +0 -12
- package/demo/app/sys/plugin/server/api_sys_client/lang/param.json +0 -175
- package/demo/app/sys/plugin/server/api_sys_client/lang/sql.json +0 -40
- package/demo/app/sys/plugin/server/api_sys_client/message/api.json +0 -13
- package/demo/app/sys/plugin/server/api_sys_client/message/index.js +0 -31
- package/demo/app/sys/plugin/server/api_sys_client/message/param.json +0 -147
- package/demo/app/sys/plugin/server/api_sys_client/message/sql.json +0 -24
- package/demo/app/sys/plugin/server/api_sys_client/nav/api.json +0 -13
- package/demo/app/sys/plugin/server/api_sys_client/nav/index.js +0 -52
- package/demo/app/sys/plugin/server/api_sys_client/nav/param.json +0 -295
- package/demo/app/sys/plugin/server/api_sys_client/nav/sql.json +0 -63
- package/demo/app/sys/plugin/server/api_sys_client/pay/api.json +0 -12
- package/demo/app/sys/plugin/server/api_sys_client/pay/param.json +0 -391
- package/demo/app/sys/plugin/server/api_sys_client/pay/sql.json +0 -76
- package/demo/app/sys/plugin/server/api_sys_client/pay_type/api.json +0 -12
- package/demo/app/sys/plugin/server/api_sys_client/pay_type/param.json +0 -242
- package/demo/app/sys/plugin/server/api_sys_client/pay_type/sql.json +0 -74
- package/demo/app/sys/plugin/server/api_sys_client/project/api.json +0 -12
- package/demo/app/sys/plugin/server/api_sys_client/project/param.json +0 -796
- package/demo/app/sys/plugin/server/api_sys_client/project/sql.json +0 -163
- package/demo/app/sys/plugin/server/api_sys_client/recharge/api.json +0 -12
- package/demo/app/sys/plugin/server/api_sys_client/recharge/param.json +0 -311
- package/demo/app/sys/plugin/server/api_sys_client/recharge/sql.json +0 -102
- package/demo/app/sys/plugin/server/api_sys_client/scene/api.json +0 -12
- package/demo/app/sys/plugin/server/api_sys_client/scene/param.json +0 -226
- package/demo/app/sys/plugin/server/api_sys_client/scene/sql.json +0 -49
- package/demo/app/sys/plugin/server/api_sys_client/seo/api.json +0 -12
- package/demo/app/sys/plugin/server/api_sys_client/seo/param.json +0 -145
- package/demo/app/sys/plugin/server/api_sys_client/seo/sql.json +0 -49
- package/demo/app/sys/plugin/server/api_sys_client/withdrawal/api.json +0 -12
- package/demo/app/sys/plugin/server/api_sys_client/withdrawal/param.json +0 -378
- package/demo/app/sys/plugin/server/api_sys_client/withdrawal/sql.json +0 -92
- package/demo/app/sys/plugin/server/api_sys_manage/ad/api.json +0 -19
- package/demo/app/sys/plugin/server/api_sys_manage/ad/index.js +0 -27
- package/demo/app/sys/plugin/server/api_sys_manage/ad/param.json +0 -685
- package/demo/app/sys/plugin/server/api_sys_manage/ad/sql.json +0 -111
- package/demo/app/sys/plugin/server/api_sys_manage/address_province/api.json +0 -18
- package/demo/app/sys/plugin/server/api_sys_manage/address_province/param.json +0 -156
- package/demo/app/sys/plugin/server/api_sys_manage/address_province/sql.json +0 -23
- package/demo/app/sys/plugin/server/api_sys_manage/app/api.json +0 -18
- package/demo/app/sys/plugin/server/api_sys_manage/app/param.json +0 -437
- package/demo/app/sys/plugin/server/api_sys_manage/app/sql.json +0 -69
- package/demo/app/sys/plugin/server/api_sys_manage/app_refresh/api.json +0 -18
- package/demo/app/sys/plugin/server/api_sys_manage/app_refresh/param.json +0 -158
- package/demo/app/sys/plugin/server/api_sys_manage/app_refresh/sql.json +0 -27
- package/demo/app/sys/plugin/server/api_sys_manage/block/api.json +0 -18
- package/demo/app/sys/plugin/server/api_sys_manage/block/param.json +0 -318
- package/demo/app/sys/plugin/server/api_sys_manage/block/sql.json +0 -47
- package/demo/app/sys/plugin/server/api_sys_manage/config/api.json +0 -19
- package/demo/app/sys/plugin/server/api_sys_manage/config/index.js +0 -35
- package/demo/app/sys/plugin/server/api_sys_manage/config/param.json +0 -261
- package/demo/app/sys/plugin/server/api_sys_manage/config/sql.json +0 -92
- package/demo/app/sys/plugin/server/api_sys_manage/file/api.json +0 -18
- package/demo/app/sys/plugin/server/api_sys_manage/file/param.json +0 -268
- package/demo/app/sys/plugin/server/api_sys_manage/file/sql.json +0 -29
- package/demo/app/sys/plugin/server/api_sys_manage/lang/api.json +0 -19
- package/demo/app/sys/plugin/server/api_sys_manage/lang/index.js +0 -27
- package/demo/app/sys/plugin/server/api_sys_manage/lang/param.json +0 -175
- package/demo/app/sys/plugin/server/api_sys_manage/lang/sql.json +0 -40
- package/demo/app/sys/plugin/server/api_sys_manage/message/api.json +0 -18
- package/demo/app/sys/plugin/server/api_sys_manage/message/param.json +0 -152
- package/demo/app/sys/plugin/server/api_sys_manage/message/sql.json +0 -21
- package/demo/app/sys/plugin/server/api_sys_manage/nav/api.json +0 -19
- package/demo/app/sys/plugin/server/api_sys_manage/nav/index.js +0 -27
- package/demo/app/sys/plugin/server/api_sys_manage/nav/param.json +0 -295
- package/demo/app/sys/plugin/server/api_sys_manage/nav/sql.json +0 -61
- package/demo/app/sys/plugin/server/api_sys_manage/pay/api.json +0 -18
- package/demo/app/sys/plugin/server/api_sys_manage/pay/param.json +0 -391
- package/demo/app/sys/plugin/server/api_sys_manage/pay/sql.json +0 -75
- package/demo/app/sys/plugin/server/api_sys_manage/pay_type/api.json +0 -18
- package/demo/app/sys/plugin/server/api_sys_manage/pay_type/param.json +0 -242
- package/demo/app/sys/plugin/server/api_sys_manage/pay_type/sql.json +0 -73
- package/demo/app/sys/plugin/server/api_sys_manage/project/api.json +0 -18
- package/demo/app/sys/plugin/server/api_sys_manage/project/param.json +0 -796
- package/demo/app/sys/plugin/server/api_sys_manage/project/sql.json +0 -162
- package/demo/app/sys/plugin/server/api_sys_manage/recharge/api.json +0 -18
- package/demo/app/sys/plugin/server/api_sys_manage/recharge/param.json +0 -311
- package/demo/app/sys/plugin/server/api_sys_manage/recharge/sql.json +0 -101
- package/demo/app/sys/plugin/server/api_sys_manage/scene/api.json +0 -18
- package/demo/app/sys/plugin/server/api_sys_manage/scene/param.json +0 -226
- package/demo/app/sys/plugin/server/api_sys_manage/scene/sql.json +0 -48
- package/demo/app/sys/plugin/server/api_sys_manage/seo/api.json +0 -19
- package/demo/app/sys/plugin/server/api_sys_manage/seo/index.js +0 -26
- package/demo/app/sys/plugin/server/api_sys_manage/seo/param.json +0 -145
- package/demo/app/sys/plugin/server/api_sys_manage/seo/sql.json +0 -48
- package/demo/app/sys/plugin/server/api_sys_manage/withdrawal/api.json +0 -18
- package/demo/app/sys/plugin/server/api_sys_manage/withdrawal/param.json +0 -378
- package/demo/app/sys/plugin/server/api_sys_manage/withdrawal/sql.json +0 -91
- package/demo/app/sys/plugin/server/db/ad.db.json +0 -622
- package/demo/app/sys/plugin/server/db/address_province.db.json +0 -82
- package/demo/app/sys/plugin/server/db/app.db.json +0 -369
- package/demo/app/sys/plugin/server/db/app_refresh.db.json +0 -117
- package/demo/app/sys/plugin/server/db/block.db.json +0 -352
- package/demo/app/sys/plugin/server/db/config.db.json +0 -226
- package/demo/app/sys/plugin/server/db/file.db.json +0 -172
- package/demo/app/sys/plugin/server/db/lang.db.json +0 -208
- package/demo/app/sys/plugin/server/db/message.db.json +0 -99
- package/demo/app/sys/plugin/server/db/nav.db.json +0 -298
- package/demo/app/sys/plugin/server/db/pay.db.json +0 -316
- package/demo/app/sys/plugin/server/db/pay_type.db.json +0 -226
- package/demo/app/sys/plugin/server/db/project.db.json +0 -622
- package/demo/app/sys/plugin/server/db/recharge.db.json +0 -226
- package/demo/app/sys/plugin/server/db/scene.db.json +0 -208
- package/demo/app/sys/plugin/server/db/seo.db.json +0 -136
- package/demo/app/sys/plugin/server/db/withdrawal.db.json +0 -298
- package/demo/app/user/LICENSE +0 -201
- package/demo/app/user/app.js +0 -144
- package/demo/app/user/app.json +0 -10
- package/demo/app/user/event_api/client/event.json +0 -10
- package/demo/app/user/event_api/client/main.js +0 -17
- package/demo/app/user/event_api/manage/event.json +0 -10
- package/demo/app/user/event_api/manage/main.js +0 -17
- package/demo/app/user/event_api/web/event.json +0 -20
- package/demo/app/user/event_api/web/main.js +0 -39
- package/demo/app/user/plugin/main/api_user_client/account/api.json +0 -41
- package/demo/app/user/plugin/main/api_user_client/account/index.js +0 -54
- package/demo/app/user/plugin/main/api_user_client/account/param.json +0 -130
- package/demo/app/user/plugin/main/api_user_client/account/sql.json +0 -70
- package/demo/app/user/plugin/main/api_user_client/address_login/api.json +0 -27
- package/demo/app/user/plugin/main/api_user_client/address_login/index.js +0 -35
- package/demo/app/user/plugin/main/api_user_client/address_login/param.json +0 -130
- package/demo/app/user/plugin/main/api_user_client/base/api.json +0 -27
- package/demo/app/user/plugin/main/api_user_client/base/index.js +0 -92
- package/demo/app/user/plugin/main/api_user_client/base/param.json +0 -130
- package/demo/app/user/plugin/main/api_user_client/count/api.json +0 -27
- package/demo/app/user/plugin/main/api_user_client/count/chongzhi.js +0 -103
- package/demo/app/user/plugin/main/api_user_client/count/index.js +0 -24
- package/demo/app/user/plugin/main/api_user_client/count/param.json +0 -40
- package/demo/app/user/plugin/main/api_user_client/count/sql.json +0 -70
- package/demo/app/user/plugin/main/api_user_client/data_count/api.json +0 -37
- package/demo/app/user/plugin/main/api_user_client/data_count/index.js +0 -61
- package/demo/app/user/plugin/main/api_user_client/email_code/api.json +0 -37
- package/demo/app/user/plugin/main/api_user_client/email_code/email_code.js +0 -300
- package/demo/app/user/plugin/main/api_user_client/email_code/index.js +0 -18
- package/demo/app/user/plugin/main/api_user_client/email_code/param.json +0 -56
- package/demo/app/user/plugin/main/api_user_client/forgot/api.json +0 -37
- package/demo/app/user/plugin/main/api_user_client/forgot/index.js +0 -36
- package/demo/app/user/plugin/main/api_user_client/forgot/param.json +0 -57
- package/demo/app/user/plugin/main/api_user_client/ip/api.json +0 -39
- package/demo/app/user/plugin/main/api_user_client/ip/index.js +0 -43
- package/demo/app/user/plugin/main/api_user_client/ip/param.json +0 -130
- package/demo/app/user/plugin/main/api_user_client/ip/sql.json +0 -70
- package/demo/app/user/plugin/main/api_user_client/message/api.json +0 -29
- package/demo/app/user/plugin/main/api_user_client/message/index.js +0 -19
- package/demo/app/user/plugin/main/api_user_client/message/param.json +0 -36
- package/demo/app/user/plugin/main/api_user_client/message/sql.json +0 -21
- package/demo/app/user/plugin/main/api_user_client/oauth/WXBizDataCrypt.js +0 -33
- package/demo/app/user/plugin/main/api_user_client/oauth/api.json +0 -31
- package/demo/app/user/plugin/main/api_user_client/oauth/index.js +0 -16
- package/demo/app/user/plugin/main/api_user_client/oauth/oauth.js +0 -315
- package/demo/app/user/plugin/main/api_user_client/oauth/oauth.json +0 -88
- package/demo/app/user/plugin/main/api_user_client/oauth/param.json +0 -111
- package/demo/app/user/plugin/main/api_user_client/password/api.json +0 -21
- package/demo/app/user/plugin/main/api_user_client/password/index.js +0 -64
- package/demo/app/user/plugin/main/api_user_client/password/param.json +0 -45
- package/demo/app/user/plugin/main/api_user_client/phone_code/aliyun.js +0 -230
- package/demo/app/user/plugin/main/api_user_client/phone_code/api.json +0 -37
- package/demo/app/user/plugin/main/api_user_client/phone_code/index.js +0 -18
- package/demo/app/user/plugin/main/api_user_client/phone_code/param.json +0 -58
- package/demo/app/user/plugin/main/api_user_client/phone_code/phone_code.js +0 -297
- package/demo/app/user/plugin/main/api_user_client/realname/api.json +0 -21
- package/demo/app/user/plugin/main/api_user_client/realname/index.js +0 -45
- package/demo/app/user/plugin/main/api_user_client/realname/param.json +0 -74
- package/demo/app/user/plugin/main/api_user_client/servicer/api.json +0 -29
- package/demo/app/user/plugin/main/api_user_client/servicer/index.js +0 -19
- package/demo/app/user/plugin/main/api_user_client/servicer/param.json +0 -41
- package/demo/app/user/plugin/main/api_user_client/servicer/sql.json +0 -113
- package/demo/app/user/plugin/main/api_user_client/set_address/api.json +0 -37
- package/demo/app/user/plugin/main/api_user_client/set_address/index.js +0 -98
- package/demo/app/user/plugin/main/api_user_client/set_address/param.json +0 -165
- package/demo/app/user/plugin/main/api_user_client/set_avatar/api.json +0 -35
- package/demo/app/user/plugin/main/api_user_client/set_avatar/index.js +0 -77
- package/demo/app/user/plugin/main/api_user_client/set_info/api.json +0 -35
- package/demo/app/user/plugin/main/api_user_client/set_info/index.js +0 -44
- package/demo/app/user/plugin/main/api_user_client/set_nickname/api.json +0 -35
- package/demo/app/user/plugin/main/api_user_client/set_nickname/index.js +0 -46
- package/demo/app/user/plugin/main/api_user_client/set_pay_password/api.json +0 -21
- package/demo/app/user/plugin/main/api_user_client/set_pay_password/index.js +0 -64
- package/demo/app/user/plugin/main/api_user_client/sign_address/api.json +0 -39
- package/demo/app/user/plugin/main/api_user_client/sign_address/index.js +0 -114
- package/demo/app/user/plugin/main/api_user_client/sign_address/param.json +0 -130
- package/demo/app/user/plugin/main/api_user_client/sign_address/sql.json +0 -70
- package/demo/app/user/plugin/main/api_user_client/sign_auto/api.json +0 -29
- package/demo/app/user/plugin/main/api_user_client/sign_auto/index.js +0 -141
- package/demo/app/user/plugin/main/api_user_client/sign_auto/param.json +0 -42
- package/demo/app/user/plugin/main/api_user_client/sign_in/api.json +0 -11
- package/demo/app/user/plugin/main/api_user_client/sign_in/index.js +0 -274
- package/demo/app/user/plugin/main/api_user_client/sign_in/param.json +0 -125
- package/demo/app/user/plugin/main/api_user_client/sign_in/state.js +0 -37
- package/demo/app/user/plugin/main/api_user_client/sign_out/api.json +0 -9
- package/demo/app/user/plugin/main/api_user_client/sign_out/index.js +0 -28
- package/demo/app/user/plugin/main/api_user_client/sign_up/api.json +0 -12
- package/demo/app/user/plugin/main/api_user_client/sign_up/index.js +0 -189
- package/demo/app/user/plugin/main/api_user_client/sign_up/param.json +0 -83
- package/demo/app/user/plugin/main/api_user_client/sign_up_in/api.json +0 -37
- package/demo/app/user/plugin/main/api_user_client/sign_up_in/index.js +0 -137
- package/demo/app/user/plugin/main/api_user_client/sign_up_in/param.json +0 -33
- package/demo/app/user/plugin/main/api_user_client/state/api.json +0 -9
- package/demo/app/user/plugin/main/api_user_client/state/index.js +0 -19
- package/demo/app/user/plugin/main/api_user_client/token/api.json +0 -25
- package/demo/app/user/plugin/main/api_user_client/token/index.js +0 -20
- package/demo/app/user/plugin/main/api_user_client/token/param.json +0 -16
- package/demo/app/user/plugin/main/api_user_client/unsubscribe/api.json +0 -29
- package/demo/app/user/plugin/main/api_user_client/unsubscribe/index.js +0 -91
- package/demo/app/user/plugin/main/api_user_client/unsubscribe/param.json +0 -71
- package/demo/app/user/plugin/main/api_user_client/yun_avatar/api.json +0 -31
- package/demo/app/user/plugin/main/api_user_client/yun_avatar/index.js +0 -56
- package/demo/app/user/plugin/main/api_user_client/yun_avatar/param.json +0 -50
- package/demo/app/user/plugin/main/api_user_web/avatar/api.json +0 -28
- package/demo/app/user/plugin/main/api_user_web/avatar/index.js +0 -51
- package/demo/app/user/plugin/main/api_user_web/login/api.json +0 -37
- package/demo/app/user/plugin/main/api_user_web/login/index.js +0 -12
- package/demo/app/user/plugin/main/api_user_web/root/api.json +0 -38
- package/demo/app/user/plugin/main/api_user_web/root/index.js +0 -67
- package/demo/app/user/plugin/main/index.js +0 -144
- package/demo/app/user/plugin/main/plugin.json +0 -20
- package/demo/app/user/plugin/server/api_user_client/address/api.json +0 -16
- package/demo/app/user/plugin/server/api_user_client/address/index.js +0 -79
- package/demo/app/user/plugin/server/api_user_client/address/param.json +0 -288
- package/demo/app/user/plugin/server/api_user_client/address/sql.json +0 -56
- package/demo/app/user/plugin/server/api_user_client/count/api.json +0 -12
- package/demo/app/user/plugin/server/api_user_client/count/param.json +0 -646
- package/demo/app/user/plugin/server/api_user_client/count/sql.json +0 -82
- package/demo/app/user/plugin/server/api_user_client/info/api.json +0 -16
- package/demo/app/user/plugin/server/api_user_client/info/index.js +0 -42
- package/demo/app/user/plugin/server/api_user_client/info/param.json +0 -531
- package/demo/app/user/plugin/server/api_user_client/info/sql.json +0 -84
- package/demo/app/user/plugin/server/api_user_client/message/api.json +0 -12
- package/demo/app/user/plugin/server/api_user_client/message/param.json +0 -366
- package/demo/app/user/plugin/server/api_user_client/message/sql.json +0 -88
- package/demo/app/user/plugin/server/api_user_client/nation/api.json +0 -12
- package/demo/app/user/plugin/server/api_user_client/nation/param.json +0 -74
- package/demo/app/user/plugin/server/api_user_client/nation/sql.json +0 -18
- package/demo/app/user/plugin/server/api_user_manage/account/api.json +0 -18
- package/demo/app/user/plugin/server/api_user_manage/account/param.json +0 -620
- package/demo/app/user/plugin/server/api_user_manage/account/sql.json +0 -105
- package/demo/app/user/plugin/server/api_user_manage/address/api.json +0 -19
- package/demo/app/user/plugin/server/api_user_manage/address/index.js +0 -57
- package/demo/app/user/plugin/server/api_user_manage/address/param.json +0 -288
- package/demo/app/user/plugin/server/api_user_manage/address/sql.json +0 -44
- package/demo/app/user/plugin/server/api_user_manage/admin/api.json +0 -18
- package/demo/app/user/plugin/server/api_user_manage/admin/param.json +0 -147
- package/demo/app/user/plugin/server/api_user_manage/admin/sql.json +0 -24
- package/demo/app/user/plugin/server/api_user_manage/admin_log/api.json +0 -18
- package/demo/app/user/plugin/server/api_user_manage/admin_log/param.json +0 -226
- package/demo/app/user/plugin/server/api_user_manage/admin_log/sql.json +0 -32
- package/demo/app/user/plugin/server/api_user_manage/count/api.json +0 -18
- package/demo/app/user/plugin/server/api_user_manage/count/param.json +0 -646
- package/demo/app/user/plugin/server/api_user_manage/count/sql.json +0 -72
- package/demo/app/user/plugin/server/api_user_manage/group/api.json +0 -18
- package/demo/app/user/plugin/server/api_user_manage/group/param.json +0 -187
- package/demo/app/user/plugin/server/api_user_manage/group/sql.json +0 -39
- package/demo/app/user/plugin/server/api_user_manage/group_log/api.json +0 -18
- package/demo/app/user/plugin/server/api_user_manage/group_log/param.json +0 -235
- package/demo/app/user/plugin/server/api_user_manage/group_log/sql.json +0 -32
- package/demo/app/user/plugin/server/api_user_manage/info/api.json +0 -18
- package/demo/app/user/plugin/server/api_user_manage/info/param.json +0 -531
- package/demo/app/user/plugin/server/api_user_manage/info/sql.json +0 -71
- package/demo/app/user/plugin/server/api_user_manage/message/api.json +0 -18
- package/demo/app/user/plugin/server/api_user_manage/message/param.json +0 -366
- package/demo/app/user/plugin/server/api_user_manage/message/sql.json +0 -75
- package/demo/app/user/plugin/server/api_user_manage/nation/api.json +0 -18
- package/demo/app/user/plugin/server/api_user_manage/nation/param.json +0 -74
- package/demo/app/user/plugin/server/api_user_manage/nation/sql.json +0 -16
- package/demo/app/user/plugin/server/api_user_manage/state/api.json +0 -18
- package/demo/app/user/plugin/server/api_user_manage/state/param.json +0 -98
- package/demo/app/user/plugin/server/api_user_manage/state/sql.json +0 -29
- package/demo/app/user/plugin/server/db/account.db.json +0 -460
- package/demo/app/user/plugin/server/db/address.db.json +0 -262
- package/demo/app/user/plugin/server/db/admin.db.json +0 -117
- package/demo/app/user/plugin/server/db/admin_log.db.json +0 -189
- package/demo/app/user/plugin/server/db/count.db.json +0 -298
- package/demo/app/user/plugin/server/db/group.db.json +0 -117
- package/demo/app/user/plugin/server/db/group_log.db.json +0 -190
- package/demo/app/user/plugin/server/db/info.db.json +0 -496
- package/demo/app/user/plugin/server/db/message.db.json +0 -262
- package/demo/app/user/plugin/server/db/nation.db.json +0 -46
- package/demo/app/user/plugin/server/db/state.db.json +0 -64
- package/demo/config/development.json +0 -109
- package/demo/config/local.json +0 -111
- package/demo/config/lock.cache +0 -5
- package/demo/config/test.json +0 -109
- package/demo/config/tpl.json +0 -107
- package/demo/index.js +0 -30
- package/demo/static/file/image/1.png +0 -0
- /package/core/com/{api → rpc}/rpc.js +0 -0
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "user_count2",
|
|
3
|
-
"title": "用户统计",
|
|
4
|
-
"table": "user_count",
|
|
5
|
-
"key": "user_id",
|
|
6
|
-
"orderby_default": "`user_id` desc",
|
|
7
|
-
"field_obj": "`user_id`,`level`,`iq`,`credit`,`points`,`exp`,`extcredits1`,`extcredits2`,`extcredits3`,`extcredits4`,`extcredits5`,`extcredits6`,`extcredits7`,`extcredits8`,`money`,`coin`",
|
|
8
|
-
"field_default": "`user_id`,`level`,`iq`,`credit`,`points`,`exp`,`extcredits1`,`extcredits2`,`extcredits3`,`extcredits4`,`extcredits5`,`extcredits6`,`extcredits7`,`extcredits8`,`money`,`coin`",
|
|
9
|
-
"query": {
|
|
10
|
-
"level_min": "`level` >= {0}",
|
|
11
|
-
"level_max": "`level` <= {0}",
|
|
12
|
-
"iq_min": "`iq` >= {0}",
|
|
13
|
-
"iq_max": "`iq` <= {0}",
|
|
14
|
-
"credit_min": "`credit` >= {0}",
|
|
15
|
-
"credit_max": "`credit` <= {0}",
|
|
16
|
-
"credit_points_min": "`credit_points` >= {0}",
|
|
17
|
-
"credit_points_max": "`credit_points` <= {0}",
|
|
18
|
-
"exp_min": "`exp` >= {0}",
|
|
19
|
-
"exp_max": "`exp` <= {0}",
|
|
20
|
-
"extcredits1_min": "`extcredits1` >= {0}",
|
|
21
|
-
"extcredits1_max": "`extcredits1` <= {0}",
|
|
22
|
-
"extcredits2_min": "`extcredits2` >= {0}",
|
|
23
|
-
"extcredits2_max": "`extcredits2` <= {0}",
|
|
24
|
-
"extcredits3_min": "`extcredits3` >= {0}",
|
|
25
|
-
"extcredits3_max": "`extcredits3` <= {0}",
|
|
26
|
-
"extcredits4_min": "`extcredits4` >= {0}",
|
|
27
|
-
"extcredits4_max": "`extcredits4` <= {0}",
|
|
28
|
-
"extcredits5_min": "`extcredits5` >= {0}",
|
|
29
|
-
"extcredits5_max": "`extcredits5` <= {0}",
|
|
30
|
-
"extcredits6_min": "`extcredits6` >= {0}",
|
|
31
|
-
"extcredits6_max": "`extcredits6` <= {0}",
|
|
32
|
-
"extcredits7_min": "`extcredits7` >= {0}",
|
|
33
|
-
"extcredits7_max": "`extcredits7` <= {0}",
|
|
34
|
-
"extcredits8_min": "`extcredits8` >= {0}",
|
|
35
|
-
"extcredits8_max": "`extcredits8` <= {0}",
|
|
36
|
-
"money_min": "`money` >= {0}",
|
|
37
|
-
"money_max": "`money` <= {0}",
|
|
38
|
-
"coin_min": "`coin` >= {0}",
|
|
39
|
-
"coin_max": "`coin` <= {0}",
|
|
40
|
-
"keyword": "(`user_id` in (SELECT `user_id` FROM `user_account` WHERE `nickname` LIKE '%{0}%' OR `phone` LIKE '%{0}%' OR `wallet_address` LIKE '%{0}%'))",
|
|
41
|
-
"points_min": "`points` >= {0}",
|
|
42
|
-
"points_max": "`points` <= {0}"
|
|
43
|
-
},
|
|
44
|
-
"update": {
|
|
45
|
-
"level_add": "`level` = `level` + {0}",
|
|
46
|
-
"iq_add": "`iq` = `iq` + {0}",
|
|
47
|
-
"credit_add": "`credit` = `credit` + {0}",
|
|
48
|
-
"credit_points_add": "`credit_points` = `credit_points` + {0}",
|
|
49
|
-
"exp_add": "`exp` = `exp` + {0}",
|
|
50
|
-
"extcredits1_add": "`extcredits1` = `extcredits1` + {0}",
|
|
51
|
-
"extcredits2_add": "`extcredits2` = `extcredits2` + {0}",
|
|
52
|
-
"extcredits3_add": "`extcredits3` = `extcredits3` + {0}",
|
|
53
|
-
"extcredits4_add": "`extcredits4` = `extcredits4` + {0}",
|
|
54
|
-
"extcredits5_add": "`extcredits5` = `extcredits5` + {0}",
|
|
55
|
-
"extcredits6_add": "`extcredits6` = `extcredits6` + {0}",
|
|
56
|
-
"extcredits7_add": "`extcredits7` = `extcredits7` + {0}",
|
|
57
|
-
"extcredits8_add": "`extcredits8` = `extcredits8` + {0}",
|
|
58
|
-
"money_add": "`money` = `money` + {0}",
|
|
59
|
-
"coin_add": "`coin` = `coin` + {0}",
|
|
60
|
-
"points_add": "`points` = `points` + {0}"
|
|
61
|
-
},
|
|
62
|
-
"format": [
|
|
63
|
-
{
|
|
64
|
-
"key": "user_id",
|
|
65
|
-
"title": "用户",
|
|
66
|
-
"table": "user_account",
|
|
67
|
-
"name": "nickname",
|
|
68
|
-
"id": "user_id"
|
|
69
|
-
}
|
|
70
|
-
],
|
|
71
|
-
"field_hide": []
|
|
72
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "user_group_manage",
|
|
3
|
-
"title": "会员组表",
|
|
4
|
-
"description": "用于用户前端身份和鉴权",
|
|
5
|
-
"path": "/apis/user/group",
|
|
6
|
-
"method": "ALL",
|
|
7
|
-
"cache": 0,
|
|
8
|
-
"client_cache": false,
|
|
9
|
-
"param_path": "./param.json",
|
|
10
|
-
"sql_path": "./sql.json",
|
|
11
|
-
"check_param": true,
|
|
12
|
-
"oauth": {
|
|
13
|
-
"scope": true,
|
|
14
|
-
"signIn": true,
|
|
15
|
-
"gm": 2,
|
|
16
|
-
"user_admin": []
|
|
17
|
-
}
|
|
18
|
-
}
|
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "user_group2",
|
|
3
|
-
"title": "会员组表",
|
|
4
|
-
"add": {
|
|
5
|
-
"body": [
|
|
6
|
-
"name",
|
|
7
|
-
"rules",
|
|
8
|
-
"createtime",
|
|
9
|
-
"updatetime",
|
|
10
|
-
"status"
|
|
11
|
-
],
|
|
12
|
-
"body_required": []
|
|
13
|
-
},
|
|
14
|
-
"del": {
|
|
15
|
-
"query": [],
|
|
16
|
-
"query_required": [
|
|
17
|
-
"group_id"
|
|
18
|
-
]
|
|
19
|
-
},
|
|
20
|
-
"set": {
|
|
21
|
-
"query": [
|
|
22
|
-
"group_id",
|
|
23
|
-
"name",
|
|
24
|
-
"createtime_min",
|
|
25
|
-
"createtime_max",
|
|
26
|
-
"updatetime_min",
|
|
27
|
-
"updatetime_max",
|
|
28
|
-
"status_min",
|
|
29
|
-
"status_max",
|
|
30
|
-
"keyword"
|
|
31
|
-
],
|
|
32
|
-
"query_required": [],
|
|
33
|
-
"body": [
|
|
34
|
-
"name",
|
|
35
|
-
"rules",
|
|
36
|
-
"createtime",
|
|
37
|
-
"createtime_add",
|
|
38
|
-
"updatetime",
|
|
39
|
-
"updatetime_add",
|
|
40
|
-
"status",
|
|
41
|
-
"status_add"
|
|
42
|
-
],
|
|
43
|
-
"body_required": [],
|
|
44
|
-
"body_not": []
|
|
45
|
-
},
|
|
46
|
-
"get": {
|
|
47
|
-
"query": [
|
|
48
|
-
"group_id",
|
|
49
|
-
"name",
|
|
50
|
-
"createtime_min",
|
|
51
|
-
"createtime_max",
|
|
52
|
-
"updatetime_min",
|
|
53
|
-
"updatetime_max",
|
|
54
|
-
"status_min",
|
|
55
|
-
"status_max",
|
|
56
|
-
"keyword"
|
|
57
|
-
],
|
|
58
|
-
"query_required": []
|
|
59
|
-
},
|
|
60
|
-
"list": [
|
|
61
|
-
{
|
|
62
|
-
"name": "group_id",
|
|
63
|
-
"title": "用户组ID",
|
|
64
|
-
"description": "",
|
|
65
|
-
"type": "number",
|
|
66
|
-
"dataType": "int",
|
|
67
|
-
"number": {
|
|
68
|
-
"max": 2147483647
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"name": "name",
|
|
73
|
-
"title": "组名",
|
|
74
|
-
"description": "",
|
|
75
|
-
"type": "string",
|
|
76
|
-
"dataType": "varchar",
|
|
77
|
-
"string": {
|
|
78
|
-
"max": 50
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"name": "rules",
|
|
83
|
-
"title": "权限节点",
|
|
84
|
-
"description": "",
|
|
85
|
-
"type": "string",
|
|
86
|
-
"dataType": "text",
|
|
87
|
-
"string": {}
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"name": "createtime",
|
|
91
|
-
"title": "添加时间",
|
|
92
|
-
"description": "",
|
|
93
|
-
"type": "number",
|
|
94
|
-
"dataType": "int",
|
|
95
|
-
"number": {
|
|
96
|
-
"max": 2147483647
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"name": "createtime_min",
|
|
101
|
-
"title": "添加时间——最小值",
|
|
102
|
-
"description": "",
|
|
103
|
-
"type": "number",
|
|
104
|
-
"dataType": "int",
|
|
105
|
-
"number": {
|
|
106
|
-
"max": 2147483647
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
"name": "createtime_max",
|
|
111
|
-
"title": "添加时间——最大值",
|
|
112
|
-
"description": "",
|
|
113
|
-
"type": "number",
|
|
114
|
-
"dataType": "int",
|
|
115
|
-
"number": {
|
|
116
|
-
"max": 2147483647
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
"name": "updatetime",
|
|
121
|
-
"title": "更新时间",
|
|
122
|
-
"description": "",
|
|
123
|
-
"type": "number",
|
|
124
|
-
"dataType": "int",
|
|
125
|
-
"number": {
|
|
126
|
-
"max": 2147483647
|
|
127
|
-
}
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
"name": "updatetime_min",
|
|
131
|
-
"title": "更新时间——最小值",
|
|
132
|
-
"description": "",
|
|
133
|
-
"type": "number",
|
|
134
|
-
"dataType": "int",
|
|
135
|
-
"number": {
|
|
136
|
-
"max": 2147483647
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
"name": "updatetime_max",
|
|
141
|
-
"title": "更新时间——最大值",
|
|
142
|
-
"description": "",
|
|
143
|
-
"type": "number",
|
|
144
|
-
"dataType": "int",
|
|
145
|
-
"number": {
|
|
146
|
-
"max": 2147483647
|
|
147
|
-
}
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
"name": "status",
|
|
151
|
-
"title": "状态",
|
|
152
|
-
"description": "",
|
|
153
|
-
"type": "number",
|
|
154
|
-
"dataType": "enum",
|
|
155
|
-
"number": {}
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
"name": "status_min",
|
|
159
|
-
"title": "状态——最小值",
|
|
160
|
-
"description": "",
|
|
161
|
-
"type": "number",
|
|
162
|
-
"dataType": "enum",
|
|
163
|
-
"number": {}
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
"name": "status_max",
|
|
167
|
-
"title": "状态——最大值",
|
|
168
|
-
"description": "",
|
|
169
|
-
"type": "number",
|
|
170
|
-
"dataType": "enum",
|
|
171
|
-
"number": {}
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
"name": "keyword",
|
|
175
|
-
"title": "关键词",
|
|
176
|
-
"description": "用于搜索组名(name)",
|
|
177
|
-
"type": "string",
|
|
178
|
-
"dataType": "varchar",
|
|
179
|
-
"string": {}
|
|
180
|
-
}
|
|
181
|
-
],
|
|
182
|
-
"get_obj": {
|
|
183
|
-
"query_required": [
|
|
184
|
-
"group_id"
|
|
185
|
-
]
|
|
186
|
-
}
|
|
187
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "user_group2",
|
|
3
|
-
"title": "会员组表",
|
|
4
|
-
"table": "user_group",
|
|
5
|
-
"key": "group_id",
|
|
6
|
-
"orderby_default": "`group_id` asc",
|
|
7
|
-
"field_obj": "`group_id`,`name`,`description`",
|
|
8
|
-
"field_default": "`group_id`,`name`,`description`",
|
|
9
|
-
"query": {
|
|
10
|
-
"app": "`app` like '%{0}%'",
|
|
11
|
-
"bonus_min": "`bonus` >= {0}",
|
|
12
|
-
"bonus_max": "`bonus` <= {0}",
|
|
13
|
-
"description": "`description` like '%{0}%'",
|
|
14
|
-
"discount_min": "`discount` >= {0}",
|
|
15
|
-
"discount_max": "`discount` <= {0}",
|
|
16
|
-
"display_min": "`display` >= {0}",
|
|
17
|
-
"display_max": "`display` <= {0}",
|
|
18
|
-
"exp_min": "`exp` >= {0}",
|
|
19
|
-
"exp_max": "`exp` <= {0}",
|
|
20
|
-
"icon": "`icon` like '%{0}%'",
|
|
21
|
-
"level_min": "`level` >= {0}",
|
|
22
|
-
"level_max": "`level` <= {0}",
|
|
23
|
-
"name": "`name` like '%{0}%'",
|
|
24
|
-
"keyword": "(`name` like '%{0}%')",
|
|
25
|
-
"title": "`title` like '%{0}%'"
|
|
26
|
-
},
|
|
27
|
-
"update": {
|
|
28
|
-
"bonus_add": "`bonus` = `bonus` + {0}",
|
|
29
|
-
"discount_add": "`discount` = `discount` + {0}",
|
|
30
|
-
"display_add": "`display` = `display` + {0}",
|
|
31
|
-
"exp_add": "`exp` = `exp` + {0}",
|
|
32
|
-
"level_add": "`level` = `level` + {0}",
|
|
33
|
-
"createtime_add": "`createtime` = `createtime` + {0}",
|
|
34
|
-
"updatetime_add": "`updatetime` = `updatetime` + {0}",
|
|
35
|
-
"status_add": "`status` = `status` + {0}"
|
|
36
|
-
},
|
|
37
|
-
"format": [],
|
|
38
|
-
"field_hide": []
|
|
39
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "user_group_log_manage",
|
|
3
|
-
"title": "用户日志",
|
|
4
|
-
"description": "",
|
|
5
|
-
"path": "/apis/user/group_log",
|
|
6
|
-
"method": "ALL",
|
|
7
|
-
"cache": 0,
|
|
8
|
-
"client_cache": false,
|
|
9
|
-
"param_path": "./param.json",
|
|
10
|
-
"sql_path": "./sql.json",
|
|
11
|
-
"check_param": true,
|
|
12
|
-
"oauth": {
|
|
13
|
-
"scope": true,
|
|
14
|
-
"signIn": true,
|
|
15
|
-
"gm": 2,
|
|
16
|
-
"user_admin": []
|
|
17
|
-
}
|
|
18
|
-
}
|
|
@@ -1,235 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "user_group_log2",
|
|
3
|
-
"title": "用户日志",
|
|
4
|
-
"add": {
|
|
5
|
-
"body": [
|
|
6
|
-
"user_id",
|
|
7
|
-
"useragent"
|
|
8
|
-
],
|
|
9
|
-
"body_required": [
|
|
10
|
-
"address",
|
|
11
|
-
"url",
|
|
12
|
-
"title",
|
|
13
|
-
"content",
|
|
14
|
-
"ip"
|
|
15
|
-
]
|
|
16
|
-
},
|
|
17
|
-
"del": {
|
|
18
|
-
"query": [],
|
|
19
|
-
"query_required": [
|
|
20
|
-
"log_id"
|
|
21
|
-
]
|
|
22
|
-
},
|
|
23
|
-
"set": {
|
|
24
|
-
"query": [
|
|
25
|
-
"log_id",
|
|
26
|
-
"title",
|
|
27
|
-
"content",
|
|
28
|
-
"keyword"
|
|
29
|
-
],
|
|
30
|
-
"query_required": [],
|
|
31
|
-
"body": [
|
|
32
|
-
"user_id",
|
|
33
|
-
"address",
|
|
34
|
-
"url",
|
|
35
|
-
"title",
|
|
36
|
-
"content",
|
|
37
|
-
"ip",
|
|
38
|
-
"useragent"
|
|
39
|
-
],
|
|
40
|
-
"body_required": [],
|
|
41
|
-
"body_not": []
|
|
42
|
-
},
|
|
43
|
-
"get": {
|
|
44
|
-
"query": [
|
|
45
|
-
"log_id",
|
|
46
|
-
"user_id",
|
|
47
|
-
"title",
|
|
48
|
-
"content",
|
|
49
|
-
"time_create_min",
|
|
50
|
-
"time_create_max",
|
|
51
|
-
"time_update_min",
|
|
52
|
-
"time_update_max",
|
|
53
|
-
"keyword"
|
|
54
|
-
],
|
|
55
|
-
"query_required": []
|
|
56
|
-
},
|
|
57
|
-
"get_obj": {
|
|
58
|
-
"query_required": [
|
|
59
|
-
"log_id"
|
|
60
|
-
]
|
|
61
|
-
},
|
|
62
|
-
"list": [
|
|
63
|
-
{
|
|
64
|
-
"name": "log_id",
|
|
65
|
-
"title": "日志ID",
|
|
66
|
-
"description": "",
|
|
67
|
-
"type": "number",
|
|
68
|
-
"dataType": "int",
|
|
69
|
-
"default": "0",
|
|
70
|
-
"number": {
|
|
71
|
-
"max": 2147483647
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"name": "user_id",
|
|
76
|
-
"title": "用户ID",
|
|
77
|
-
"description": "(user_account.phone)",
|
|
78
|
-
"type": "number",
|
|
79
|
-
"dataType": "int",
|
|
80
|
-
"default": "0",
|
|
81
|
-
"number": {
|
|
82
|
-
"max": 2147483647
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"name": "address",
|
|
87
|
-
"title": "用户地址",
|
|
88
|
-
"description": "",
|
|
89
|
-
"type": "string",
|
|
90
|
-
"dataType": "varchar",
|
|
91
|
-
"default": "",
|
|
92
|
-
"string": {
|
|
93
|
-
"max": 64,
|
|
94
|
-
"notEmpty": true
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"name": "url",
|
|
99
|
-
"title": "操作接口",
|
|
100
|
-
"description": "",
|
|
101
|
-
"type": "string",
|
|
102
|
-
"dataType": "varchar",
|
|
103
|
-
"default": "",
|
|
104
|
-
"string": {
|
|
105
|
-
"max": 255,
|
|
106
|
-
"format": "url",
|
|
107
|
-
"notEmpty": true
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"name": "title",
|
|
112
|
-
"title": "日志标题",
|
|
113
|
-
"description": "",
|
|
114
|
-
"type": "string",
|
|
115
|
-
"dataType": "varchar",
|
|
116
|
-
"default": "",
|
|
117
|
-
"string": {
|
|
118
|
-
"max": 100,
|
|
119
|
-
"notEmpty": true
|
|
120
|
-
}
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"name": "content",
|
|
124
|
-
"title": "内容",
|
|
125
|
-
"description": "",
|
|
126
|
-
"type": "string",
|
|
127
|
-
"dataType": "longtext",
|
|
128
|
-
"default": "0",
|
|
129
|
-
"string": {
|
|
130
|
-
"notEmpty": true
|
|
131
|
-
}
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
"name": "ip",
|
|
135
|
-
"title": "IP",
|
|
136
|
-
"description": "",
|
|
137
|
-
"type": "string",
|
|
138
|
-
"dataType": "varchar",
|
|
139
|
-
"default": "",
|
|
140
|
-
"string": {
|
|
141
|
-
"max": 50,
|
|
142
|
-
"notEmpty": true
|
|
143
|
-
}
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
"name": "useragent",
|
|
147
|
-
"title": "User-Agent",
|
|
148
|
-
"description": "",
|
|
149
|
-
"type": "string",
|
|
150
|
-
"dataType": "text",
|
|
151
|
-
"default": null,
|
|
152
|
-
"string": {}
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
"name": "time_create",
|
|
156
|
-
"title": "创建时间",
|
|
157
|
-
"description": "",
|
|
158
|
-
"type": "string",
|
|
159
|
-
"dataType": "datetime",
|
|
160
|
-
"default": "",
|
|
161
|
-
"string": {
|
|
162
|
-
"notEmpty": true,
|
|
163
|
-
"format": "datetime"
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
"name": "time_create_min",
|
|
168
|
-
"title": "创建时间——开始时间",
|
|
169
|
-
"description": "",
|
|
170
|
-
"type": "string",
|
|
171
|
-
"dataType": "datetime",
|
|
172
|
-
"default": "",
|
|
173
|
-
"string": {
|
|
174
|
-
"notEmpty": true,
|
|
175
|
-
"format": "datetime"
|
|
176
|
-
}
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
"name": "time_create_max",
|
|
180
|
-
"title": "创建时间——结束时间",
|
|
181
|
-
"description": "",
|
|
182
|
-
"type": "string",
|
|
183
|
-
"dataType": "datetime",
|
|
184
|
-
"default": "",
|
|
185
|
-
"string": {
|
|
186
|
-
"notEmpty": true,
|
|
187
|
-
"format": "datetime"
|
|
188
|
-
}
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
"name": "time_update",
|
|
192
|
-
"title": "更新时间",
|
|
193
|
-
"description": "",
|
|
194
|
-
"type": "string",
|
|
195
|
-
"dataType": "timestamp",
|
|
196
|
-
"default": "",
|
|
197
|
-
"string": {
|
|
198
|
-
"notEmpty": true,
|
|
199
|
-
"format": "datetime"
|
|
200
|
-
}
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
"name": "time_update_min",
|
|
204
|
-
"title": "更新时间——开始时间",
|
|
205
|
-
"description": "",
|
|
206
|
-
"type": "string",
|
|
207
|
-
"dataType": "timestamp",
|
|
208
|
-
"default": "",
|
|
209
|
-
"string": {
|
|
210
|
-
"notEmpty": true,
|
|
211
|
-
"format": "datetime"
|
|
212
|
-
}
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
"name": "time_update_max",
|
|
216
|
-
"title": "更新时间——结束时间",
|
|
217
|
-
"description": "",
|
|
218
|
-
"type": "string",
|
|
219
|
-
"dataType": "timestamp",
|
|
220
|
-
"default": "",
|
|
221
|
-
"string": {
|
|
222
|
-
"notEmpty": true,
|
|
223
|
-
"format": "datetime"
|
|
224
|
-
}
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
"name": "keyword",
|
|
228
|
-
"title": "关键词",
|
|
229
|
-
"description": "用于搜索日志标题(title)、内容(content)、昵称、手机号、钱包地址",
|
|
230
|
-
"type": "string",
|
|
231
|
-
"dataType": "varchar",
|
|
232
|
-
"string": {}
|
|
233
|
-
}
|
|
234
|
-
]
|
|
235
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "user_group_log2",
|
|
3
|
-
"title": "用户日志",
|
|
4
|
-
"table": "user_group_log",
|
|
5
|
-
"key": "log_id",
|
|
6
|
-
"orderby_default": "`log_id` desc",
|
|
7
|
-
"field_obj": "*",
|
|
8
|
-
"field_default": "*",
|
|
9
|
-
"query": {
|
|
10
|
-
"address": "`address` like '%{0}%'",
|
|
11
|
-
"url": "`url` like '%{0}%'",
|
|
12
|
-
"title": "`title` like '%{0}%'",
|
|
13
|
-
"content": "`content` like '%{0}%'",
|
|
14
|
-
"ip": "`ip` like '%{0}%'",
|
|
15
|
-
"useragent": "`useragent` like '%{0}%'",
|
|
16
|
-
"time_create_min": "`time_create` >= '{0}'",
|
|
17
|
-
"time_create_max": "`time_create` <= '{0}'",
|
|
18
|
-
"time_update_min": "`time_update` >= '{0}'",
|
|
19
|
-
"time_update_max": "`time_update` <= '{0}'",
|
|
20
|
-
"keyword": "(`title` like '%{0}%' || `user_id` in (SELECT `user_id` FROM `user_account` WHERE `nickname` LIKE '%{0}%' OR `phone` LIKE '%{0}%' OR `wallet_address` LIKE '%{0}%'))"
|
|
21
|
-
},
|
|
22
|
-
"update": {},
|
|
23
|
-
"format": [
|
|
24
|
-
{
|
|
25
|
-
"key": "user_id",
|
|
26
|
-
"title": "用户",
|
|
27
|
-
"table": "user_account",
|
|
28
|
-
"name": "phone"
|
|
29
|
-
}
|
|
30
|
-
],
|
|
31
|
-
"field_hide": []
|
|
32
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "user_info_manage",
|
|
3
|
-
"title": "用户信息",
|
|
4
|
-
"description": "用于保存用户个人信息,如年龄、住址等",
|
|
5
|
-
"path": "/apis/user/info",
|
|
6
|
-
"method": "ALL",
|
|
7
|
-
"cache": 0,
|
|
8
|
-
"client_cache": false,
|
|
9
|
-
"param_path": "./param.json",
|
|
10
|
-
"sql_path": "./sql.json",
|
|
11
|
-
"check_param": true,
|
|
12
|
-
"oauth": {
|
|
13
|
-
"scope": true,
|
|
14
|
-
"signIn": true,
|
|
15
|
-
"gm": 2,
|
|
16
|
-
"user_admin": []
|
|
17
|
-
}
|
|
18
|
-
}
|