owl-cli 6.214.0 → 7.1.0
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/bin/owl-init.js +26 -5
- package/examples/models/owlsys/backendSession.json +52 -0
- package/examples/models/owlsys/orgBatch/org_admin_batch_import/api/src/eventhandlers/afterAdd.jsx +10 -0
- package/examples/models/owlsys/orgBatch/org_admin_batch_import/api/src/tasks/batchImport.jsx +318 -0
- package/examples/models/owlsys/orgBatch/org_admin_batch_import.json +75 -0
- package/examples/models/owlsys/orgBatch/org_batch_export/api/src/eventhandlers/batchExport.jsx +24 -0
- package/examples/models/owlsys/orgBatch/org_batch_export/api/src/tasks/batchExport.jsx +375 -0
- package/examples/models/owlsys/orgBatch/org_batch_export.json +102 -0
- package/examples/models/owlsys/orgBatch/org_batch_import/api/src/eventhandlers/batchImport.jsx +24 -0
- package/examples/models/owlsys/orgBatch/org_batch_import/api/src/plugins/downTemplate.jsx +79 -0
- package/examples/models/owlsys/orgBatch/org_batch_import/api/src/tasks/batchImport.jsx +424 -0
- package/examples/models/owlsys/orgBatch/org_batch_import.json +82 -0
- package/examples/models/owlsys/orgBatch/org_batch_repair_parentid/api/src/eventhandlers/batchUpdate.jsx +24 -0
- package/examples/models/owlsys/orgBatch/org_batch_repair_parentid/api/src/plugins/downTemplate.jsx +54 -0
- package/examples/models/owlsys/orgBatch/org_batch_repair_parentid/api/src/tasks/batchUpdate.jsx +924 -0
- package/examples/models/owlsys/orgBatch/org_batch_repair_parentid.json +82 -0
- package/examples/models/owlsys/orgBatch/org_batch_update/api/src/eventhandlers/batchUpdate.jsx +24 -0
- package/examples/models/owlsys/orgBatch/org_batch_update/api/src/plugins/downTemplate.jsx +79 -0
- package/examples/models/owlsys/orgBatch/org_batch_update/api/src/tasks/batchUpdate.jsx +472 -0
- package/examples/models/owlsys/orgBatch/org_batch_update.json +81 -0
- package/examples/models/owlsys/orgBatch/org_batch_update_parentid/api/src/eventhandlers/batchUpdate.jsx +24 -0
- package/examples/models/owlsys/orgBatch/org_batch_update_parentid/api/src/plugins/downTemplate.jsx +54 -0
- package/examples/models/owlsys/orgBatch/org_batch_update_parentid/api/src/tasks/batchUpdate.jsx +509 -0
- package/examples/models/owlsys/orgBatch/org_batch_update_parentid.json +82 -0
- package/examples/models/owlsys/orgBatch/org_batch_update_state/api/src/eventhandlers/batchUpdate.jsx +24 -0
- package/examples/models/owlsys/orgBatch/org_batch_update_state/api/src/plugins/downTemplate.jsx +61 -0
- package/examples/models/owlsys/orgBatch/org_batch_update_state/api/src/tasks/doUpdateTask.jsx +299 -0
- package/examples/models/owlsys/orgBatch/org_batch_update_state.json +81 -0
- package/examples/models/owlsys/orgBatch/orguser_batch_import/api/src/eventhandlers/batchImport.jsx +24 -0
- package/examples/models/owlsys/orgBatch/orguser_batch_import/api/src/plugins/downTemplate.jsx +52 -0
- package/examples/models/owlsys/orgBatch/orguser_batch_import/api/src/tasks/batchImport.jsx +297 -0
- package/examples/models/owlsys/orgBatch/orguser_batch_import.json +82 -0
- package/examples/models/owlsys/orgBatch/orguser_batch_update/api/src/eventhandlers/batchImport.jsx +24 -0
- package/examples/models/owlsys/orgBatch/orguser_batch_update/api/src/plugins/downTemplate.jsx +58 -0
- package/examples/models/owlsys/orgBatch/orguser_batch_update/api/src/tasks/batchUpdate.jsx +345 -0
- package/examples/models/owlsys/orgBatch/orguser_batch_update.json +82 -0
- package/examples/models/owlsys/organization/business_circle.json +144 -0
- package/examples/models/owlsys/organization/business_circle_application.json +50 -0
- package/examples/models/owlsys/organization/createSiteOrder.json +50 -0
- package/examples/models/owlsys/organization/entity.json +64 -0
- package/examples/models/owlsys/organization/merchant_apply/api/src/plugins/doCertifyToNotPass.jsx +68 -0
- package/examples/models/owlsys/organization/merchant_apply/api/src/plugins/doCertifyToPass.jsx +135 -0
- package/examples/models/owlsys/organization/merchant_apply.json +561 -0
- package/examples/models/owlsys/organization/merchant_user.json +55 -0
- package/examples/models/owlsys/organization/orgAdminGroups.json +179 -0
- package/examples/models/owlsys/organization/org_admin_groups/api/src/plugins/addUserToGroup.jsx +65 -0
- package/examples/models/owlsys/organization/org_admin_groups/api/src/plugins/createNewUser.jsx +9 -0
- package/examples/models/owlsys/organization/org_certify_log/api/src/plugins/doCertifyToNotPass.jsx +66 -0
- package/examples/models/owlsys/organization/org_certify_log/api/src/plugins/doCertifyToPass.jsx +94 -0
- package/examples/models/owlsys/organization/org_certify_log.json +78 -0
- package/examples/models/owlsys/organization/org_entity.json +60 -0
- package/examples/models/owlsys/organization/org_modules.json +117 -0
- package/examples/models/owlsys/organization/org_source.json +30 -0
- package/examples/models/owlsys/organization/org_user.json +81 -0
- package/examples/models/owlsys/organization/orgs/api/src/eventHandlers/doCheckBeforeAddOrUpdate.jsx +32 -0
- package/examples/models/owlsys/organization/orgs/api/src/eventHandlers/doCheckBeforeDelete.jsx +19 -0
- package/examples/models/owlsys/organization/orgs/api/src/eventHandlers/setIdByOrgType.jsx +47 -0
- package/examples/models/owlsys/organization/orgs/api/src/plugins/toOrg.jsx +48 -0
- package/examples/models/owlsys/organization/orgs.json +671 -0
- package/examples/models/owlsys/organization/platformAdminGroups.json +78 -0
- package/examples/models/owlsys/organization/website/api/src/plugins/syncToOrg.jsx +27 -0
- package/examples/models/owlsys/organization/website.json +104 -0
- package/examples/models/owlsys/permissions/permission.json +165 -0
- package/examples/models/owlsys/permissions/roles.json +48 -0
- package/examples/models/owlsys/permissions/tablelevelpermission.json +42 -0
- package/examples/models/owlsys/server_token.json +38 -0
- package/examples/models/owlsys/session.json +57 -0
- package/examples/models/owlsys/tasks/process_job.json +94 -0
- package/examples/models/owlsys/tasks/process_job_checklog.json +66 -0
- package/examples/models/owlsys/tasks/process_job_log.json +34 -0
- package/examples/models/owlsys/user/address.json +52 -0
- package/examples/models/owlsys/user/mall_u/api/src/plugins/changePassword.jsx +133 -0
- package/examples/models/owlsys/user/mall_u_category/api/src/eventHandlers/autoSetFullPath_addAfter.jsx +25 -0
- package/examples/models/owlsys/user/mall_u_category/api/src/eventHandlers/autoSetFullPath_updateBefore.jsx +23 -0
- package/examples/models/owlsys/user/mall_user_logout/api/src/eventhandlers/updateUserState.jsx +25 -0
- package/examples/models/owlsys/user/org_user_address.json +46 -0
- package/examples/models/owlsys/user/org_user_address_default.json +48 -0
- package/examples/models/owlsys/user/org_user_invoice.json +56 -0
- package/examples/models/owlsys/user/user.json +458 -0
- package/examples/models/owlsys/user/user_address.json +46 -0
- package/examples/models/owlsys/user/user_address_default.json +48 -0
- package/examples/models/owlsys/user/user_batch_base_export/api/src/eventhandlers/batchExport.jsx +24 -0
- package/examples/models/owlsys/user/user_batch_base_export/api/src/tasks/batchExport.jsx +240 -0
- package/examples/models/owlsys/user/user_batch_base_export.json +97 -0
- package/examples/models/owlsys/user/user_batch_export_bigmember_info/api/src/eventhandlers/batchExport.jsx +24 -0
- package/examples/models/owlsys/user/user_batch_export_bigmember_info/api/src/plugins/downTemplate.jsx +47 -0
- package/examples/models/owlsys/user/user_batch_export_bigmember_info/api/src/tasks/batchExportTask.jsx +208 -0
- package/examples/models/owlsys/user/user_batch_export_bigmember_info.json +83 -0
- package/examples/models/owlsys/user/user_batch_export_by_userid/api/src/eventhandlers/batchExport.jsx +24 -0
- package/examples/models/owlsys/user/user_batch_export_by_userid/api/src/plugins/downTemplate.jsx +44 -0
- package/examples/models/owlsys/user/user_batch_export_by_userid/api/src/tasks/batchExportTask.jsx +262 -0
- package/examples/models/owlsys/user/user_batch_export_by_userid.json +83 -0
- package/examples/models/owlsys/user/user_batch_import/api/src/eventhandlers/batchImport.jsx +24 -0
- package/examples/models/owlsys/user/user_batch_import/api/src/tasks/doAddUserTask.jsx +250 -0
- package/examples/models/owlsys/user/user_batch_import.json +76 -0
- package/examples/models/owlsys/user/user_batch_update_category/api/src/eventhandlers/batchUpdate.jsx +24 -0
- package/examples/models/owlsys/user/user_batch_update_category/api/src/tasks/doUpdateUserTask.jsx +191 -0
- package/examples/models/owlsys/user/user_batch_update_category.json +77 -0
- package/examples/models/owlsys/user/user_batch_update_password/api/src/eventhandlers/batchUpdate.jsx +24 -0
- package/examples/models/owlsys/user/user_batch_update_password/api/src/plugins/downTemplate.jsx +48 -0
- package/examples/models/owlsys/user/user_batch_update_password/api/src/tasks/doUpdateUserTask.jsx +140 -0
- package/examples/models/owlsys/user/user_batch_update_password.json +82 -0
- package/examples/models/owlsys/user/user_batch_update_state/api/src/eventhandlers/batchUpdate.jsx +24 -0
- package/examples/models/owlsys/user/user_batch_update_state/api/src/tasks/doUpdateUserTask.jsx +140 -0
- package/examples/models/owlsys/user/user_batch_update_state.json +75 -0
- package/examples/models/owlsys/user/user_category.json +96 -0
- package/examples/models/owlsys/user/user_education.json +56 -0
- package/examples/models/owlsys/user/user_income.json +56 -0
- package/examples/models/owlsys/user/user_industry.json +56 -0
- package/examples/models/owlsys/user/user_invoice.json +88 -0
- package/examples/models/owlsys/user/user_logout.json +65 -0
- package/examples/models/owlsys/user/user_purchased_merchant.json +41 -0
- package/examples/models/owlsys/user/user_source.json +57 -0
- package/examples/models/owlsys/user/user_third_openid.json +64 -0
- package/examples/models/owlsys/user/user_third_openid_source.json +55 -0
- package/examples/models/owlsys/user/user_update_log.json +69 -0
- package/examples/models/owlsys/user_logs/app_logs.json +48 -0
- package/examples/models/owlsys/user_logs/history_p.json +77 -0
- package/examples/models/owlsys/user_logs/recent_apps.json +37 -0
- package/examples/models/owlsys/user_logs/user_login_error_log.json +65 -0
- package/examples/models/owlsys/user_logs/user_login_log.json +64 -0
- package/examples/owlsysApps/commonService/build.xml +29 -0
- package/examples/owlsysApps/commonService/src/meta.json +10 -0
- package/examples/owlsysApps/commonService/src/services/BackendSessionUtil.jsx +84 -0
- package/examples/owlsysApps/commonService/src/services/CommonUtil.jsx +165 -0
- package/examples/owlsysApps/commonService/src/services/LoginUtil.jsx +44 -0
- package/examples/owlsysApps/commonService/src/services/PasswordUtil.jsx +62 -0
- package/examples/owlsysApps/commonService/src/services/SessionUtil.jsx +87 -0
- package/examples/owlsysApps/owlPermission/build.xml +29 -0
- package/examples/owlsysApps/owlPermission/src/icon.png +0 -0
- package/examples/owlsysApps/owlPermission/src/meta.json +9 -0
- package/examples/owlsysApps/owlPermission/src/services/RolesService.jsx +173 -0
- package/examples/owlsysApps/owlPermission/src/services/permissionService.jsx +93 -0
- package/examples/owlsysApps/owlShell/build.xml +28 -0
- package/examples/owlsysApps/owlShell/package-lock.json +3 -0
- package/examples/owlsysApps/owlShell/src/consts.jsx +36 -0
- package/examples/owlsysApps/owlShell/src/handlers/add_app_log.jsx +31 -0
- package/examples/owlsysApps/owlShell/src/handlers/changePassword.jsx +54 -0
- package/examples/owlsysApps/owlShell/src/handlers/getCurrentOrg.jsx +45 -0
- package/examples/owlsysApps/owlShell/src/handlers/getCurrentUser.jsx +168 -0
- package/examples/owlsysApps/owlShell/src/handlers/getPermissions.jsx +39 -0
- package/examples/owlsysApps/owlShell/src/handlers/getRoles.jsx +10 -0
- package/examples/owlsysApps/owlShell/src/handlers/getSpec.jsx +65 -0
- package/examples/owlsysApps/owlShell/src/handlers/getViewTemplate.jsx +53 -0
- package/examples/owlsysApps/owlShell/src/handlers/get_recent_apps.jsx +45 -0
- package/examples/owlsysApps/owlShell/src/handlers/leftMenuHandler.jsx +360 -0
- package/examples/owlsysApps/owlShell/src/handlers/loadSettings.jsx +32 -0
- package/examples/owlsysApps/owlShell/src/handlers/login.jsx +400 -0
- package/examples/owlsysApps/owlShell/src/handlers/logout.jsx +27 -0
- package/examples/owlsysApps/owlShell/src/handlers/meanLogin.jsx +231 -0
- package/examples/owlsysApps/owlShell/src/handlers/organization/create_site.jsx +52 -0
- package/examples/owlsysApps/owlShell/src/handlers/organization/getSiteOrder.jsx +32 -0
- package/examples/owlsysApps/owlShell/src/handlers/organization/getUserSites.jsx +29 -0
- package/examples/owlsysApps/owlShell/src/handlers/organization/getWebSite.jsx +49 -0
- package/examples/owlsysApps/owlShell/src/handlers/organization/saveSite.jsx +42 -0
- package/examples/owlsysApps/owlShell/src/handlers/refreshApps.jsx +533 -0
- package/examples/owlsysApps/owlShell/src/handlers/set_recent_apps.jsx +44 -0
- package/examples/owlsysApps/owlShell/src/handlers/switchOrgs.jsx +99 -0
- package/examples/owlsysApps/owlShell/src/handlers/switchRole.jsx +64 -0
- package/examples/owlsysApps/owlShell/src/icon.png +0 -0
- package/examples/owlsysApps/owlShell/src/include/checklogin.jsx +108 -0
- package/examples/owlsysApps/owlShell/src/jobs/create_site_jobs.jsx +172 -0
- package/examples/owlsysApps/owlShell/src/jobs/refresh_apps_jobs.jsx +628 -0
- package/examples/owlsysApps/owlShell/src/meta.json +16 -0
- package/examples/owlsysApps/owlShell/src/pages/addHistory.jsx +35 -0
- package/examples/owlsysApps/owlShell/src/pages/common/include_head.jsx +8 -0
- package/examples/owlsysApps/owlShell/src/pages/common/include_head.jsxp +4 -0
- package/examples/owlsysApps/owlShell/src/pages/home.html +0 -0
- package/examples/owlsysApps/owlShell/src/pages/index.jsx +39 -0
- package/examples/owlsysApps/owlShell/src/pages/index.jsxp +16 -0
- package/examples/owlsysApps/owlShell/src/pages/leftMenu.jsx +204 -0
- package/examples/owlsysApps/owlShell/src/pages/leftMenu.jsxp +84 -0
- package/examples/owlsysApps/owlShell/src/pages/logOut.jsx +35 -0
- package/examples/owlsysApps/owlShell/src/pages/login/checkShopAdmin.jsx +69 -0
- package/examples/owlsysApps/owlShell/src/pages/login/checkWarehouseAdmin.jsx +66 -0
- package/examples/owlsysApps/owlShell/src/pages/login/shopLogin.jsx +14 -0
- package/examples/owlsysApps/owlShell/src/pages/login/shopLogin.jsxp +99 -0
- package/examples/owlsysApps/owlShell/src/pages/login/shopLoginOk.jsx +85 -0
- package/examples/owlsysApps/owlShell/src/pages/login/warehouseLogin.jsx +13 -0
- package/examples/owlsysApps/owlShell/src/pages/login/warehouseLogin.jsxp +100 -0
- package/examples/owlsysApps/owlShell/src/pages/login/warehouseLoginOk.jsx +72 -0
- package/examples/owlsysApps/owlShell/src/pages/main.jsx +34 -0
- package/examples/owlsysApps/owlShell/src/pages/main.jsxp +84 -0
- package/examples/owlsysApps/owlShell/src/pages/subMain.jsx +23 -0
- package/examples/owlsysApps/owlShell/src/pages/subMain.jsxp +38 -0
- package/examples/owlsysApps/owlShell/src/pages/test.jsx +1 -0
- package/examples/owlsysApps/owlShell/src/pages/updatePassword.jsx +18 -0
- package/examples/owlsysApps/owlShell/src/pages/viewHistory.jsx +120 -0
- package/examples/owlsysApps/owlShell/src/utils/PermissionUtil.jsx +47 -0
- package/examples/owlsysApps/owlShell/src/utils/RolesUtils.jsx +152 -0
- package/examples/owlsysApps/owlShell/src/utils/verifyAdminUtil.jsx +40 -0
- package/package.json +1 -1
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"base_info": {
|
|
3
|
+
"#meta": {
|
|
4
|
+
"fieldLabel": "基本信息",
|
|
5
|
+
"showTitle": "no",
|
|
6
|
+
"includeKey": "no",
|
|
7
|
+
"position": "card",
|
|
8
|
+
"span": 1
|
|
9
|
+
},
|
|
10
|
+
"id": "string(16),formSize:8,listSize:12,disabled:true;日志ID",
|
|
11
|
+
"api": "string(8),formSize:8,listSize:10,searchable:true,disabled:true;登录入口",
|
|
12
|
+
"state": "choice,formSize:8,listSize:5,values:0_登录失败/1_登录成功,searchable:true,disabled:true;登录状态",
|
|
13
|
+
"lid": "string(8),formSize:8,listSize:8,searchable:true,disabled:true;登录账号",
|
|
14
|
+
"uid": "string(8),formSize:8,listSize:8,searchable:true,disabled:true;用户ID"
|
|
15
|
+
},
|
|
16
|
+
"other_info": {
|
|
17
|
+
"#meta": {
|
|
18
|
+
"fieldLabel": "IP信息",
|
|
19
|
+
"showTitle": "no",
|
|
20
|
+
"includeKey": "no",
|
|
21
|
+
"position": "card",
|
|
22
|
+
"span": 1
|
|
23
|
+
},
|
|
24
|
+
"owl_createTime": "date,formSize:8,listSize:9,disabled:true;登录时间",
|
|
25
|
+
"ip": "string(10),formSize:8,listSize:6,disabled:true;ip",
|
|
26
|
+
"ua": "string(10),formSize:8,listSize:6,disabled:true;ua",
|
|
27
|
+
"code": "string(10),formSize:8,listSize:4,disabled:true;错误码",
|
|
28
|
+
"msg": "string(10),formSize:8,listSize:12,disabled:true;错误信息"
|
|
29
|
+
},
|
|
30
|
+
|
|
31
|
+
"_t": "user_login_error_log",
|
|
32
|
+
"#meta": {
|
|
33
|
+
"rem": "会员登录异常日志",
|
|
34
|
+
"projectName": "会员日志",
|
|
35
|
+
"visitType": [
|
|
36
|
+
"platform"
|
|
37
|
+
],
|
|
38
|
+
"exLists": [
|
|
39
|
+
{
|
|
40
|
+
"name": "默认列表",
|
|
41
|
+
"code": "defaultList",
|
|
42
|
+
"buttons":{
|
|
43
|
+
"showAdd": false,
|
|
44
|
+
"showDel": false,
|
|
45
|
+
"showRecycle": false
|
|
46
|
+
},
|
|
47
|
+
"expandIconColumnIndex":1,
|
|
48
|
+
"list": ["id","owl_createTime","state","lid","uid","api","ip","code","msg"]
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"pos": 12,
|
|
52
|
+
"group": {
|
|
53
|
+
"id": "systemadmin",
|
|
54
|
+
"name": "系统管理",
|
|
55
|
+
"icon": "setting",
|
|
56
|
+
"pos": 30,
|
|
57
|
+
"level2": {
|
|
58
|
+
"id": "systemlog",
|
|
59
|
+
"name": "日志管理",
|
|
60
|
+
"icon": "setting",
|
|
61
|
+
"pos": 50
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"base_info": {
|
|
3
|
+
"#meta": {
|
|
4
|
+
"fieldLabel": "基本信息",
|
|
5
|
+
"showTitle": "no",
|
|
6
|
+
"includeKey": "no",
|
|
7
|
+
"position": "card",
|
|
8
|
+
"span": 1
|
|
9
|
+
},
|
|
10
|
+
"id": "string(16),formSize:8,listSize:12,disabled:true;日志ID",
|
|
11
|
+
"api": "string(8),formSize:8,listSize:10,searchable:true,disabled:true;登录入口",
|
|
12
|
+
"state": "choice,formSize:8,listSize:5,values:0_登录失败/1_登录成功,searchable:true,disabled:true;登录状态",
|
|
13
|
+
"lid": "string(8),formSize:8,listSize:8,searchable:true,disabled:true;登录账号",
|
|
14
|
+
"uid": "string(8),formSize:8,listSize:8,searchable:true,disabled:true;用户ID"
|
|
15
|
+
},
|
|
16
|
+
|
|
17
|
+
"other_info": {
|
|
18
|
+
"#meta": {
|
|
19
|
+
"fieldLabel": "IP信息",
|
|
20
|
+
"showTitle": "no",
|
|
21
|
+
"includeKey": "no",
|
|
22
|
+
"position": "card",
|
|
23
|
+
"span": 1
|
|
24
|
+
},
|
|
25
|
+
"owl_createTime": "date,formSize:8,listSize:9,disabled:true;登录时间",
|
|
26
|
+
"ip": "string(10),formSize:8,listSize:6,disabled:true;ip",
|
|
27
|
+
"ua": "string(10),formSize:8,listSize:12,disabled:true;ua"
|
|
28
|
+
},
|
|
29
|
+
|
|
30
|
+
"_t": "user_login_log",
|
|
31
|
+
"#meta": {
|
|
32
|
+
"rem": "会员登录日志",
|
|
33
|
+
"projectName": "会员日志",
|
|
34
|
+
"visitType": [
|
|
35
|
+
"platform"
|
|
36
|
+
],
|
|
37
|
+
"exLists": [
|
|
38
|
+
{
|
|
39
|
+
"name": "默认列表",
|
|
40
|
+
"code": "defaultList",
|
|
41
|
+
"buttons":{
|
|
42
|
+
"showAdd": false,
|
|
43
|
+
"showDel": false,
|
|
44
|
+
"showRecycle": false
|
|
45
|
+
},
|
|
46
|
+
"expandIconColumnIndex":1,
|
|
47
|
+
"list": ["id","owl_createTime","state","lid","uid","api","ip"]
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"pos": 11,
|
|
51
|
+
"group": {
|
|
52
|
+
"id": "systemadmin",
|
|
53
|
+
"name": "系统管理",
|
|
54
|
+
"icon": "setting",
|
|
55
|
+
"pos": 30,
|
|
56
|
+
"level2": {
|
|
57
|
+
"id": "systemlog",
|
|
58
|
+
"name": "日志管理",
|
|
59
|
+
"icon": "setting",
|
|
60
|
+
"pos": 50
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" ?>
|
|
2
|
+
<project name="commonService" default="all" basedir=".">
|
|
3
|
+
<property file="../../buildProperties/build.properties"></property>
|
|
4
|
+
<property name="libpath" value="../../lib"></property>
|
|
5
|
+
<target name="build">
|
|
6
|
+
<mkdir dir="out"/>
|
|
7
|
+
<exec executable="java">
|
|
8
|
+
<arg line="-jar"></arg>
|
|
9
|
+
<arg path="${libpath}/appBuilder.jar"/>
|
|
10
|
+
<arg line="src/"></arg>
|
|
11
|
+
<arg line="out/commonService.zip"/>
|
|
12
|
+
</exec>
|
|
13
|
+
</target>
|
|
14
|
+
|
|
15
|
+
<target name="deploy">
|
|
16
|
+
<exec executable="java">
|
|
17
|
+
<arg line="-jar "></arg>
|
|
18
|
+
<arg path="${libpath}/appDeployer.jar"/>
|
|
19
|
+
<arg line="${deployUrl}"></arg>
|
|
20
|
+
<arg line="${deployPass}"></arg>
|
|
21
|
+
<arg line="out/commonService.zip"/>
|
|
22
|
+
<arg line="通用服务接口"/>
|
|
23
|
+
<arg line="commonService"/>
|
|
24
|
+
</exec>
|
|
25
|
+
</target>
|
|
26
|
+
|
|
27
|
+
<target name="all" depends="build,deploy">
|
|
28
|
+
</target>
|
|
29
|
+
</project>
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
//#import $owl_mall_u:services/modelService.jsx
|
|
2
|
+
//#import $owl_backend_session:services/modelService.jsx
|
|
3
|
+
|
|
4
|
+
var BackendSessionUtil = (function () {
|
|
5
|
+
var f = {
|
|
6
|
+
getSessionObject: function (isid) {
|
|
7
|
+
var sessionRec = owl_backend_sessionService.get("owl_backend_session_" + isid);
|
|
8
|
+
if (sessionRec && sessionRec.del != 'T') {
|
|
9
|
+
var sessionObjs = {};
|
|
10
|
+
if (!sessionRec.sessionObjs) {
|
|
11
|
+
sessionObjs = {};
|
|
12
|
+
} else {
|
|
13
|
+
sessionObjs = JSON.parse(sessionRec.sessionObjs)
|
|
14
|
+
}
|
|
15
|
+
return sessionObjs;
|
|
16
|
+
} else {
|
|
17
|
+
return {};
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
saveSessionObject: function (isid, sessionObject) {
|
|
21
|
+
var sessionRec = owl_backend_sessionService.get("owl_backend_session_" + isid);
|
|
22
|
+
if (sessionRec && sessionRec.del != 'T') {
|
|
23
|
+
sessionRec.lastModified = new Date().getTime();
|
|
24
|
+
sessionRec.sessionObjs = JSON.stringify(sessionObject);
|
|
25
|
+
owl_backend_sessionService.update(sessionRec);
|
|
26
|
+
} else {
|
|
27
|
+
var now = new Date().getTime();
|
|
28
|
+
sessionRec = {
|
|
29
|
+
lastModified: now,
|
|
30
|
+
createTime: now,
|
|
31
|
+
isid: isid,
|
|
32
|
+
sessionObjs: JSON.stringify(sessionObject)
|
|
33
|
+
}
|
|
34
|
+
owl_backend_sessionService.add(sessionRec);
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
getUserId: function (isid) {
|
|
38
|
+
if (isid) {
|
|
39
|
+
var session = f.getSessionObject(isid);
|
|
40
|
+
if (session && session.loginInfo) {
|
|
41
|
+
var now = new Date().getTime();
|
|
42
|
+
|
|
43
|
+
// $.log("BackendSessionUtil.jsx....getUserId...begin....userId=" + session.loginInfo.userId + "...lastActiveTime=" + session.lastActiveTime);
|
|
44
|
+
if (!session.lastActiveTime) {
|
|
45
|
+
//以免功能更新后,所有用户都自动退出
|
|
46
|
+
var jUser = owl_mall_uService.get(session.loginInfo.userId);
|
|
47
|
+
if (!jUser || jUser.isEnable != "1") {
|
|
48
|
+
//账号异常,自动退出
|
|
49
|
+
$.log("BackendSessionUtil.jsx....getUserId...lastActiveTime is null...用户以冻结....userId=" + session.loginInfo.userId);
|
|
50
|
+
return "";
|
|
51
|
+
}
|
|
52
|
+
session.lastActiveTime = now;
|
|
53
|
+
f.saveSessionObject(isid, session);
|
|
54
|
+
|
|
55
|
+
$.log("BackendSessionUtil.jsx....getUserId...lastActiveTime init updated....userId=" + session.loginInfo.userId);
|
|
56
|
+
} else {
|
|
57
|
+
if (now - session.lastActiveTime > 1000 * 3600 * 24 * 30) {
|
|
58
|
+
//7天内未做任何操作将自动退出系统
|
|
59
|
+
$.log("BackendSessionUtil.jsx....getUserId...lastActiveTime > 7day....userId=" + session.loginInfo.userId);
|
|
60
|
+
return "";
|
|
61
|
+
}
|
|
62
|
+
if (now - session.lastActiveTime > 1000 * 60 * 10) {
|
|
63
|
+
var jUser = owl_mall_uService.get(session.loginInfo.userId);
|
|
64
|
+
if (!jUser || jUser.isEnable != "1") {
|
|
65
|
+
//账号异常,自动退出
|
|
66
|
+
$.log("BackendSessionUtil.jsx....getUserId...用户以冻结....userId=" + session.loginInfo.userId);
|
|
67
|
+
return "";
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
//每10分钟更新一次活跃时间
|
|
71
|
+
session.lastActiveTime = now;
|
|
72
|
+
f.saveSessionObject(isid, session);
|
|
73
|
+
$.log("BackendSessionUtil.jsx....getUserId...lastActiveTime updated....userId=" + session.loginInfo.userId);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
return session.loginInfo.userId;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
return "";
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
return f;
|
|
83
|
+
})();
|
|
84
|
+
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
//#import $owl_mall_u:services/modelService.jsx
|
|
2
|
+
//#import $owl_mall_u_category:services/modelService.jsx
|
|
3
|
+
//#import $owl_mall_category:services/modelService.jsx
|
|
4
|
+
//#import $owl_org_category:services/modelService.jsx
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
var CommonUtilEx = (function () {
|
|
8
|
+
var f = {
|
|
9
|
+
getParentIds: function (cat, catType, modelService) {
|
|
10
|
+
if (cat.parentPathIds) {
|
|
11
|
+
var catIds = [].concat(cat.parentPathIds);
|
|
12
|
+
catIds.push(cat.id);
|
|
13
|
+
return catIds;
|
|
14
|
+
} else {
|
|
15
|
+
var pcat = modelService.get(cat.id);
|
|
16
|
+
var catIds = [];
|
|
17
|
+
while (pcat) {
|
|
18
|
+
|
|
19
|
+
catIds.push(pcat.id);
|
|
20
|
+
if (pcat.parent_id && pcat.parent_id != '0') {
|
|
21
|
+
pcat = modelService.get(pcat.parent_id);
|
|
22
|
+
}
|
|
23
|
+
if (catIds.indexOf(pcat.id) > -1 || catIds.length > 20) {
|
|
24
|
+
break;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
return catIds;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
},
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
getUserCatIds(userId) {
|
|
35
|
+
var user = owl_mall_uService.get(userId);
|
|
36
|
+
|
|
37
|
+
if (!user) {
|
|
38
|
+
return [];
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
var catIds = [];
|
|
42
|
+
var user_categories = user.user_categories;
|
|
43
|
+
if (!user_categories) {
|
|
44
|
+
return [];
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
user_categories.forEach(function (cat) {
|
|
48
|
+
var parentIds = f.getParentIds(cat, "user", owl_mall_u_categoryService);
|
|
49
|
+
if (parentIds) {
|
|
50
|
+
parentIds.forEach(function (catId) {
|
|
51
|
+
if (catIds.indexOf(catId) < 0) {
|
|
52
|
+
catIds.push(catId);
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
return catIds;
|
|
59
|
+
},
|
|
60
|
+
|
|
61
|
+
shuffleArray(array) {
|
|
62
|
+
for (var i = array.length - 1; i > 0; i--) {
|
|
63
|
+
var j = Math.floor(Math.random() * (i + 1));
|
|
64
|
+
var temp = array[i];
|
|
65
|
+
array[i] = array[j];
|
|
66
|
+
array[j] = temp;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
array.sort(function (a, b) {
|
|
70
|
+
return b.priority || 0 - a.priority || 0;
|
|
71
|
+
});
|
|
72
|
+
},
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
generatePermutations(n, maxCount) {
|
|
76
|
+
var arr = [];
|
|
77
|
+
for (var i = 0; i < n; i++) {
|
|
78
|
+
arr.push(i);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
var results = [];
|
|
82
|
+
var uniquePermutations = {};
|
|
83
|
+
|
|
84
|
+
function permute(array, start) {
|
|
85
|
+
if (start === array.length - 1) {
|
|
86
|
+
var permutation = array.slice();
|
|
87
|
+
var key = permutation.join(',');
|
|
88
|
+
if (!uniquePermutations[key]) {
|
|
89
|
+
results.push(permutation);
|
|
90
|
+
uniquePermutations[key] = true;
|
|
91
|
+
}
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
for (var i = start; i < array.length; i++) {
|
|
95
|
+
var temp = array[start];
|
|
96
|
+
array[start] = array[i];
|
|
97
|
+
array[i] = temp;
|
|
98
|
+
|
|
99
|
+
permute(array, start + 1);
|
|
100
|
+
|
|
101
|
+
temp = array[start];
|
|
102
|
+
array[start] = array[i];
|
|
103
|
+
array[i] = temp;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
function shuffleAndAddUnique() {
|
|
108
|
+
while (results.length < maxCount) {
|
|
109
|
+
var shuffledArray = arr.slice();
|
|
110
|
+
for (var i = n - 1; i > 0; i--) {
|
|
111
|
+
var j = Math.floor(Math.random() * (i + 1));
|
|
112
|
+
var temp = shuffledArray[i];
|
|
113
|
+
shuffledArray[i] = shuffledArray[j];
|
|
114
|
+
shuffledArray[j] = temp;
|
|
115
|
+
}
|
|
116
|
+
var key = shuffledArray.join(',');
|
|
117
|
+
if (!uniquePermutations[key]) {
|
|
118
|
+
results.push(shuffledArray);
|
|
119
|
+
uniquePermutations[key] = true;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
if (n >= 5) {
|
|
125
|
+
shuffleAndAddUnique();
|
|
126
|
+
} else {
|
|
127
|
+
permute(arr, 0);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
return results;
|
|
131
|
+
},
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
removeNull(obj) {
|
|
135
|
+
if (typeof obj != "object") {
|
|
136
|
+
return;
|
|
137
|
+
}
|
|
138
|
+
if (!obj) {
|
|
139
|
+
return;
|
|
140
|
+
}
|
|
141
|
+
for (var k in obj) {
|
|
142
|
+
if (obj[k] == null) {
|
|
143
|
+
delete obj[k];
|
|
144
|
+
} else if (typeof obj[k] == "object" && Array.isArray(obj[k])) {
|
|
145
|
+
for (var i = 0; i < obj[k].length; i++) {
|
|
146
|
+
f.removeNull(obj[k][i]);
|
|
147
|
+
}
|
|
148
|
+
} else if (typeof obj[k] == "object" && !Array.isArray(obj[k])) {
|
|
149
|
+
f.removeNull(obj[k]);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
roundMoney(money) {
|
|
154
|
+
if (typeof money === "undefined") {
|
|
155
|
+
return null;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
money = Number(money);
|
|
159
|
+
return Number((money + 0.00001).toFixed(2));
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
}
|
|
163
|
+
return f;
|
|
164
|
+
})();
|
|
165
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
//#import DigestUtil.js
|
|
2
|
+
//#import $owl_mall_setting:services/modelService.jsx
|
|
3
|
+
|
|
4
|
+
var LoginUtil = (function () {
|
|
5
|
+
var f = {
|
|
6
|
+
checkLogin: function (user, password) {
|
|
7
|
+
if (user.isEnable != "1") {
|
|
8
|
+
//用户未激活
|
|
9
|
+
return "1"
|
|
10
|
+
}
|
|
11
|
+
if (!user.passwordhash || !user.random) {
|
|
12
|
+
//密码为设置
|
|
13
|
+
return "2"
|
|
14
|
+
}
|
|
15
|
+
var passwordhash;
|
|
16
|
+
if (user.pwdV == "v1") {
|
|
17
|
+
passwordhash = DigestUtil.digestString(password + user.random, "SHA");
|
|
18
|
+
} else {
|
|
19
|
+
passwordhash = DigestUtil.sha1(password + user.random);
|
|
20
|
+
}
|
|
21
|
+
if (passwordhash != user.passwordhash) {
|
|
22
|
+
//密码错误
|
|
23
|
+
return "3";
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
return "0";
|
|
27
|
+
},
|
|
28
|
+
checkEwalletPayPassword: function (jEwallet, password) {
|
|
29
|
+
if (!jEwallet.pay_passwordhash || !jEwallet.pay_random) {
|
|
30
|
+
//密码为设置
|
|
31
|
+
return "2"
|
|
32
|
+
}
|
|
33
|
+
var passwordhash = DigestUtil.sha1(password + jEwallet.pay_random);
|
|
34
|
+
if (passwordhash != jEwallet.pay_passwordhash) {
|
|
35
|
+
//密码错误
|
|
36
|
+
return "3";
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
return "0";
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return f;
|
|
43
|
+
})();
|
|
44
|
+
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
|
|
2
|
+
var PasswordUtil = (function () {
|
|
3
|
+
var f = {
|
|
4
|
+
charMode: function (iN) {
|
|
5
|
+
if (iN >= 48 && iN <= 57) {
|
|
6
|
+
//数字
|
|
7
|
+
return 1;
|
|
8
|
+
}
|
|
9
|
+
if (iN >= 65 && iN <= 90) {
|
|
10
|
+
//大写
|
|
11
|
+
return 2;
|
|
12
|
+
}
|
|
13
|
+
if (iN >= 97 && iN <= 122) {
|
|
14
|
+
//小写
|
|
15
|
+
return 4;
|
|
16
|
+
}
|
|
17
|
+
return 8;
|
|
18
|
+
},
|
|
19
|
+
bitTotal: function (num) {
|
|
20
|
+
var modes = 0;
|
|
21
|
+
for (i = 0; i < 4; i++) {
|
|
22
|
+
if (num & 1) modes++;
|
|
23
|
+
num >>>= 1;
|
|
24
|
+
}
|
|
25
|
+
return modes;
|
|
26
|
+
},
|
|
27
|
+
checkStrong: function (sPW) {
|
|
28
|
+
if (sPW.length < 6) {
|
|
29
|
+
return 0; //密码太短,不检测级别
|
|
30
|
+
}
|
|
31
|
+
var Modes = 0;
|
|
32
|
+
for (var i = 0; i < sPW.length; i++) {
|
|
33
|
+
//密码模式
|
|
34
|
+
Modes |= f.charMode(sPW.charCodeAt(i));
|
|
35
|
+
}
|
|
36
|
+
return f.bitTotal(Modes);
|
|
37
|
+
},
|
|
38
|
+
/**
|
|
39
|
+
* 判断密码强度,判断安全分数
|
|
40
|
+
* @param pwd
|
|
41
|
+
*/
|
|
42
|
+
getPwdGrade: function (pwd) {
|
|
43
|
+
var baseGrade = 20;
|
|
44
|
+
var s_level = f.checkStrong(pwd);
|
|
45
|
+
switch (s_level) {
|
|
46
|
+
case 0:
|
|
47
|
+
case 1:
|
|
48
|
+
baseGrade = 20;
|
|
49
|
+
break;
|
|
50
|
+
case 2:
|
|
51
|
+
baseGrade = 40;
|
|
52
|
+
break;
|
|
53
|
+
default:
|
|
54
|
+
baseGrade = 60;
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
return baseGrade + "";
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
return f;
|
|
61
|
+
})();
|
|
62
|
+
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
//#import $owl_session:services/modelService.jsx
|
|
2
|
+
//#import $owl_mall_u:services/modelService.jsx
|
|
3
|
+
|
|
4
|
+
var SessionUtil = (function () {
|
|
5
|
+
var f = {
|
|
6
|
+
getSessionObject: function (isid) {
|
|
7
|
+
var sessionRec = owl_sessionService.get("owl_session_" + isid);
|
|
8
|
+
if (sessionRec && sessionRec.del != 'T') {
|
|
9
|
+
var sessionObjs = {};
|
|
10
|
+
if (!sessionRec.sessionObjs) {
|
|
11
|
+
sessionObjs = {};
|
|
12
|
+
} else {
|
|
13
|
+
sessionObjs = JSON.parse(sessionRec.sessionObjs)
|
|
14
|
+
}
|
|
15
|
+
return sessionObjs;
|
|
16
|
+
} else {
|
|
17
|
+
return {};
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
saveSessionObject: function (isid, sessionObject) {
|
|
21
|
+
var now = new Date().getTime();
|
|
22
|
+
sessionObject.lastActiveTime = now;
|
|
23
|
+
|
|
24
|
+
var sessionRec = owl_sessionService.get("owl_session_" + isid);
|
|
25
|
+
if (sessionRec && sessionRec.del != 'T') {
|
|
26
|
+
sessionRec.lastModified = new Date().getTime();
|
|
27
|
+
sessionRec.sessionObjs = JSON.stringify(sessionObject);
|
|
28
|
+
owl_sessionService.update(sessionRec);
|
|
29
|
+
} else {
|
|
30
|
+
sessionRec = {
|
|
31
|
+
lastActiveTime: now,
|
|
32
|
+
lastModified: now,
|
|
33
|
+
createTime: now,
|
|
34
|
+
isid: isid,
|
|
35
|
+
sessionObjs: JSON.stringify(sessionObject)
|
|
36
|
+
}
|
|
37
|
+
owl_sessionService.add(sessionRec);
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
getUserId: function (isid) {
|
|
41
|
+
if (isid) {
|
|
42
|
+
var session = f.getSessionObject(isid);
|
|
43
|
+
if (session && session.loginInfo) {
|
|
44
|
+
var now = new Date().getTime();
|
|
45
|
+
|
|
46
|
+
// $.log("SessionUtil.jsx....getUserId...begin....userId=" + session.loginInfo.userId + "...lastActiveTime=" + session.lastActiveTime);
|
|
47
|
+
if (!session.lastActiveTime) {
|
|
48
|
+
//以免功能更新后,所有用户都自动退出
|
|
49
|
+
var jUser = owl_mall_uService.get(session.loginInfo.userId);
|
|
50
|
+
if (!jUser || jUser.isEnable != "1") {
|
|
51
|
+
//账号异常,自动退出
|
|
52
|
+
$.log("SessionUtil.jsx....getUserId...lastActiveTime is null...用户以冻结....userId=" + session.loginInfo.userId);
|
|
53
|
+
return "";
|
|
54
|
+
}
|
|
55
|
+
session.lastActiveTime = now;
|
|
56
|
+
f.saveSessionObject(isid, session);
|
|
57
|
+
|
|
58
|
+
$.log("SessionUtil.jsx....getUserId...lastActiveTime init updated....userId=" + session.loginInfo.userId);
|
|
59
|
+
} else {
|
|
60
|
+
if (now - session.lastActiveTime > 1000 * 3600 * 24 * 30) {
|
|
61
|
+
//7天内未做任何操作将自动退出系统
|
|
62
|
+
$.log("SessionUtil.jsx....getUserId...lastActiveTime > 7day....userId=" + session.loginInfo.userId);
|
|
63
|
+
return "";
|
|
64
|
+
}
|
|
65
|
+
if (now - session.lastActiveTime > 1000 * 60 * 10) {
|
|
66
|
+
var jUser = owl_mall_uService.get(session.loginInfo.userId);
|
|
67
|
+
if (!jUser || jUser.isEnable != "1") {
|
|
68
|
+
//账号异常,自动退出
|
|
69
|
+
$.log("SessionUtil.jsx....getUserId...用户以冻结....userId=" + session.loginInfo.userId);
|
|
70
|
+
return "";
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
//每10分钟更新一次活跃时间
|
|
74
|
+
session.lastActiveTime = now;
|
|
75
|
+
f.saveSessionObject(isid, session);
|
|
76
|
+
$.log("SessionUtil.jsx....getUserId...lastActiveTime updated....userId=" + session.loginInfo.userId);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
return session.loginInfo.userId;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
return "";
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
return f;
|
|
86
|
+
})();
|
|
87
|
+
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" ?>
|
|
2
|
+
<project name="owlService" default="all" basedir=".">
|
|
3
|
+
<property file="../../buildProperties/build.properties"></property>
|
|
4
|
+
<property name="libpath" value="../../lib"></property>
|
|
5
|
+
<target name="build">
|
|
6
|
+
<mkdir dir="out"/>
|
|
7
|
+
<exec executable="java">
|
|
8
|
+
<arg line="-jar"></arg>
|
|
9
|
+
<arg path="${libpath}/appBuilder.jar"/>
|
|
10
|
+
<arg line="src/"></arg>
|
|
11
|
+
<arg line="out/owlPermission.zip"/>
|
|
12
|
+
</exec>
|
|
13
|
+
</target>
|
|
14
|
+
|
|
15
|
+
<target name="deploy">
|
|
16
|
+
<exec executable="java">
|
|
17
|
+
<arg line="-jar "></arg>
|
|
18
|
+
<arg path="${libpath}/appDeployer.jar"/>
|
|
19
|
+
<arg line="${deployUrl}"></arg>
|
|
20
|
+
<arg line="${deployPass}"></arg>
|
|
21
|
+
<arg line="out/owlPermission.zip"/>
|
|
22
|
+
<arg line="owlPermission"/>
|
|
23
|
+
<arg line="owlPermission"/>
|
|
24
|
+
</exec>
|
|
25
|
+
</target>
|
|
26
|
+
|
|
27
|
+
<target name="all" depends="build,deploy">
|
|
28
|
+
</target>
|
|
29
|
+
</project>
|
|
Binary file
|