正在显示
32 个修改的文件
包含
459 行增加
和
0 行删除
.gitignore
0 → 100644
| 1 | +# Compiled Object codefiles, Static and Dynamic libs (Shared Objects) | ||
| 2 | +*.o | ||
| 3 | +*.a | ||
| 4 | +*.so | ||
| 5 | + | ||
| 6 | +# Folders | ||
| 7 | +_obj | ||
| 8 | +_test | ||
| 9 | + | ||
| 10 | +# Architecture specific extensions/prefixes | ||
| 11 | +*.[568vq] | ||
| 12 | +[568vq].out | ||
| 13 | + | ||
| 14 | +*.cgo1.go | ||
| 15 | +*.cgo2.c | ||
| 16 | +_cgo_defun.c | ||
| 17 | +_cgo_gotypes.go | ||
| 18 | +_cgo_export.* | ||
| 19 | + | ||
| 20 | +_testmain.go | ||
| 21 | + | ||
| 22 | +*.exe | ||
| 23 | +*.test | ||
| 24 | +.log | ||
| 25 | +.idea | ||
| 26 | +.tmp |
document/terms/attributes/common/count.yaml
0 → 100644
document/terms/attributes/common/limit.yaml
0 → 100644
document/terms/attributes/common/offset.yaml
0 → 100644
document/terms/attributes/role/roleId.yaml
0 → 100644
document/terms/attributes/role/roleName.yaml
0 → 100644
document/terms/attributes/users/status.yaml
0 → 100644
document/terms/attributes/users/usersId.yaml
0 → 100644
document/terms/project.yaml
0 → 100644
document/terms/schemas/access.yaml
0 → 100644
| 1 | +version: v1 | ||
| 2 | +kind: Schema | ||
| 3 | +metadata: | ||
| 4 | + name: access | ||
| 5 | + description: 权限 | ||
| 6 | + attributes: | ||
| 7 | + - name: accessId | ||
| 8 | + description: 权限Id | ||
| 9 | + type: | ||
| 10 | + primitive: int64 | ||
| 11 | + - name: accessName | ||
| 12 | + description: 权限名称 | ||
| 13 | + type: | ||
| 14 | + primitive: string | ||
| 15 | + - name: parentId | ||
| 16 | + description: 父级ID | ||
| 17 | + type: | ||
| 18 | + primitive: string | ||
| 19 | + - name: module | ||
| 20 | + description: 模块 I M B R 首页、管理、业务、报表 | ||
| 21 | + type: | ||
| 22 | + primitive: string | ||
| 23 | + - name: accessType | ||
| 24 | + description: 权限类型(module/menu/button/feature) | ||
| 25 | + type: | ||
| 26 | + primitive: string | ||
| 27 | + - name: status | ||
| 28 | + description: 状态 1:启用 2:可配置 4.可收藏 8:需要授权才能访问 | ||
| 29 | + type: | ||
| 30 | + primitive: string | ||
| 31 | + - name: sort | ||
| 32 | + description: 排序 | ||
| 33 | + type: | ||
| 34 | + primitive: int | ||
| 35 | + - name: icon | ||
| 36 | + description: 图标 | ||
| 37 | + type: | ||
| 38 | + primitive: string | ||
| 39 | + - name: description | ||
| 40 | + description: 描述 | ||
| 41 | + type: | ||
| 42 | + primitive: string | ||
| 43 | + - name: object | ||
| 44 | + description: 对象 eg:/users/userInfo | ||
| 45 | + type: | ||
| 46 | + primitive: string | ||
| 47 | + - name: action | ||
| 48 | + description: 允许动作 eg:GET | ||
| 49 | + type: | ||
| 50 | + primitive: string |
document/terms/schemas/company.yaml
0 → 100644
| 1 | +version: v1 | ||
| 2 | +kind: Schema | ||
| 3 | +metadata: | ||
| 4 | + name: company | ||
| 5 | + description: 企业信息 | ||
| 6 | + attributes: | ||
| 7 | + - ref: companyId | ||
| 8 | + required: true | ||
| 9 | + - name: companyConfig | ||
| 10 | + description: 企业配置信息 | ||
| 11 | + type: | ||
| 12 | + schema: companyConfig | ||
| 13 | + - name: companyInfo | ||
| 14 | + description: 企业基本信息 | ||
| 15 | + type: | ||
| 16 | + schema: companyInfo | ||
| 17 | + - name: status | ||
| 18 | + description: 公司状态 | ||
| 19 | + type: | ||
| 20 | + primitive: int | ||
| 21 | + - ref: createAt | ||
| 22 | + required: false | ||
| 23 | + - ref: updateAt | ||
| 24 | + required: false | ||
| 25 | + |
document/terms/schemas/companyConfig.yaml
0 → 100644
document/terms/schemas/companyInfo.yaml
0 → 100644
| 1 | +version: v1 | ||
| 2 | +kind: Schema | ||
| 3 | +metadata: | ||
| 4 | + name: companyInfo | ||
| 5 | + description: 公司信息 | ||
| 6 | + attributes: | ||
| 7 | + - name: companyName | ||
| 8 | + description: 公司名称 | ||
| 9 | + type: | ||
| 10 | + primitive: string | ||
| 11 | + - name: scale | ||
| 12 | + description: 规模 | ||
| 13 | + type: | ||
| 14 | + primitive: string | ||
| 15 | + - name: logo | ||
| 16 | + description: 公司Logo地址 | ||
| 17 | + type: | ||
| 18 | + primitive: string | ||
| 19 | + - name: address | ||
| 20 | + description: 公司地址 | ||
| 21 | + type: | ||
| 22 | + primitive: string | ||
| 23 | + - name: taxpayerCode | ||
| 24 | + description: 纳税人识别号 | ||
| 25 | + type: | ||
| 26 | + primitive: string | ||
| 27 | + - name: businessLicense | ||
| 28 | + description: 营业执照 | ||
| 29 | + type: | ||
| 30 | + primitive: string | ||
| 31 | + - name: industryCategory | ||
| 32 | + description: 所属行业 | ||
| 33 | + type: | ||
| 34 | + primitive: string | ||
| 35 | + - name: contacts | ||
| 36 | + description: 联系人 | ||
| 37 | + type: | ||
| 38 | + primitive: string | ||
| 39 | + - name: registTime | ||
| 40 | + description: 注册时间 | ||
| 41 | + type: | ||
| 42 | + primitive: datetime | ||
| 43 | + - name: registStatus | ||
| 44 | + description: 注册状态 | ||
| 45 | + type: | ||
| 46 | + primitive: int |
document/terms/schemas/credentialAuth.yaml
0 → 100644
| 1 | +version: v1 | ||
| 2 | +kind: Schema | ||
| 3 | +metadata: | ||
| 4 | + name: credentialAuth | ||
| 5 | + description: 凭证认证 | ||
| 6 | + attributes: | ||
| 7 | + - name: credential | ||
| 8 | + description: 凭证 | ||
| 9 | + type: | ||
| 10 | + primitive: string | ||
| 11 | + - name: deviceType | ||
| 12 | + description: 设备类型 | ||
| 13 | + type: | ||
| 14 | + primitive: string | ||
| 15 | + - name: expire | ||
| 16 | + description: 过期时间蹉(unix) | ||
| 17 | + type: | ||
| 18 | + primitive: int64 |
document/terms/schemas/organization.yaml
0 → 100644
| 1 | +version: v1 | ||
| 2 | +kind: Schema | ||
| 3 | +metadata: | ||
| 4 | + name: organization | ||
| 5 | + description: 组织 | ||
| 6 | + attributes: | ||
| 7 | + - ref: organizationId | ||
| 8 | + required: true | ||
| 9 | + - ref: companyId | ||
| 10 | + required: true | ||
| 11 | + - ref: createAt | ||
| 12 | + required: true | ||
| 13 | + - ref: updateAt | ||
| 14 | + required: true | ||
| 15 | + - ref: deleteAt | ||
| 16 | + required: true | ||
| 17 | + - name: organizationInfo | ||
| 18 | + description: 组织信息 | ||
| 19 | + type: | ||
| 20 | + schema: organizationInfo | ||
| 21 | + - name: isOrg | ||
| 22 | + description: 是否是组织 | ||
| 23 | + type: | ||
| 24 | + primitive: int | ||
| 25 | + - name: parentId | ||
| 26 | + description: 父级ID | ||
| 27 | + type: | ||
| 28 | + primitive: int64 |
document/terms/schemas/organizationInfo.yaml
0 → 100644
document/terms/schemas/phoneAuth.yaml
0 → 100644
document/terms/schemas/role.yaml
0 → 100644
| 1 | +version: v1 | ||
| 2 | +kind: Schema | ||
| 3 | +metadata: | ||
| 4 | + name: role | ||
| 5 | + description: 角色 | ||
| 6 | + attributes: | ||
| 7 | + - ref: roleId | ||
| 8 | + required: true | ||
| 9 | + - ref: companyId | ||
| 10 | + required: true | ||
| 11 | + - ref: organizationId | ||
| 12 | + required: true | ||
| 13 | + - ref: roleName | ||
| 14 | + required: true | ||
| 15 | + - name: menuAccess | ||
| 16 | + description: 菜单权限列表 | ||
| 17 | + type: | ||
| 18 | + array: int64 | ||
| 19 | + - name: description | ||
| 20 | + description: 描述 | ||
| 21 | + type: | ||
| 22 | + primitive: string |
document/terms/schemas/users.yaml
0 → 100644
| 1 | +version: v1 | ||
| 2 | +kind: Schema | ||
| 3 | +metadata: | ||
| 4 | + name: users | ||
| 5 | + description: 用户 | ||
| 6 | + attributes: | ||
| 7 | + - ref: usersId | ||
| 8 | + required: true | ||
| 9 | + - ref: companyId | ||
| 10 | + required: true | ||
| 11 | + - ref: createAt | ||
| 12 | + required: true | ||
| 13 | + - ref: updateAt | ||
| 14 | + required: true | ||
| 15 | + - ref: deleteAt | ||
| 16 | + required: true | ||
| 17 | + - name: usersStatus | ||
| 18 | + description: 用户状态(启用:1 禁用:2) | ||
| 19 | + type: | ||
| 20 | + primitive: int | ||
| 21 | + - name: usersInfo | ||
| 22 | + description: 用户信息 | ||
| 23 | + type: | ||
| 24 | + schema: usersInfo | ||
| 25 | + - name: organizations | ||
| 26 | + description: 所属组织 | ||
| 27 | + type: | ||
| 28 | + array: int64 | ||
| 29 | + - name: roles | ||
| 30 | + description: 所属角色 | ||
| 31 | + type: | ||
| 32 | + array: int64 |
document/terms/schemas/usersAuth.yaml
0 → 100644
| 1 | +version: v1 | ||
| 2 | +kind: Schema | ||
| 3 | +metadata: | ||
| 4 | + name: usersAuth | ||
| 5 | + description: 用户认证 | ||
| 6 | + attributes: | ||
| 7 | + - ref: usersAuthId | ||
| 8 | + required: true | ||
| 9 | + - name: users | ||
| 10 | + description: 用户列表 | ||
| 11 | + type: | ||
| 12 | + array: int64 | ||
| 13 | + - name: phoneAuth | ||
| 14 | + description: 手机认证 | ||
| 15 | + type: | ||
| 16 | + schemal: phoneAuth | ||
| 17 | + - name: credentialAuths | ||
| 18 | + description: 凭证认证 | ||
| 19 | + type: | ||
| 20 | + array: credentialAuth |
document/terms/schemas/usersInfo.yaml
0 → 100644
| 1 | +version: v1 | ||
| 2 | +kind: Schema | ||
| 3 | +metadata: | ||
| 4 | + name: usersInfo | ||
| 5 | + description: 用户信息 | ||
| 6 | + attributes: | ||
| 7 | + - ref: usersName | ||
| 8 | + required: true | ||
| 9 | + - ref: usersCode | ||
| 10 | + required: true | ||
| 11 | + - name: phone | ||
| 12 | + description: 手机号码 | ||
| 13 | + type: | ||
| 14 | + primitive: string | ||
| 15 | + - name: email | ||
| 16 | + description: 邮箱 | ||
| 17 | + type: | ||
| 18 | + primitive: string |
-
请 注册 或 登录 后发表评论